Custom

data class Custom(chainId: String, namespace: String) : ChainId

Custom chain ID for extensibility.

Use this for chain IDs that don't have predefined types. The chainId must follow CAIP-2 format: "namespace:reference"

Constructors

Link copied to clipboard
constructor(chainId: String, namespace: String)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getNamespace(): String

Returns the namespace (e.g., "algorand", "eip155", "indy").

Link copied to clipboard
open override fun toString(): String

Returns the string representation of the chain ID (CAIP-2 format).