transfer_tokens
Facilitates secure token transfers between wallets using input parameters for sender, recipient, token details, and amount. Returns confirmation responses for each transfer.
Instructions
Transfer tokens from one wallet to another.
Expects a TransferTokensRequestContainer, returns a list of TransferTokenResponse.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
transfer_tokens_requests | Yes |
Input Schema (JSON Schema)
{
"$defs": {
"TransferTokensRequest": {
"properties": {
"amount": {
"description": "amount of tokens to transfer",
"title": "Amount",
"type": "number"
},
"from_wallet": {
"description": "name of the wallet to transfer tokens from",
"title": "From Wallet",
"type": "string"
},
"to_wallet_address": {
"description": "public address of the wallet to transfer tokens to. Use `get_user_wallets_and_group_list` if you only have a wallet name",
"title": "To Wallet Address",
"type": "string"
},
"token": {
"description": "public contract address of the token to transfer. To get the address from a token symbol use `get_token_details`",
"title": "Token",
"type": "string"
}
},
"required": [
"from_wallet",
"to_wallet_address",
"token",
"amount"
],
"title": "TransferTokensRequest",
"type": "object"
},
"TransferTokensRequestContainer": {
"properties": {
"transfer_tokens_requests": {
"items": {
"$ref": "#/$defs/TransferTokensRequest"
},
"title": "Transfer Tokens Requests",
"type": "array"
}
},
"required": [
"transfer_tokens_requests"
],
"title": "TransferTokensRequestContainer",
"type": "object"
}
},
"properties": {
"transfer_tokens_requests": {
"$ref": "#/$defs/TransferTokensRequestContainer"
}
},
"required": [
"transfer_tokens_requests"
],
"title": "transfer_tokensArguments",
"type": "object"
}