Skip to content

IChainlinkAggregatorV3 ​

Git Source

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

Functions ​

decimals ​

represents the number of decimals the aggregator responses represent.

solidity
function decimals() external view returns (uint8);

description ​

solidity
function description() external view returns (string memory);

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);