API Reference

zks_getTestnetPaymaster

Returns the address of the testnet paymaster: the paymaster that is available on testnets and enables paying fees in ERC-20 compatible tokens.

Example

Request

curl --location --request POST 'https://zksync-era-mainnet.unifra.io/v1/your-api-key' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": [  ]}'

Result

{
    "jsonrpc": "2.0",
    "result": "0x8f0ea1312da29f17eabeb2f484fd3c112cccdd63",
    "id": 1
}

Language
Click Try It! to start a request and see the response here!