Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SellAction

Hierarchy

Constructors

constructor

Properties

coinToBuy

coinToBuy: Buffer

coinToSell

coinToSell: Buffer

minimumValueToBuy

minimumValueToBuy: Buffer

raw

raw: Buffer[]

valueToSell

valueToSell: Buffer

Static Readonly txType

txType: SELL = ...

Methods

encode

  • encode(): Buffer
  • Returns the rlp encoding of the action

    Returns Buffer

getRaw

  • getRaw(): Buffer[]
  • Returns Buffer[]

rlpSchema

serialize

  • serialize(): Buffer
  • Returns the rlp encoding of the action

    Returns Buffer

serializeToString

  • serializeToString(): string
  • Return 0x prefixed hex of serialise method result

    Returns string

toJSON

  • toJSON(labels?: boolean): string[] | object
  • Returns the action in JSON format

    Parameters

    • labels: boolean = false

    Returns string[] | object

type

Static constructorByType

Generated using TypeDoc