Polkadot Apps
    Preparing search index...

    Function accountIdFromBytes

    • Encode an SS58 address from a 32-byte public key using polkadot-api's AccountId codec. This is the inverse of accountIdBytes().

      Parameters

      • publicKey: Uint8Array
      • prefix: number = GENERIC_PREFIX

      Returns SS58String