@thruputchain/client
    Preparing search index...

    Function pubkeyAccountPreimage

    • Builds the preimage of a pubkey account's address from its key and nonce: { pubkey_hash: derivePublicKeyHash(pubkey), nonce }.

      The preimage names the key by its scheme-inclusive hash for every scheme, Ed25519 included, so it is the same size whatever the key.

      Parameters

      • pubkey: PublicKey
      • nonce: bigint = 0n

      Returns PubkeyAccountPreimage