Check that the signer has a non-zero native currency balance on the given
chain. Throws InsufficientGas if the balance is zero.
This is a pre-flight sanity check for the common case of a brand-new wallet
with no funds. It does not estimate gas costs — the catch-block safety net
(using isInsufficientFundsError) handles the "had some but not
enough" case.
Parameters
signer: Signer
An ethers Signer connected to the orchestration chain
Check that the signer has a non-zero native currency balance on the given chain. Throws InsufficientGas if the balance is zero.
This is a pre-flight sanity check for the common case of a brand-new wallet with no funds. It does not estimate gas costs — the catch-block safety net (using isInsufficientFundsError) handles the "had some but not enough" case.