> ## 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.

# SendEvmAssetWithEndUserAccountRequest

> SendEvmAssetWithEndUserAccountRequest API reference.

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

```java theme={null}
public final class SendEvmAssetWithEndUserAccountRequest extends Object
```

## Method Details

### `getIdempotencyKey`

```java theme={null}
public Optional<String> getIdempotencyKey()
```

**Returns:**

`Optional<String>` - An optional string request header for making requests safely retryable. When included, duplicate requests with the same key will return identical responses. Refer to our [Idempotency docs](https://docs.cdp.coinbase.com/api-reference/v2/idempotency) for more information on using idempotency keys.

### `getDeveloperAuth`

```java theme={null}
public Optional<String> getDeveloperAuth()
```

**Returns:**

`Optional<String>` - A JWT signed using your Wallet Secret, encoded in base64. Refer to the [Generate Wallet Token](https://docs.cdp.coinbase.com/api-reference/v2/authentication#2-generate-wallet-token) section of our Authentication docs for more details on how to generate your Wallet Token.

### `getProjectId`

```java theme={null}
public Optional<String> getProjectId()
```

**Returns:**

`Optional<String>` - The ID of the CDP Project. Required for end users authenticated using custom auth (i.e. a non-CDP JWT provider).

### `getTo`

```java theme={null}
public BlockchainAddress getTo()
```

**Returns:**

[BlockchainAddress](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/BlockchainAddress) - The 0x-prefixed address of the recipient.

### `getAmount`

```java theme={null}
public String getAmount()
```

**Returns:**

`String` - The amount of USDC to send as a decimal string (e.g., "1.5" or "25.50").

### `getNetwork`

```java theme={null}
public SendEvmAssetWithEndUserAccountRequestNetwork getNetwork()
```

**Returns:**

[SendEvmAssetWithEndUserAccountRequestNetwork](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/enduseraccounts/types/SendEvmAssetWithEndUserAccountRequestNetwork) - The EVM network to send USDC on.

### `getUseCdpPaymaster`

```java theme={null}
public Optional<Boolean> getUseCdpPaymaster()
```

**Returns:**

`Optional<Boolean>` - Whether to use CDP Paymaster to sponsor gas fees. Only applicable for EVM Smart Accounts. When true, the transaction gas will be paid by the Paymaster, allowing users to send USDC without holding native gas tokens. Ignored for EOA accounts. Cannot be used together with `paymasterUrl`.

### `getPaymasterUrl`

```java theme={null}
public Optional<Url> getPaymasterUrl()
```

**Returns:**

`Optional`\<[Url](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/Url)> - Optional custom Paymaster URL to use for gas sponsorship. Only applicable for EVM Smart Accounts. This allows you to use your own Paymaster service instead of CDP's Paymaster. Cannot be used together with `useCdpPaymaster`.

### `getPaymasterContext`

```java theme={null}
public Optional<PaymasterContext> getPaymasterContext()
```

**Returns:**

`Optional`\<[PaymasterContext](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/PaymasterContext)>

### `getWalletSecretId`

```java theme={null}
public Optional<String> getWalletSecretId()
```

**Returns:**

`Optional<String>` - Required when not using delegated signing. The ID of the Temporary Wallet Secret that was used to sign the X-Wallet-Auth Header.

### `equals`

```java theme={null}
public boolean equals(Object other)
```

**Overrides:**

`[equals](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals\(java.lang.Object\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Parameters:**

`other` - `Object`

**Returns:**

`boolean`

### `getAdditionalProperties`

```java theme={null}
public Map<String,Object> getAdditionalProperties()
```

**Returns:**

`Map<String,Object>`

### `hashCode`

```java theme={null}
public int hashCode()
```

**Overrides:**

`[hashCode](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`int`

### `toString`

```java theme={null}
public String toString()
```

**Overrides:**

`[toString](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#toString\(\) "class or interface in java.lang")` in class `[Object](https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html "class or interface in java.lang")`

**Returns:**

`String`

### `builder`

```java theme={null}
public static SendEvmAssetWithEndUserAccountRequest.ToStage builder()
```

**Returns:**

[SendEvmAssetWithEndUserAccountRequest](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/resources/enduseraccounts/requests/SendEvmAssetWithEndUserAccountRequest).`ToStage`
