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

# CreateSwapQuoteResponseTransaction

> CreateSwapQuoteResponseTransaction API reference.

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

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

## Method Details

### `getTo`

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

**Returns:**

`String` - The 0x-prefixed address of the contract to call.

### `getData`

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

**Returns:**

`String` - The hex-encoded call data to send to the contract.

### `getGas`

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

**Returns:**

`String` - The estimated gas limit that should be used to send the transaction to guarantee settlement.

### `getGasPrice`

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

**Returns:**

`String` - The gas price, in Wei, that should be used to send the transaction. For EIP-1559 transactions, this value should be seen as the `maxFeePerGas` value. The transaction should be sent with this gas price to guarantee settlement.

### `getValue`

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

**Returns:**

`String` - The value of the transaction in Wei.

### `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 CreateSwapQuoteResponseTransaction.ToStage builder()
```

**Returns:**

[CreateSwapQuoteResponseTransaction](/sdks/cdp-sdks-v2/java/com/coinbase/cdp/types/CreateSwapQuoteResponseTransaction).`ToStage`
