Get oracle state

GET
/v0/oracles/{oracle-selector}/state

Latest indexed state of an oracle: quote, onchain update timestamp, and indexed block.

Path Parameters

oracle-selector*string

Selector formatted as <chain_id>:<oracle_address>. Example: 1:0x2a01EB9496094dA03c4E364Def50f5aD1280AD72.

Format<chain_id>:<oracle_address>

Response Body

application/json

curl -X GET "https://example.com/v0/oracles/1:0x2a01EB9496094dA03c4E364Def50f5aD1280AD72/state"
{  "data": {    "last_updated_at": "1717000100",    "oracle_address": "0x2a01EB9496094dA03c4E364Def50f5aD1280AD72",    "chain_id": 1,    "last_indexed_block": "19700042",    "price": "1150750000000000000000000000000000000"  }}