0x9a6fc8f5
getRoundData(uint80)
以太坊 4 字节函数选择器 0x9a6fc8f5 (getRoundData(uint80)) 详细规范。归属标准:Chainlink Price Feed,分类:Decentralized Oracle。提供 Solidity 接口代码、返回值类型、执行 Gas 估算与 Keccak-256 原生推导。
Solidity 接口声明
function getRoundData(uint80 _roundId) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)
参数 ABI 编码与偏移量规范
| # | 参数类型 | Calldata 偏移量 | 编码规则 |
|---|---|---|---|
| 1 | uint80 | 0x04 + 00 | ABI 32 字节字对齐补零 |
执行度量与 Keccak-256 原生推导
返回值类型: (uint80,int256,uint256,uint256,uint80)
基准 Gas 预估: 2,100 ~ 6,500 gas (view)
Keccak-256 (getRoundData(uint80)):
0x9a6fc8f5bd1d333aff9fc77c09f6631020497d65346af0bdf49de784b6868a8d