# Address Transactions

The method allows you to get a list of transactions at the address.

## Filters

Filters are available:

* by transaction type: `withdrawal`, `deposit`
* by several statuses: `processed`, `error`, `rejected`, `pending`

## Pagination

Pagination is performed using the parameters `limit`, `offset`.

* `limit` - the number of items to display as a result of the request (no less than 100 and no more than 1000, by default 100)
* `offset` - the number of elements to skip

## Description of fields

| Field             | Type                                        | Description                                                    |
| ----------------- | ------------------------------------------- | -------------------------------------------------------------- |
| `id`              | `string`                                    | Transaction ID                                                 |
| `status`          | `enum(processed, error, rejected, pending)` | Transaction status                                             |
| `type`            | `enum(withdrawal, deposit)`                 | Transaction type                                               |
| `currrency`       | `string`                                    | Coin                                                           |
| `network`         | `string`                                    | Network                                                        |
| `addressFrom`     | `string`                                    | The address from which the coins were sent                     |
| `addressTo`       | `string`                                    | The address that received the coins                            |
| `amount`          | `string`                                    | Transaction amount                                             |
| `tx`              | `string`                                    | TX hash in the blockchain                                      |
| `feeCurrency`     | `string or null`                            | (When withdrawal) Commission Coin                              |
| `feeAmount`       | `string or null`                            | (When withdrawal) The amount of the commission                 |
| `feeAmountUSD`    | `string or null`                            | (When withdrawal) The amount of the commission in terms of USD |
| `Withdrawal`      | `string or null`                            | ID of the withdrawal in the system                             |
| `orphanDepositId` | `string or null`                            | ID of the orphan transaction in the system                     |
| `createdAt`       | `string`                                    | Date of transaction                                            |

{% openapi src="/files/sW3pCSavW8K5JCHRyMVw" path="/api-gateway/addresses/transactions" method="post" %}
[openapi.json](https://199856430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy7yrGizyjjV5OmCw3DcE%2Fuploads%2Fgit-blob-c16b91898f63e16257eb0e0b6bb8d49e7f547d73%2Fopenapi.json?alt=media)
{% endopenapi %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.onchainpay.io/api-reference/03addresses/post_transactions.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
