Creates a new UptoEvmScheme instance.
The EVM signer for client operations
Creates a payment payload for the Up-To scheme.
The payload contains an EIP-2612 permit signature authorizing the router contract (or facilitator) to transfer up to the specified maximum amount.
The t402 protocol version
The payment requirements (must include maxAmount)
Promise resolving to a payment payload
EVM client implementation for the Up-To payment scheme.
Uses EIP-2612 Permit to authorize up to a maximum amount, enabling usage-based billing where the actual settlement amount is determined by the server based on usage.
Example