TypeScript SDK
ERC20TokenAmount
The asset, scheme and amount for the payment in base units
type ERC20TokenAmount = { amount: string; asset: { address: `0x${string}`; decimals?: number; eip712?: { name: string; version: string; }; };};The amount of the payment in base units
type amount = string;The asset of the payment, decimals and eip712 data are optional and will be inferred from the address if not provided
type asset = { address: `0x${string}`; decimals?: number; eip712?: { name: string; version: string; };};