API ReferenceTokens and balancesInterface
TokenAmount
An amount of one ERC-20 token, in the token’s smallest unit.
Properties
amount
amount: bigint;Quantity in the token’s smallest unit, per its decimals — 1_000_000n is 1 USDC,
1_000_000_000_000_000_000n is 1 WETH.
tokenAddress
tokenAddress: `0x${string}`;The ERC-20 contract address of the token this amount is in.