v1

latestOpenAPI 3.1.02026-07-26165182724.7 KB

Get Account Statement

Get a list of transactions associated with this account

post/wallets/get/account/statement

Headers

api-keystring required

Your Striga API key

Authorizationstring required

Request body

userIdstring required

Unique Id of the user for whom this wallet is being created

accountIdstring required

Unique Id of an account belonging to any wallet of this user

startDatestring date-time required

Format as a UNIX Epoch timestamp with ms precision

endDatestring date-time required

Format as a UNIX Epoch timestamp with ms precision

pageinteger required

Page number

limitinteger

This parameter specifies the maximum number of results to be returned, Please note that the maximum limit is capped at 100 for each request.

Response

200

countinteger
totalinteger

Example response

{
  "transactions": [
    {
      "id": "abde6359-3a46-4e16-b6bb-202ab17eb58d",
      "accountId": "244337fcf5b13ff40f7780bdd3e66d30",
      "syncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "sourceSyncedOwnerId": "104894c7-95fc-4dde-97dd-cb25b2587b91",
      "credit": "200000000000000000",
      "timestamp": "2024-09-10T07:17:08.776Z",
      "txType": "ON_CHAIN_DEPOSIT_CONFIRMED",
      "memo": "0.2 POL CONFIRMED 0xaf1be0345e8ed30b955fead958df09401eb681f1708e7e304c081b614e6b9012",
      "currency": "POL",
      "exchangeRate": "0.35",
      "balanceBefore": {
        "amount": "0",
        "balance": "0",
        "currency": "wei"
      },
      "balanceAfter": {
        "amount": "200000000000000000",
        "balance": "200000000000000000",
        "currency": "wei"
      },
      "blockchainSourceAddress": "0x54d03EC0C462e9a01F77579C090cdE0FC2617817",
      "txHash": "0xaf1be0345e8ed30b955fead958df09401eb681f1708e7e304c081b614e6b9012",
      "blockchainDepositAddress": "0x0C4678ce91a15e7497189099e54F2bd07cf7A514",
      "blockchainConfirmations": 1,
      "blockchainTransactionAmount": "200000000000000000",
      "blockchainNetwork": "Polygon Testnet Amoy"
    }
  ],
  "count": 2,
  "total": 2
}