Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Secp256k1SignatureOffsets

Secp256k1SignatureOffsets serializer

See https://docs.solana.com/developing/runtime-facilities/programs#secp256k1-program for more info.

Hierarchy

  • Secp256k1SignatureOffsets

Index

Constructors

Methods

Constructors

constructor

Methods

Static serialize

  • serialize(signatures: Buffer[], keys: Buffer[], message: Buffer): Buffer
  • Serialize multiple signatures, ethereum public keys and message as Secp256k1 instruction data.

    Parameters

    • signatures: Buffer[]

      65-byte signatures (64 + 1 recovery id)

    • keys: Buffer[]

      ethereum public keys

    • message: Buffer

      32-byte hash

    Returns Buffer

    serialized Secp256k1 instruction data

Generated using TypeDoc