POST
/
api
/
v1
/
developer
/
wallet
/
transactions
Transactions
curl --request POST \
  --url https://api.allium.so/api/v1/developer/wallet/transactions \
  --header 'X-API-KEY: <api-key>'
{
  "items": [
    {
      "id": "<string>",
      "type": 123,
      "address": "<string>",
      "chain": "<string>",
      "hash": "<string>",
      "index": 123,
      "within_block_order_key": 123,
      "block_timestamp": "2023-11-07T05:31:56Z",
      "block_number": 123,
      "block_hash": "<string>",
      "fee": {
        "raw_amount": "<string>",
        "amount_str": "<string>",
        "amount": 123
      },
      "labels": [
        "<string>"
      ],
      "from_address": "<string>",
      "to_address": "<string>",
      "asset_transfers": [
        {
          "transfer_type": "sent",
          "transaction_hash": "<string>",
          "log_index": 123,
          "from_address": "<string>",
          "to_address": "<string>",
          "asset": {
            "type": "native",
            "address": "<string>",
            "name": "<string>",
            "symbol": "<string>",
            "decimals": 123,
            "token_id": "<string>"
          },
          "amount": {
            "raw_amount": "<string>",
            "amount_str": "<string>",
            "amount": 123
          }
        }
      ],
      "activities": [
        {
          "type": "asset_approval",
          "asset": {
            "type": "native",
            "address": "<string>",
            "name": "<string>",
            "symbol": "<string>",
            "decimals": 123,
            "token_id": "<string>"
          },
          "transaction_hash": "<string>",
          "log_index": 123,
          "trace_index": 123,
          "contract_address": "<string>",
          "spender_address": "<string>",
          "approved_amount": {
            "raw_amount": "<string>",
            "amount_str": "<string>",
            "amount": 123
          },
          "status": "approved",
          "granularity": "token"
        }
      ]
    }
  ],
  "cursor": "<string>"
}

Each item in the response represents a transaction, and includes a list of activities, asset transfers and labels for the transaction.

Supported Chains

Feature Support by Chain

The following table lists the features we support for each chain.

FeatureEVMSolanaBitcoin
HistorySince genesisSince 2022-01-01Since genesis
Asset transfers
Activities
Labels

Supported Activities by Chain

The following table lists the activity variants we support for each chain.

ActivityTypeEVMSolanaBitcoin
Asset Approvalasset_approvalN/A
Asset Bridgeasset_bridgeN/A
DEX Tradedex_trade
Liquidity Pool Burndex_liquidity_pool_burn
Liquidity Pool Mintdex_liquidity_pool_mint
NFT Tradenft_trade✅ (only Magic Eden v2 trades)

Authorizations

X-API-KEY
string
header
required

Response

200
application/json

Successful Response

The response is of type object.