InsufficientFundsError
Defined in: errors.ts:29
The account cannot cover amount + fee. Both in base units.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new InsufficientFundsError(
required,available,token?):InsufficientFundsError
Defined in: errors.ts:34
Parameters
Section titled “Parameters”required
Section titled “required”bigint
available
Section titled “available”bigint
token?
Section titled “token?”string = 'native'
Returns
Section titled “Returns”InsufficientFundsError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”available
Section titled “available”
readonlyavailable:bigint
Defined in: errors.ts:33
What the account holds, in base units.
required
Section titled “required”
readonlyrequired:bigint
Defined in: errors.ts:31
Amount plus fee needed, in base units.