0x2f745c59
tokenOfOwnerByIndex(address,uint256)
以太坊 4 字节函数选择器 0x2f745c59 (tokenOfOwnerByIndex(address,uint256)) 详细规范。归属标准:ERC-721 Enumerable,分类:NFT Standard。提供 Solidity 接口代码、返回值类型、执行 Gas 估算与 Keccak-256 原生推导。
Solidity 接口声明
function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256)
参数 ABI 编码与偏移量规范
| # | 参数类型 | Calldata 偏移量 | 编码规则 |
|---|---|---|---|
| 1 | address | 0x04 + 00 | ABI 32 字节字对齐补零 |
| 2 | uint256 | 0x04 + 20 | ABI 32 字节字对齐补零 |
执行度量与 Keccak-256 原生推导
返回值类型: uint256
基准 Gas 预估: 2,100 ~ 5,000 gas (view)
Keccak-256 (tokenOfOwnerByIndex(address,uint256)):
0x2f745c59a57ba1667616e5a9707eeaa36ec97c283ee24190b75d9c8d14bcb215