AggregatorV3Interface
Functions
decimals
function decimals() external view returns (uint8);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint8 |
description
function description() external view returns (string memory);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | string |
version
function version() external view returns (uint256);
Returns
| Name | Type | Description |
|---|---|---|
| <none> | uint256 |
getRoundData
function getRoundData(
uint80 _roundId
)
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
Parameters
| Name | Type | Description |
|---|---|---|
| _roundId | uint80 |
Returns
| Name | Type | Description |
|---|---|---|
| roundId | uint80 | |
| answer | int256 | |
| startedAt | uint256 | |
| updatedAt | uint256 | |
| answeredInRound | uint80 |
latestRoundData
function latestRoundData()
external
view
returns (
uint80 roundId,
int256 answer,
uint256 startedAt,
uint256 updatedAt,
uint80 answeredInRound
);
Returns
| Name | Type | Description |
|---|---|---|
| roundId | uint80 | |
| answer | int256 | |
| startedAt | uint256 | |
| updatedAt | uint256 | |
| answeredInRound | uint80 |