Skip to content

IChainlinkAggregatorV3 ​

from https://github.com/smartcontractkit/chainlink/blob/master/contracts/src/v0.8/interfaces/AggregatorV3Interface.sol Copyright (c) 2018 SmartContract ChainLink, Ltd.

decimals ​

solidity
function decimals() external view returns (uint8)

represents the number of decimals the aggregator responses represent.

description ​

solidity
function description() external view returns (string)

version ​

solidity
function version() external view returns (uint256)

getRoundData ​

solidity
function getRoundData(uint80 _roundId) external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)

latestRoundData ​

solidity
function latestRoundData() external view returns (uint80 roundId, int256 answer, uint256 startedAt, uint256 updatedAt, uint80 answeredInRound)