zks_getTestnetPaymaster | zkSync Era
Zksync node API
zks_getTestnetPaymaster | zkSync Era
zkSync Era API method that returns the address of the testnet paymaster. Reference for zks_getTestnetPaymaster on zkSync Era via Chainstack.
POST
zks_getTestnetPaymaster | zkSync Era
zkSync Era API method that returns the address of the testnet paymaster. This paymaster is available on testnets and facilitates transactions where fees can be paid using ERC-20 compatible tokens, enabling developers to test their applications without needing native network tokens for fee payment.
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Parameters
none
Response
result— the address of the testnet paymaster.
The interactive example fetches the paymaster address from the zkSync Sepolia testnet.
Use case
Developers working on DApps for the zkSync network could use thezks_getTestnetPaymaster method to configure their applications to use the testnet paymaster for transactions. This allows for seamless testing of fee payments in ERC-20 tokens, enabling broader testing scenarios without the need for acquiring native testnet tokens.Body
application/json
Last modified on May 18, 2026