Options
All
  • Public
  • Public/Protected
  • All
Menu

Represents an input from a set of keys (wallet)

Hierarchy

  • KeyInput

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • new KeyInput(amount: BigInteger.BigInteger | number, keyOffsets: BigInteger.BigInteger[] | number[], keyImage: string): KeyInput
  • Creates a new input from existing keys using the specified values

    Parameters

    • amount: BigInteger.BigInteger | number

      the amount of the input

    • keyOffsets: BigInteger.BigInteger[] | number[]

      the input offsets used in the transaction signature(s)

    • keyImage: string

      the key image of the input

    Returns KeyInput

Accessors

amount

  • get amount(): BigInteger.BigInteger

keyImage

  • get keyImage(): string

keyOffsets

  • get keyOffsets(): BigInteger.BigInteger[]

type

Methods

toBuffer

  • toBuffer(): Buffer

toString

  • toString(): string
  • Represents the input as a hexadecimal string (blob)

    Returns string

    the hexadecimal (blob) representation of the object

Generated using TypeDoc