hedera_approve_token_allowance
Build an unsigned transaction to grant a spender a fungible token allowance, enabling delegated transfers from the owner's account.
Instructions
Build (unsigned) a fungible-token spending allowance for a spender.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"tokenId": "<tokenId>",
"spenderAccountId": "<spenderAccountId>",
"amount": "<amount>"
},
"name": "hedera_approve_token_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Allowance amount in base units | |
| tokenId | Yes | ||
| ownerAccountId | No | Owner (defaults to payer) | |
| payerAccountId | No | ||
| spenderAccountId | Yes |