Init Project Token Allowance
Initialize project token allowance from owner address to operator address.
Last updated
Initialize project token allowance from owner address to operator address.
Last updated
This operation requires a signature of operation owner. You should trigger wallet provider (Metamask etc.) for complete this transaction/operation. You can follow Send Transaction tutorial to trigger the wallet provider or you can use QafNft Metamask Plugin to complete the all process.
POST
{{server-url}}/project-tokens/allowance/init
It returns unsigned transaction data.
Name | Type | Description |
---|---|---|
Name | Type | Description |
---|---|---|
Key | Type | Description |
---|---|---|
Authorization*
String
UUID formatted access token
Content-Type*
String
application/json
PROJECT-ID*
String
UUID formatted projectId information
symbol*
String
Represents project token's symbol
operatorAddress*
String
Represents the address to be allowed.
ownerAddress*
String
Represents address that will give allowance
from
String
Sender address
to
String
Receiver address (it will be contract address for our case)
data
String
Represents encoded transaction content
gas
Number
Represents transaction fee parameter
gasPrice
String
Represents transaction fee parameter
nonce
Number
Count of sender transactions
chainId
Number
Represents the id information of the network where the transaction will perform.