BlockchainAnchorRegistry

Contract for registries that manage BlockchainAnchorClient instances.

Inheritors

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
abstract fun clear()
Link copied to clipboard
abstract fun get(chainId: String): BlockchainAnchorClient?
Link copied to clipboard
abstract fun getAllChainIds(): List<String>
Link copied to clipboard
Link copied to clipboard
abstract fun has(chainId: String): Boolean
Link copied to clipboard
suspend fun <T> BlockchainAnchorRegistry.readTyped(ref: AnchorRef, serializer: KSerializer<T>): T
Link copied to clipboard
abstract fun register(chainId: String, client: BlockchainAnchorClient)
Link copied to clipboard
open fun registerAll(vararg entries: Pair<String, BlockchainAnchorClient>)
Link copied to clipboard
abstract fun size(): Int
Link copied to clipboard
Link copied to clipboard
abstract fun unregister(chainId: String): Boolean