hedera_approve_nft_allowance
Approve a spender to transfer all NFTs in a collection. Builds an unsigned transaction for an NFT 'approve for all' allowance.
Instructions
Build (unsigned) an NFT allowance for all serials of a collection (approve-for-all).
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>"
},
"name": "hedera_approve_nft_allowance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokenId | Yes | ||
| ownerAccountId | No | Owner (defaults to payer) | |
| payerAccountId | No | ||
| spenderAccountId | Yes |