Function checkIfBalanceSufficient

Fetches the balance of the given address and returns a boolean whether this is zero or below an optionally passed minimum value.

  • Parameters

    • api: ApiPromise
    • account: string | IKeyringPair
    • OptionalminBalance:
          | string
          | number
          | bigint
          | BN

    Returns Promise<boolean>