Get attested price (Rubric Protocol)
get_attested_priceFetch live, historical, or proof-backed Base-mainnet asset prices; each result is post-quantum signed and Hedera-anchored for independent verification.
Instructions
Live spot price for a Base-mainnet asset pair (e.g. 'ETH', 'BTC', 'SOL'), read straight from Chainlink aggregators via eth_call — no cached feed, no third-party price API in the trust path. Pays Rubric Protocol $0.02 USDC per call via x402 (auto pay-and-retry on the 402; needs RUBRIC_MCP_PAYER_KEY funded with USDC on Base mainnet). The differentiator: every response is sealed with an ML-DSA-65 (FIPS 204 post-quantum) signature and anchored to Hedera Consensus Service — the returned attestationId can be independently verified forever at rubric-protocol.com/v1/verify/:attestationId, free, with no further trust in Rubric required. Set proof:true ($0.25) for the raw Chainlink round tuple + a disclosed commitment opening so a third party can recompute the receipt themselves; set at: ($0.50) for a historical price walked from on-chain round history instead of the latest one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| at | No | ISO-8601 timestamp for a historical price instead of latest ($0.50). Mutually exclusive with proof. | |
| proof | No | If true, also return the raw Chainlink round tuple + commitment opening ($0.25 instead of $0.02). | |
| symbol | Yes | Asset symbol, e.g. 'ETH' or 'ETH/USD'. See list_attested_services for supported pairs. |