Creates a new DefaultClass object.
Readonly
providerThe network provider object.
Readonly
walletThe wallet object.
Builds a transaction body object from a transaction input object.
The transaction input object.
The transaction body object.
Signs and sends a transaction to the network.
The transaction input object.
The dryrun option.
The return value of the blockchain API.
Signs and sends multiple transactions in a batch to the network.
The list of the transaction input objects.
The return value of the blockchain API.
Signs a message using an account. If an address is not given, the default account of the wallet is used.
The message to sign.
Optional
address: stringThe address of the account.
The signature.
The default class of Signer interface implemented using Wallet class. When Ain class is initialized, DefaultSigner is set as its signer.