# List Confirmed Transactions By Address Kaspa

This endpoint will list transactions by an attribute `address`. The transactions listed will detail additional information such as hash, time of creation in Unix timestamp, etc.

- **Endpoint:** `GET https://rest.cryptoapis.io/addresses-latest/kaspa/{network}/{address}/transactions`
- **Authentication:** `x-api-key` header
- **Credits cost:** 510 credits for 1 result by default; per blockchain: Kaspa: 918
- **Documentation page:** https://developers.cryptoapis.io/v-2.2024-12-12-175/RESTapis/address-latest-kaspa/list-confirmed-transactions-by-address-kaspa/get

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `network` | string | yes | Represents the name of the blockchain network used; blockchain networks are usually identical as technology and software, but they differ in data, e.g. - "mainnet" is the live network with actual data while networks like "testnet", "sepolia" are test networks. Allowed values: `mainnet`. |
| `address` | string | yes | String representation of the address |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `limit` | integer | no | Defines how many items should be returned in the response per page basis. |
| `startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |

## Responses

| Status | Description |
| --- | --- |
| 200 | The request has been successful. |
| 400 | 400 |
| 401 | 401 |
| 402 | 402 |
| 403 | 403 |
| 409 | The data provided seems to be invalid. |
| 415 | The selected Media Type is unavailable. The Content-Type header should be 'application/json'. |
| 422 | Your request body for POST requests must have a structure of { data: { item: [...properties] } } |
| 429 | The request limit has been reached. There can be maximum {requests} requests per {seconds} second(s) made. Please contact our team via email if you need more or upgrade your plan. |
| 500 | An unexpected server error has occurred, we are working to fix this. Please try again later and in case it occurs again please report it to our team via email. |

### Example 200 response

```json
{
  "apiVersion": "2024-12-12",
  "requestId": "601c1710034ed6d407996b30",
  "context": "yourExampleString",
  "data": {
    "limit": 50,
    "startingAfter": "5ca21f92cf5431000105d1a7",
    "hasMore": true,
    "nextStartingAfter": "5ca21f92cf5431000105d1a7",
    "sortingOrder": "ascending",
    "items": [
      {
        "blocksHashes": [
          "7f9a4f8e0826e6afe73df7d2e28134a6d796caec3bb81de94aa60966a8463533"
        ],
        "fee": {
          "amount": "0.123",
          "denomination": 100000000,
          "unit": "SOMPI"
        },
        "hash": "23e520dd6004712e0f81ca37d8da37245cdc6ab47386e4bd369ebe32bd427998",
        "id": "1c6205c801b61c3d9c46e6e6a28b643ed5fafad27d30c4c482c09b3914085b3e",
        "inputs": [
          {
            "address": "kaspa:qpamkvhgh0kzx50gwvvp5xs8ktmqutcy3dfs9dc3w7lm9rq0zs76vf959mmrp",
            "outputIndex": 1,
            "transactionId": "1c6205c801b61c3d9c46e6e6a28b643ed5fafad27d30c4c482c09b3914085b3e",
            "value": {
              "amount": "6173541265",
              "denomination": 100000000,
              "unit": "SOMPI"
            }
          }
        ],
        "outputs": [
          {
            "address": "kaspa:qpamkvhgh0kzx50gwvvp5xs8ktmqutcy3dfs9dc3w7lm9rq0zs76vf959mmrp",
            "value": {
              "amount": "6173541265",
              "denomination": 100000000,
              "unit": "SOMPI"
            }
          }
        ],
        "timestamp": 1742196610
      }
    ]
  }
}
```

### 200 response fields

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `apiVersion` | string | yes | Specifies the version of the API that incorporates this endpoint. |
| `requestId` | string | yes | Defines the ID of the request. The `requestId` is generated by Crypto APIs and it's unique for every request. |
| `context` | string | no | In batch situations the user can use the context to correlate responses with requests. This property is present regardless of whether the response was successful or returned as an error. `context` is specified by the user. |
| `data` | object | yes |  |
| `data.limit` | integer | yes | Defines how many items should be returned in the response per page basis. |
| `data.startingAfter` | string | no | Defines the id of the previous listed record id from which the current list should start from. |
| `data.hasMore` | boolean | yes | Defines whether or not there are more elements available after this set. |
| `data.nextStartingAfter` | string | no | Defines the id of the next page which the next list should start from. |
| `data.sortingOrder` | string | no | Defines what the sorting order is either ascending or descending. |
| `data.items` | array of object | yes |  |
| `data.items[].blocksHashes` | array of string | yes |  |
| `data.items[].fee` | object | no | Transaction fee details |
| `data.items[].fee.amount` | string | yes | Fee amount |
| `data.items[].fee.denomination` | integer | yes | Fee denomination |
| `data.items[].fee.unit` | string | yes | Fee unit |
| `data.items[].hash` | string | yes | String representation of the transaction hash |
| `data.items[].id` | string | yes | String representation of the transaction ID |
| `data.items[].inputs` | array of object | yes | Transaction inputs |
| `data.items[].inputs[].address` | string | no | Input address |
| `data.items[].inputs[].outputIndex` | integer | yes | Previous output index |
| `data.items[].inputs[].transactionId` | string | yes | Previous output transaction ID |
| `data.items[].inputs[].value` | object | yes | Input amount details |
| `data.items[].inputs[].value.amount` | string | yes | Amount value |
| `data.items[].inputs[].value.denomination` | integer | yes | Amount denomination |
| `data.items[].inputs[].value.unit` | string | yes | Amount unit |
| `data.items[].outputs` | array of object | yes | Transaction outputs |
| `data.items[].outputs[].address` | string | yes | Output address |
| `data.items[].outputs[].value` | object | yes | Output amount details |
| `data.items[].outputs[].value.amount` | string | yes | Amount value |
| `data.items[].outputs[].value.denomination` | integer | yes | Amount denomination |
| `data.items[].outputs[].value.unit` | string | yes | Amount unit |
| `data.items[].timestamp` | integer | yes | Timestamp of the transaction |
