> For the complete documentation index, see [llms.txt](https://gitbook.roboqo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://gitbook.roboqo.com/instances/solana-transaction.md).

# Solana Transaction

## SolanaTransaction Object Documentation

The `SolanaTransaction` class represents a Solana blockchain transaction within the Roboqo platform. It provides methods to track transaction confirmation status, retrieve transaction details, and associate transactions with positions.

***

### Methods

#### `getPosition`

**Description**\
Retrieves the position associated with this transaction.

**Signature**

```typescript
public getPosition(): SolanaPosition
```

**Parameters**

* None.

**Returns**

* `SolanaPosition`: A `SolanaPosition` instance associated with this transaction.

***

#### `isLanded`

**Description**\
Waits until the transaction reaches the specified confirmation level.

**Signature**

```typescript
public async isLanded(confirmationLevel: ConfirmationLevel = "confirmed"): Promise<TransactionUpdate>
```

**Parameters**

* `confirmationLevel` (`ConfirmationLevel`, optional): The required confirmation level. Defaults to `"confirmed"`.

**Returns**

* `Promise<TransactionUpdate>`: Resolves with the transaction update when the transaction reaches the required confirmation level.

**Throws**

* `Error`: If the transaction times out.

***

#### `getSignature`

**Description**\
Retrieves the transaction signature.

**Signature**

```typescript
public getSignature(): string
```

**Parameters**

* None.

**Returns**

* `string`: The transaction signature.

***

#### `getTransaction`

**Description**\
Fetches the full transaction details from the Solana blockchain.

**Signature**

```typescript
public async getTransaction(): Promise<RoboqoTransaction>
```

**Parameters**

* None.

**Returns**

* `Promise<RoboqoTransaction>`: The transaction details wrapped in a `RoboqoTransaction` instance.

**Throws**

* `Error`: If the transaction cannot be retrieved or is not found.
