attest_price_event
Generate a signed, citable attestation of a crypto price event. Includes decision_id, integrity hash, and all determining candles, for defending price outcomes to counterparties.
Instructions
PAID — $0.25 USDC. Everything resolve_price_event returns, plus a signed decision_id, an integrity hash over the evidence, and every candle that determined the outcome. This is the citable artifact: use it when the answer may later have to be defended to a counterparty, not when you just need to know. KEEP THE decision_id. It is self-contained — anyone you show it to can authenticate it for free with decode_decision_id, and confirm the verdict still holds for $0.02 with verify_decision, without you having to supply anything else. Pays automatically from the configured wallet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | ISO-8601 window end. Defaults to now. | |
| from | No | ISO-8601 window start. Defaults to 24h before `to`. | |
| mode | No | touch (default) or close | |
| asset | Yes | Asset symbol, e.g. BTC, ETH, SOL | |
| operator | Yes | Comparison against the threshold | |
| threshold | Yes | Price threshold in USD |