> For the complete documentation index, see [llms.txt](/llms.txt).

# `zks_getTestnetPaymaster`

Returns the address of the [testnet paymaster](https://docs.zksync.io/zksync-protocol/era-vm/account-abstraction/paymasters#testnet-paymaster)available on testnets and enables paying fees in ERC-20 compatible tokens.

## Parameters[​](#parameters "Direct link to Parameters")

None.

## Response[​](#response "Direct link to Response")

The address of the testnet paymaster.

## Example[​](#example "Direct link to Example")

Replace `<YOUR-API-KEY>` with an API key from your [Infura dashboard](https://app.infura.io/).

### Request[​](#request "Direct link to Request")

- curl
- WSS

```
curl https://zksync-sepolia.infura.io/v3/<YOUR-API-KEY> \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}'

```

```
wscat -c wss://zksync-sepolia.infura.io/ws/v3/<YOUR-API-KEY> -x '{"jsonrpc": "2.0", "id": 1, "method": "zks_getTestnetPaymaster", "params": []}'

```

### Response[​](#response-1 "Direct link to Response")

- JSON

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

```
