This mutation allows to delay the token transfer process.
Sample Mutation
Delay a token transfer:
mutation{
delayedTransferToken(walletId:"106745e4-0a6f-4159-89af-5c614ed7d699"
contractAddress:"0x16e45601713773033aEe283AB161338EBB6829E4"
tokenType:ERC721
tokenOnChainId:4
amount:1
transferTo:"0x39FdF1C23206Ac44f8991a3C3b7c9441f0123e48"
)
}
Sample Response
{
"data": {
"delayedTransferToken": true
}
}
Arguments
Name | Type | Description | Required |
---|---|---|---|
walletId | UUID | The wallet ID. | Yes |
contractAddress | String | The wallet contract address. | Yes |
tokenType | Enum | The token type. The value can be either ERC721 or ERC1155. | Yes |
amount | Integer | The token amount to transfer. | Yes |
transferTo | String | The wallet destination address. | Yes |
Returns
Name | Type | Description |
---|---|---|
N/A | Boolean | The transfer delay confirmation. |
Example
Delay a token transfer by the wallet ID, contract address, token type, token on chain ID, amount, and wallet address destination: