Private
accountPrivate
chainPrivate
publicThe transaction data.
A promise that resolves to an array of operation ids as strings.
The call data.
A promise that resolves to the result of the call.
Protected
compactCompacts bytes payload per operation.
The operation data.
The operation type id.
The expire period.
The compacted bytes payload.
The contract data.
A promise that resolves to the address of the deployed contract.
Private
executeExecutes a blockchain operation
The transaction data for the operation.
The type of operation to be executed.
Determines whether to use retry logic in case of failures.
Custom error message to throw if operation fails.
Optional
preExecutionCallback: ((data) => Promise<void>)An optional callback function to be executed before the operation, for any pre-execution logic or validation.
Returns a promise that resolves to the operation ID.
Protected
getProtected
getThe transaction data.
A promise that resolves to an array of operation ids as strings.
Protected
sendSends a post JSON rpc request to the node.
The rpc method to call.
The parameters to pass to the rpc method.
A promise that resolves as the result of the rpc method.
An error if the rpc method returns an error.
The transaction data.
A promise that resolves to an array of operation ids as strings.
Set new providers as IProvider.
The new providers to set as an array of IProvider.
Will throw an error if no public providers are included in the given array of providers.
Will throw an error if no private providers are included in the given array of providers.
Sign a message.
Signature of the message.
Generated using TypeDoc
Represents a BaseAccount object.
See