BlockchainAnchorClientProvider

Service Provider Interface for BlockchainAnchorClient implementations. Implementations of this interface will be discovered via Java ServiceLoader.

Properties

Link copied to clipboard
abstract val name: String

The name/identifier of this provider (e.g., "algorand", "polygon").

Link copied to clipboard

Returns the list of environment variables required for this blockchain anchor provider.

Link copied to clipboard
abstract val supportedChains: List<String>

List of chain IDs supported by this provider. Chain IDs should follow CAIP-2 format (e.g., "algorand:mainnet", "eip155:137").

Functions

Link copied to clipboard
abstract fun create(chainId: String, options: Map<String, Any?> = emptyMap()): BlockchainAnchorClient?

Creates a BlockchainAnchorClient instance for the specified chain ID.

Link copied to clipboard

Checks if all required environment variables are available for this provider.