Chain
Chain<
Ext> =object
One configured CAIP-2 chain and the adapter that handles its namespace.
Type Parameters
Section titled “Type Parameters”Ext = object
Properties
Section titled “Properties”adapter
Section titled “adapter”adapter:
ChainAdapter<Ext>
Shared behavior for this chain’s namespace.
id:
string
Complete CAIP-2 ID, such as "eip155:1".
namespace
Section titled “namespace”namespace:
string
CAIP-2 namespace, such as "eip155".
optionalread?: (req) =>Promise<unknown>
Optional transport for chain reads. The built-in EVM adapter uses it for JSON-RPC reads.
Parameters
Section titled “Parameters”Returns
Section titled “Returns”Promise<unknown>