ChainAddress: {
    chainId: string;
    encoding: "bech32" | "ethereum";
    value: string;
}

An address on some blockchain, e.g., cosmos, eth, etc.

Type declaration

  • chainId: string

    e.g. 1 for Ethereum, agoric-3 for Agoric, cosmoshub-4 for Cosmos

  • encoding: "bech32" | "ethereum"
  • value: string

    The address value used on-chain