Skip to content

balanceForPermit

balanceForPermit(client, options): Promise<OutputType>

Defined in: packages/synapse-core/src/erc20/index.ts:127

Get the balance, name, nonce, and version of an ERC20 token.

Parameter Type Description
client Client<Transport, Chain> The client to use to get the ERC20 balance for permit.
options OptionsType balanceForPermit.OptionsType

Promise<OutputType>

The balance, name, nonce, and version. balanceForPermit.OutputType

Errors balanceForPermit.ErrorType