Package-level declarations
Types
Link copied to clipboard
abstract class AbstractBlockchainAnchorClient(chainId: String, options: Map<String, Any?>) : BlockchainAnchorClient
Abstract base class for blockchain anchor client implementations.
Link copied to clipboard
object AnchorDigest
Builds and recognises the compact digest envelope anchored on-chain when a client runs in digest payload mode (see AbstractBlockchainAnchorClient.OPTION_PAYLOAD_MODE).
Link copied to clipboard
data class AnchorResult(val ref: AnchorRef, val payload: JsonElement, val mediaType: String = "application/json", val timestamp: Long? = null, val fee: TokenAmount? = null, val payerAddress: String? = null)
Result of anchoring a payload to a blockchain.
Link copied to clipboard
data class AnchorVerification(val verified: Boolean, val testMode: Boolean = false, val reason: String? = null)
Outcome of BlockchainAnchorClient.verifyAnchorDetailed.
Link copied to clipboard
interface BlockchainAnchorClient
Interface for blockchain anchoring operations. This interface is chain-agnostic; specific blockchain implementations will be provided in separate adapter modules.
Link copied to clipboard
interface BlockchainAnchorRegistry
Contract for registries that manage BlockchainAnchorClient instances.
Link copied to clipboard
Default in-memory implementation of BlockchainAnchorRegistry.
Functions
Link copied to clipboard
suspend fun <T> BlockchainAnchorRegistry.anchorTyped(value: T, serializer: KSerializer<T>, targetChainId: String, mediaType: String = "application/json"): AnchorResult
Link copied to clipboard