Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TxnResponse

Holds results of transaction

Hierarchy

  • TxnResponse

Index

Constructors

constructor

  • Returns TxnResponse

  • Parameters

    Returns TxnResponse

Methods

addError

  • Adds error to this response

    Parameters

    Returns TxnResponse

addResult

  • Adds result to this response

    Parameters

    • results: any

    Returns TxnResponse

getErrors

  • Adds error to this response

    Returns TxnError[]

getErrorsSize

  • getErrorsSize(): number
  • Returns the number of errors in this response

    Returns number

getResults

  • getResults(): any[]
  • Adds result to this response

    Returns any[]

getResultsSize

  • getResultsSize(): number
  • Returns the number of results in this response

    Returns number

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc