Functions
buildSetOp
- buildSetOp(opList: SetOperation[]): SetMultiOperation
Parameters
Returns SetMultiOperation
buildSetRuleOp
- 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
- buildSetStateRuleOp(ref: string, rule: any): SetOperation
Parameters
Returns SetOperation
buildSetTxBody
- buildSetTxBody(operation: SetOperation | SetMultiOperation, address: string): TransactionInput
Parameters
operation: SetOperation | SetMultiOperation
address: string
Returns TransactionInput
buildSetValueOp
- buildSetValueOp(ref: string, value: any): SetOperation
Parameters
Returns SetOperation
buildSetWriteRuleOp
- buildSetWriteRuleOp(ref: string, rule: any): SetOperation
Parameters
Returns SetOperation
isTxSizeValid
- isTxSizeValid(txBody: TransactionInput): boolean
Parameters
Returns boolean
isTxSuccess
- isTxSuccess(txResult: any): boolean
Parameters
Returns boolean
sendTx
- sendTx(txBody: TransactionInput, ain: default): Promise<any>
Parameters
txBody: TransactionInput
ain: default
Returns Promise<any>