Skip to main content

zks_getTestnetPaymaster

Obtain the paymaster address for testnets, which is the address that allows fees to be paid with tokens that are compliant with ERC-20.

Parameters

none

Returns

result(string): Prepared get paymaster request

Example

Request

curl https://zksync-testnet.blastapi.io/<project-id>
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"zks_getTestnetPaymaster","params":[],"id":0}'

Result

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