exact and upto schemes let you pay per request without pre-funding a channel. Each call results in an on-chain transfer.
Exact
Fixed-price payments. The server advertises a price, you sign for that exact amount, and the facilitator settles an on-chain transfer.exact for:
- One-shot API calls
- Fixed-price resources (file downloads, gated pages)
- When you don’t want to pre-fund a channel
exact — no on-chain state to read.
Upto
Usage-based payments. The server advertises a maximum price, you sign a Permit2 authorization for that maximum, and the server charges the actual usage after processing.upto for:
- LLM token billing (charge for actual tokens used)
- Compute-time billing
- Dynamic data queries where the cost varies
Register multiple schemes
You can register all three schemes at once — the SDK picks the right one based on what the server advertises:Transfer methods
The EVM implementation supports two transfer methods:
The SDK automatically selects the right method based on the token’s capabilities.