Description
Call a Chainlink aggregator latestRoundData directly on Base and return the round with a signed JWS-HS256 receipt. Pass a known pair (ETH/USD, BTC/USD, USDC/USD, DAI/USD, LINK/USD) or an explicit aggregator address; the number is itself on-chain and re-checkable from the feed address + block in the envelope.
Request schema
{
"anyOf": [
{
"required": [
"pair"
]
},
{
"required": [
"feed"
]
}
],
"properties": {
"chain": {
"default": "base",
"type": "string"
},
"feed": {
"description": "Explicit Chainlink aggregator address (overrides pair).",
"type": "string"
},
"pair": {
"description": "Known pair, e.g. ETH/USD, BTC/USD, USDC/USD, DAI/USD, LINK/USD.",
"type": "string"
}
},
"type": "object"
}
Response schema
{
"description": "Signed envelope; `source.call` is the exact latestRoundData call to replay.",
"properties": {
"jws": {
"type": "string"
},
"ok": {
"type": "boolean"
},
"result": {
"type": "object"
},
"source": {
"type": "object"
}
},
"type": "object"
}
Example request
{
"pair": "ETH/USD"
}
Example response
{
"id": "obs_...",
"jws": "eyJ...",
"ok": true,
"result": {
"answer": "1754.30000000",
"answer_raw": "175430000000",
"block": 32000000,
"chain": "base",
"chain_id": 8453,
"decimals": 8,
"description": "ETH / USD",
"feed": "0x71041dddad3595f9ced3dccfbe3d1f4b0a16bb70",
"round_id": "...",
"updated_at": "2026-07-08T09:05:00.000Z"
},
"service": "oracle-reading",
"source": {
"method": "eth_call latestRoundData()",
"provider": "chainlink",
"via": "base-rpc"
}
}