Charge payments are the simple MPP path: the client signs an ERC-3009 authorization and the server settles it on-chain.Documentation Index
Fetch the complete documentation index at: https://docs.abs.xyz/llms.txt
Use this file to discover all available pages before exploring further.
1. Install the package
2. Register the server method
The Abstract package exposes a server-side charge method under@abstract-foundation/mpp/server.
3. Create the client method
The client signs the authorization but does not broadcast a transaction directly.4. What the request needs
The charge request includes:amountcurrencydecimalsrecipient- optional
chainId
5. When to use charge mode
Use charge mode when:- the client makes isolated requests
- you want no channel lifecycle
- the simplicity of one signature per request is acceptable
Next
Move toSession Payments if the same client will hit your API repeatedly.