Gets the data from the latest round on Chainlink price feed contract given the token pair. Supported networks are Ethereum Mainnet, Sepolia Testnet, Goerli Testnet, Polygon Mainnet & Polygon Mumbai.
Go to the Extensions Library and search for "Chainlink Price Feed". Click on the extension and click "Activate".
Go to JSON-RPC Request Builder and select "Chainlink Price Feed" from the dropdown menu. You can then enter the JSON payload and click "Send Request".
Parameters
- DATA, Coin pair.
Example:
{
"id": 0,
"jsonrpc": "2.0",
"method": "extension_chainlinkPriceFeed",
"params": ["USDT/ETH"]
}
See results from latestRoundData - https://docs.chain.link/data-feeds/api-reference#latestrounddata
Example:
{
"id": 0,
"jsonrpc": "2.0",
"result": {
"roundId": "0x400000000000023E7",
"answer": "0x1E4D0CC2AE885",
"startedAt": "0x6436143B",
"updatedAt": "0x6436143B",
"answeredInRound": "0x400000000000023E7"
}
}