> For the complete documentation index, see [llms.txt](https://docs.nucleusearn.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.nucleusearn.io/nucleus-architecture/smart-contracts/contracts/interfaces/ipricefeed.md).

# IPriceFeed

[Git Source](https://github.com/Ion-Protocol/nucleus-boring-vault/blob/cc0b494b83e17b9b169a73b96050d2810b690477/src/interfaces/IPriceFeed.sol)

## Functions

### decimals

The precision of the value being returned from the price feed.

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

### latestRoundData

Return oracle data for Chainlink or Redstone price feeds.

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

### description

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

### getDataFeedId

```solidity
function getDataFeedId() external view returns (bytes32);
```
