# Last transaction of the address

The method allows you to get the last transaction of the address.

## 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="https://199856430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy7yrGizyjjV5OmCw3DcE%2Fuploads%2Fgit-blob-1f2d9234b6e67b38ab6c44f8308d04edf101a007%2Fopenapi.json?alt=media" path="/api-gateway/addresses/last-transaction" method="post" %}
[openapi.json](https://199856430-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fy7yrGizyjjV5OmCw3DcE%2Fuploads%2Fgit-blob-1f2d9234b6e67b38ab6c44f8308d04edf101a007%2Fopenapi.json?alt=media)
{% endopenapi %}
