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

# EvmEip7702DelegationOperation

> EvmEip7702DelegationOperation API reference.

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

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

## Method Details

### `getDelegationOperationId`

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

**Returns:**

`String` - The unique identifier for the delegation operation.

### `getStatus`

```java theme={null}
public EvmEip7702DelegationOperationStatus getStatus()
```

**Returns:**

[EvmEip7702DelegationOperationStatus](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/EvmEip7702DelegationOperationStatus) - The current status of the delegation operation. UNSPECIFIED means the status has not been set. PENDING means the operation has been created but not yet submitted. SUBMITTED means the operation has been submitted to the network. COMPLETED means the operation has completed successfully. FAILED means the operation has failed.

### `getTransactionHash`

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

**Returns:**

`Optional<String>` - The hash of the delegation transaction, if available. Present once the transaction has been submitted to the network.

### `getNetwork`

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

**Returns:**

[EvmEip7702DelegationNetwork](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/EvmEip7702DelegationNetwork)

### `getDelegateAddress`

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

**Returns:**

`Optional<String>` - The address the account has delegated to, if any. Only present when the account has an active delegation.

### `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 EvmEip7702DelegationOperation.DelegationOperationIdStage builder()
```

**Returns:**

[EvmEip7702DelegationOperation](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/EvmEip7702DelegationOperation).`DelegationOperationIdStage`
