paymasterIds. This page walks through each step end to end.

Account abstraction features require the Growth plan or higher. You can sign up for a free plan first and upgrade later from the Billing tab.
What you will leave with
By the end of this guide you should have:- A bundler RPC URL for Soneium Minato or Mainnet.
- A paymaster RPC URL.
- A
paymasterIdfor each paymaster you create (managed or self-funded). - One or more gas policies attached to that paymaster.
createSmartAccountClient and createSCSPaymasterClient.
1. Issue an API key
1
Open the API Keys tab
Sign in to the SCS Portal and open the API Keys section in the left navigation.
2
Create a key per environment
Create separate keys for development and production so you can rotate or revoke them independently.
3
Copy the bundler and paymaster URLs
Each key exposes both a
bundlerUrl and a paymasterUrl. They look like this:2. Create a paymaster
The Portal supports two paymaster modes. Both modes return apaymasterId that you pass through paymasterContext at runtime; the difference is purely how the paymaster is funded.
- Self-funded (prepaid)
- Managed (postpaid)
You top up an ETH balance on the paymaster contract from a sponsor account you control. Gas is debited from that balance until it is empty, at which point the paymaster will reject UserOperations.When to choose this mode
- You want a hard, predictable cap on how much gas you can spend.
- You prefer to settle in crypto rather than fiat.
- You operate the paymaster from a treasury wallet you already manage.
- Choose a sponsor account address on the target network.
- Send ETH to the paymaster contract address shown in the Portal.
- The Portal issues a
paymasterIdfor the paymaster you just funded.
3. Configure gas policies
Gas policies are the rules that the paymaster applies before agreeing to sponsor a UserOperation. A paymaster with no policies will sponsor everything until it runs out of funds; in production you almost always want at least one policy.
Each policy has a rate limit type:
Policy windows currently reset every 7 days. The reset cadence is fixed at the platform level; you choose the rate limit value, not the window length.
4. Plug the values into the SDK
Put the four values you collected into your environment file:.env
Next steps
Installation and setup
Install the SDK and pick a signer for your stack.
Sponsored paymaster
Send sponsored UserOperations end to end.
ERC-20 paymaster
Charge users in tokens instead of native gas.
Quickstart
Verify the credentials with a one-file Node.js script.