Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Action

Hierarchy

Constructors

constructor

  • new Action(data: any): Action
  • Parameters

    • data: any

    Returns Action

Properties

raw

raw: Buffer[]

Static Readonly txType

txType: TransactionType = ...

Methods

encode

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

    Returns Buffer

getRaw

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

Abstract rlpSchema

  • Returns RlpSchemaField[]

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