BN input.
Formatting options from IFormatBalanceOptions.
Formatted balance with SI and unit notation.
Transactions to execute in the batch call
Submittable extrinsic unsigned
Transactions to execute in the batch call
Hex of the submittable extrinsic unsigned
Transactions to execute in the batch call
Submittable extrinsic unsigned
Transactions to execute in the batch call
Hex of the submittable extrinsic unsigned
Signed transaction object
The section required to get the chain constant (eg. "balances")
The constantName depending on the section (eg. "existentialDeposit")
The constant value
Pallet module of the transaction
Subsequent extrinsic method of the transaction
Arguments of the transaction
Transaction object unsigned
Pallet module of the transaction
Subsequent extrinsic method of the transaction
Arguments of the transaction
Hex value of the transaction
String, the api endpoint connected with.
Raw polkadot api instance, a wrapper around the RPC and interfaces of the chain.
Transaction hex
Fee estimation
Hex of the transaction
Public address of the sender
Total estimated fee which is the sum of the chain initial fee and the optional additional fee
Transaction hex
Public address of the sender
Transaction fee estimation
Boolean, true if the underlying provider is connected, false otherwise
Generic result passed as a parameter in a transaction callback
Object containing a boolean success field indicating if transaction is successful and a indexInterrupted field to indicate where the transaction stopped in case of a batch
Boolean, true if the address is valid, false otherwise
Message to check.
Address to verify the signer.
Boolean, true if the address signed the message, false otherwise
Number input
BN output
The section required to make the chain query (eg. "system")
The call depending on the section (eg. "account")
Array of args for the call
Callback function to enable subscription, if not given, no subscription will be made
Result of the query storage call
Keyring pair to sign the data
Tx hex of the unsigned transaction to be signed
Nonce to be used in the transaction, default to next available
Number of blocks during which transaction can be submitted, default to immortal
Hex value of the signed transaction
Unsigned unsubmitted transaction Hash. The Hash is only valid for 5 minutes.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
Account that will sign the transaction if provided
A list of blockchain events related to an extrinsics execution.
Transaction hex of the signed transaction to be submitted
Callback function to enable subscription, if not given, no subscription will be made
Hash of the transaction
Unsigned unsubmitted transaction Hash. The Hash is only valid for 5 minutes.
Execution trigger that can be set either to BlockInclusion or BlockFinalization.
Account that will sign the transaction if provided
Returns a pair objects that are used to track the progress of the transaction execution. The first returned object is a conditional variable which can yield the information if the operation is finished. The second returned objects is an array of events which gets populated automatically once the operation is finished.
Generated using TypeDoc
balanceToNumber
Format balance from BN to number.