Paymaster API
What is a Paymaster ?
Paymasters are smart contracts designed to facilitate transaction sponsorship.
They allow third parties to sponsor the gas fees for transactions, enabling users to interact with the blockchain without having to pay for gas themselves.
This can be particularly useful for onboarding new users, running promotional campaigns, or supporting decentralized applications where the end-user experience is improved by abstracting away transaction costs.
How to sponsor transactions
To authorize the sponsorship of a given contract address, you need to add it to your sponsored addressesed in the dashboard. From there, we will accept sponsoring transactions targeting this contract.

Have a look at the "Gasless with Paymaster" section of the SDK documentation to see how to integrate it seamlessly.
Go GaslessEndpoints
https://paymaster.cometh.io/CHAIN_ID?apikey=API_KEY
Example for Arbitrum Sepolia : https://paymaster.cometh.io/421614?apikey=API_KEY
pm_sponsorUserOperation
Submit a UserOperation to the paymaster. If approved for sponsorship, it returns the paymasterAndData along with updated gas values
Request
Response
pm_supportedEntryPoints
Returns an array of supported EntryPoint addresses.
Request
Response
Routes for Sponsored Addresses
Retrieve Sponsored Addresses
Use the following GET request to obtain the list of sponsored addresses for a specific chain.
Set Sponsored Address
To add a new sponsored address, send a POST request with the target address and chain ID.
Routes for Sponsored Chains
Retrieve Sponsored Chains
The following GET request can be used to get information about sponsored chains.
Set Sponsored Chain
This route enables users to sponsor an entire chain, allowing transactions on the chain to benefit from sponsorship.
Last updated