Smart-account: approve NFT
fuse_smart_approve_nftSubmits an ERC-4337 UserOperation calling approve(spender, tokenId) on an NFT contract from the configured smart wallet.
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": {
"nftContractAddress": "<nftContractAddress>",
"spender": "<spender>",
"tokenId": "<tokenId>"
},
"name": "fuse_smart_approve_nft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spender | Yes | Address being granted approval for the token ID. | |
| tokenId | Yes | NFT token ID (decimal or hex). | |
| nftContractAddress | Yes | ERC-721 / ERC-1155 contract address. |