> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cdp.coinbase.com/llms.txt
> Use this file to discover all available pages before exploring further.

# FaucetsClient

> FaucetsClient API reference.

Package: [`com.coinbase.cdp.resources.faucets`](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/index)

```java theme={null}
public class FaucetsClient extends Object
```

## Constructor Details

### `FaucetsClient`

```java theme={null}
public FaucetsClient(ClientOptions clientOptions)
```

**Parameters:**

`clientOptions` - [ClientOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/ClientOptions)

## Method Details

### `withRawResponse`

```java theme={null}
public WithRawResponseFaucetsClient withRawResponse()
```

Get responses with HTTP metadata like headers

**Returns:**

[WithRawResponseFaucetsClient](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/WithRawResponseFaucetsClient)

### `requestEvmFaucet`

**Overload 1**

```java theme={null}
public RequestEvmFaucetResponse requestEvmFaucet(RequestEvmFaucetRequest request)
```

Request funds from the CDP Faucet on supported EVM test networks.

Faucets are available for ETH, USDC, EURC, and `cbBTC` on Base Sepolia and Ethereum Sepolia, and for ETH only on Ethereum Hoodi.

To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested. These limits are applied at both the CDP User level and the blockchain address level. A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.

\| Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits| |:-----:|:-------------------------:|:--------------------------------:| | ETH | 0.0001 ETH | 0.1 ETH | | USDC | 1 USDC | 10 USDC | | EURC | 1 EURC | 10 EURC | | `cbBTC` | 0.0001 `cbBTC` | 0.001 `cbBTC` |

**Parameters:**

`request` - [RequestEvmFaucetRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/requests/RequestEvmFaucetRequest)

**Returns:**

[RequestEvmFaucetResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/types/RequestEvmFaucetResponse)

**Overload 2**

```java theme={null}
public RequestEvmFaucetResponse requestEvmFaucet(RequestEvmFaucetRequest request, RequestOptions requestOptions)
```

Request funds from the CDP Faucet on supported EVM test networks.

Faucets are available for ETH, USDC, EURC, and `cbBTC` on Base Sepolia and Ethereum Sepolia, and for ETH only on Ethereum Hoodi.

To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested. These limits are applied at both the CDP User level and the blockchain address level. A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.

\| Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits| |:-----:|:-------------------------:|:--------------------------------:| | ETH | 0.0001 ETH | 0.1 ETH | | USDC | 1 USDC | 10 USDC | | EURC | 1 EURC | 10 EURC | | `cbBTC` | 0.0001 `cbBTC` | 0.001 `cbBTC` |

**Parameters:**

`request` - [RequestEvmFaucetRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/requests/RequestEvmFaucetRequest)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

[RequestEvmFaucetResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/types/RequestEvmFaucetResponse)

### `requestSolanaFaucet`

**Overload 1**

```java theme={null}
public RequestSolanaFaucetResponse requestSolanaFaucet(RequestSolanaFaucetRequest request)
```

Request funds from the CDP Faucet on Solana devnet.

Faucets are available for SOL, USDC, and CBTUSD.

To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested. These limits are applied at both the CDP Project level and the blockchain address level. A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.

\| Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits| |:-----: |:-------------------------:|:--------------------------------:| | SOL | 0.00125 SOL | 0.0125 SOL | | USDC | 1 USDC | 10 USDC | | CBTUSD | 1 CBTUSD | 10 CBTUSD |

**Parameters:**

`request` - [RequestSolanaFaucetRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/requests/RequestSolanaFaucetRequest)

**Returns:**

[RequestSolanaFaucetResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/types/RequestSolanaFaucetResponse)

**Overload 2**

```java theme={null}
public RequestSolanaFaucetResponse requestSolanaFaucet(RequestSolanaFaucetRequest request, RequestOptions requestOptions)
```

Request funds from the CDP Faucet on Solana devnet.

Faucets are available for SOL, USDC, and CBTUSD.

To prevent abuse, we enforce rate limits within a rolling 24-hour window to control the amount of funds that can be requested. These limits are applied at both the CDP Project level and the blockchain address level. A single blockchain address cannot exceed the specified limits, even if multiple users submit requests to the same address.

\| Token | Amount per Faucet Request |Rolling 24-hour window Rate Limits| |:-----: |:-------------------------:|:--------------------------------:| | SOL | 0.00125 SOL | 0.0125 SOL | | USDC | 1 USDC | 10 USDC | | CBTUSD | 1 CBTUSD | 10 CBTUSD |

**Parameters:**

`request` - [RequestSolanaFaucetRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/requests/RequestSolanaFaucetRequest)

`requestOptions` - [RequestOptions](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/core/RequestOptions)

**Returns:**

[RequestSolanaFaucetResponse](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/faucets/types/RequestSolanaFaucetResponse)
