Comment on page
zks_getTestnetPaymaster
Get the address of the testnet paymaster
Obtain the paymaster address for testnets, which is the address that allows fees to be paid with tokens that are compliant with ERC-20.
none
result(string)
: Prepared get paymaster requestRequest
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
}
Last modified 14d ago