Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Signer

description

Signer interface which is used across taquito in order to sign and inject operation

Hierarchy

  • Signer

Implemented by

Index

Methods

publicKey

  • publicKey(): Promise<string>

publicKeyHash

  • publicKeyHash(): Promise<string>

secretKey

  • secretKey(): Promise<undefined | string>

sign

  • sign(op: string, magicByte?: Uint8Array): Promise<{ bytes: string; prefixSig: string; sbytes: string; sig: string }>
  • Parameters

    • op: string

      Operation to sign

    • Optional magicByte: Uint8Array

      Magic bytes 11 for block, 12 for preendorsement, 13 for endorsements, 3 for generic, 5 for the PACK format of michelson

    Returns Promise<{ bytes: string; prefixSig: string; sbytes: string; sig: string }>

Generated using TypeDoc