Function encodeSecp256k1Signature

  • Takes a binary pubkey and signature to create a signature object

    Parameters

    • pubkey: Uint8Array

      a compressed secp256k1 public key

    • signature: Uint8Array

      a 64 byte fixed length representation of secp256k1 signature components r and s

    Returns StdSignature

Generated using TypeDoc