Function useAddressCoinType

  • Get the coin type of the chain the address belongs to

    Parameters

    • address: undefined | string

      bech32 encoded address to get coin type from

    • Optional isTestnet: boolean

    Returns undefined | {
        coinType?: string;
        error?: string;
    }