Buy rolls.
The transaction data.
Optional
executor: IBaseAccountThe account used to send the transaction.
A promise that resolves to an array of operation ids as strings.
Protected
compactCompacts bytes payload per operation.
The operation data.
The operation type id.
The expire period.
The compacted bytes payload.
Get the base account.
The base account (or null if the base account is not set).
Protected
getProtected
getSell rolls.
The transaction data.
The account used to send the transaction.
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.
Send a transaction.
The transaction data.
Optional
executor: IBaseAccountThe account used to send the transaction.
A promise that resolves to an array of operation ids as strings.
Set the base account.
The base account as an IAccount object.
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 using a specific account.
The message to sign.
The address of the account used to sign the message.
A promise that resolves to the signed data as an ISignature object.
Verify a signature.
The message to verify.
The signature to verify.
The public key of the signer.
A promise that resolves to a boolean (true if the signature is valid, false otherwise).
Get all accounts info.
A promise that resolves to an array of IFullAddressInfo objects.
Generated using TypeDoc
Interface for WalletClient objects
See