curl --request POST \
--url https://zksync-sepolia.core.chainstack.com/da5f4c6274cd225217d352308a952d2f \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getTestnetPaymaster",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"paymasterAddress": "<string>"
}
}
curl --request POST \
--url https://zksync-sepolia.core.chainstack.com/da5f4c6274cd225217d352308a952d2f \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"id": 1,
"method": "zks_getTestnetPaymaster",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"paymasterAddress": "<string>"
}
}
none
result
— the address of the testnet paymaster.zks_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.Successful response
The response is of type object
.