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