• Returns Tendermint address in uppercase hex format.

    This is for addresses that are derived by the Tendermint keypair (typically Ed25519). Sometimes those addresses are bech32-encoded and contain the term "cons" in the presix ("cosmosvalcons1...").

    For secp256k1 this assumes we already have a compressed pubkey, which is the default in Cosmos.

    Parameters

    • type: "ed25519" | "secp256k1"
    • data: Uint8Array

    Returns string

Generated using TypeDoc