Paymaster API
By letting developers use gas abstraction in their dApps, the NERO Chain Paymaster API lets users pay gas costs using ERC20 tokens or have transactions sponsored totally. This guide addresses recommended practices for integration, request/response forms, and API endpoints.
Introduction
The Paymaster API sits between your dApp and the NERO Chain blockchain, providing services to:
- Sponsor gas fees for your users.
- Allow users to pay for gas with ERC20 tokens.
- Validate and sign UserOperations before they’re sent to the bundler.
- Apply your configured gas strategies to user transactions.

Figure 1: Paymaster API integration/usage flow
API Endpoints
Base URL
The Paymaster API is available at:
https://paymaster-testnet.nerochain.io
For mainnet:
https://paymaster-mainnet.nerochain.io
Authentication
All API requests require an API key created through the AA Platform. The API key should be included as a parameter in your RPC calls.
In This Section
- Core Methods - Detailed API reference for all Paymaster API methods
- Payment Types - Explanation of different payment types
- Error Handling - Common errors and troubleshooting
- Best Practices - What to keep in mind while integrating Paymaster