Init Nft Approval Permission
Initialize approval permission transaction. You might be want to make some Nft operations behalf of the user.
Init Nft Approval Permission
POST
{{server-url}}/web3/init/approval
It returns unsigned transaction data
Headers
Name | Type | Description |
---|---|---|
Authorization* | String | UUID formatted access token |
Content-Type* | String | application/json |
PROJECT-ID* | String | UUID formatted projectId information |
Request Body
Name | Type | Description |
---|---|---|
address* | String | Represents address that will give approval permission |
contractType* | String | Represents contract type (ERC721, ERC1155) |
isApproved* | Boolean | Represents that you want to approve or not |
operatorAddress* | String | Represents the address to be approved. |
Example Response Body
Response Fields
Key | Type | Description |
---|---|---|
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. |
Last updated