Options
All
  • Public
  • Public/Protected
  • All
Menu

Module utils/transaction

Index

Functions

  • buildSetOp(opList: SetOperation[]): SetMultiOperation
  • buildSetRuleOp(ref: string, rule: { state?: any; write?: any }): SetOperation
  • Parameters

    • ref: string
    • rule: { state?: any; write?: any }
      • Optional state?: any
      • Optional write?: any

    Returns SetOperation

  • buildSetStateRuleOp(ref: string, rule: any): SetOperation
  • buildSetTxBody(operation: SetOperation | SetMultiOperation, address: string): TransactionInput
  • buildSetValueOp(ref: string, value: any): SetOperation
  • buildSetWriteRuleOp(ref: string, rule: any): SetOperation
  • isTxSizeValid(txBody: TransactionInput): boolean
  • isTxSuccess(txResult: any): boolean
  • sendTx(txBody: TransactionInput, ain: default): Promise<any>

Generated using TypeDoc