BlockchainAnchorClient
Interface for blockchain anchoring operations. This interface is chain-agnostic; specific blockchain implementations will be provided in separate adapter modules.
Inheritors
Functions
Estimate the native-token fee that an operation would cost on this chain. Plugins compute this from the chain's native API (eth_feeHistory, Algorand suggested params, Cardano protocol params, Bitcoin estimatesmartfee, …). The default returns TokenAmount.unknown for plugins that have not yet implemented the payment plane.
Reads a payload from the blockchain using an anchor reference.
verifyAnchor with an explanation of the outcome: whether the anchor came from a client's in-memory test fallback (AnchorVerification.testMode) and why verification failed.
Writes a payload to the blockchain and returns an anchor reference.
Payment-aware write. Plugins that opt into the payment plane override this; the default delegates to the legacy writePayload so existing implementations keep compiling.