Skip to main content

Crate blockchain_ops

Crate blockchain_ops 

Source
Expand description

Chain-agnostic blockchain operation traits.

These traits cover the operations that read naturally on any chain, while chain-specific power (application calls, asset configuration) stays on the concrete implementation and is reached directly or through a native escape hatch. The Algorand implementation lives in the algo_ops crate. See spec/algo_ops_api_surface.md.

Structs§

ConfirmedTxn
Neutral view of a pending or confirmed transaction, returned by the TransactionQueryOps reads.

Traits§

AssetOps
Operations for chains that have first-class assets (Algorand Standard Assets, Ethereum tokens, etc.). Implemented only by chains that support assets.
BlockChainOps
Operations meaningful against any blockchain.
TransactionQueryOps
Reads that locate a confirmed transaction and return it as a neutral ConfirmedTxn.