Fetch accumulator from chain
fetch_accumulatorReads a log's published accumulator from the univocity contract over RPC and returns the base64 CBOR snapshot a verifier consumes, with block number and hash.
Instructions
Read the log's published accumulator from the univocity contract at your rpcUrl: eth_chainId, then eth_getBlockByNumber latest, then one eth_call logState(logId) at that block. The contract address and chain id come from a genesis you hold ({genesis, rpcUrl, logId}) or are given explicitly ({rpcUrl, univocity, logId, chainId?}); a chain id mismatch is reported as a problem before any call. Returns the snapshot CBOR the verifier's known-accumulator root consumes, base64-encoded, with size, block number and block hash. Provenance: chain-read. Supports: split-view under known-accumulator, against the chain rather than the operator; sealing and append-authority by inheritance from the contract's publish-time checks, not by a local signature check.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | Yes | The forest's chain binding: from a genesis you hold, or given explicitly. Never defaulted, never taken from a fetched genesis, never read from the environment except rpcUrl. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | No | ||
| snapshot | No | ||
| supports | Yes | ||
| provenance | No | ||
| accumulator | No |