Skip to content
docs

InsufficientFundsError

Defined in: errors.ts:29

The account cannot cover amount + fee. Both in base units.

  • Error

new InsufficientFundsError(required, available, token?): InsufficientFundsError

Defined in: errors.ts:34

bigint

bigint

string = 'native'

InsufficientFundsError

Error.constructor

readonly available: bigint

Defined in: errors.ts:33

What the account holds, in base units.


readonly required: bigint

Defined in: errors.ts:31

Amount plus fee needed, in base units.