ERC-721 function
getApproved(uint256)
Returns the address approved to manage one ERC-721 token.
- Selector
- 0x081812fc
- Mutability
- view
Generate getApproved calldata
Edit the example inputs to rebuild the bytes instantly in your browser. Nothing is sent and no transaction is submitted.
uint256
calldata36 bytes
sel0x081812fc
getApproved(uint256)
0x00000000000000000000000000000000000000000000000000000000000000002a
tokenId · uint256 =42
How getApproved works
This reads token-specific approval and does not include operator-for-all permissions.
Parameters
| Name | Solidity type | Meaning |
|---|---|---|
| tokenId | uint256 | NFT whose approved controller should be queried. |
Return value
The approved address, or the zero address when no single-token approval exists.
address resultReturn data comes back after execution and is not included in the calldata above.