Get Transaction Accounting

This endpoint returns enhanced Transaction History enriched with Accounting data for a single or multiple wallets/contracts. For multiple wallets, include a comma-separate list of 0x addresses in the query. Accounting data enhancements include the following OpenPool calculations:

  • Cash Flow - If applicable, any value movement in/out of your wallet associated with the transaction
  • Gas Fees - Gas Fees paid, calculated as of the transaction date
  • Accounting Method - Cost Basis and Realized P&L accounting methodology (FIFO, LIFO, Weighted Average Cost) can be selected using the cost_method parameter.
    • Cost Basis is inclusive of gas fees paid in the transaction.
    • The selected accounting method is used to calculate cost basis for Realized P&L, which matches the tokens realized to a specific cost based on the relevant accounting method.
    • Unrealized P&L is calculated based on potential gain/loss versus the average cost of the token inventory held.
  • Realization Events - Realized PnL, if applicable, associated with the transaction. Realization events are defined in the Glossary.
  • Currency - Accounting data can be calculated and shown in the currency of your choice using the currency parameter. Choose from US Dollar, ETH, MATIC, AVAX or xDAI.

Successful Query Example

Single Wallet

curl --request GET \
     --url 'https://api.openpool.co/wallet/accounting_history/?wallet=0x59a5493513ba2378ed57ae5ecfb8a027e9d80365' \
     --header 'X-API-KEY: <insert_api_key>' \
     --header 'accept: application/json'

Multiple Wallets

curl --request GET \
     --url 'https://api.openpool.co/wallet/accounting_history/?wallet=0x59a5493513ba2378ed57ae5ecfb8a027e9d80365%2C0x3b3525f60eeea4a1ef554df5425912c2a532875d' \
     --header 'X-API-KEY: <insert_api_key>' \
     --header 'accept: application/json'

Successful Response Example

{
  "count": 1581,
  "next": "http://api.openpool.co/wallet/accounting_history/?page=2&wallet=0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
  "previous": null,
  "results": [
    {
      "id": "bal_3KLgWRa9wGfUm5knw2Ljya",
      "tx_id": "tx_niscCLZ7KyAvgqnWRv3tR4",
      "hash": "0x71a64d3c2ac2825815dacbe337dbd2f5977541e539b2ff8999f54ec618e166de",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-04T01:58:26Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "1.0850",
      "tx_amount": "1.0850",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_KciJ6kQmJqg3n67HLW4oYr",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "781.4258",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_niscCLZ7KyAvgqnWRv3tR4",
      "average_cost": "781.4258",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_6mcoatsbeyhjMds3qEeaha",
      "tx_id": "tx_F8vHZcAUJ5c7zg2zhttMjQ",
      "hash": "0x53d74bf01caa86b03d2a5d49e9c48475ceb4ccaaad1fbd62c54b915ecf5ef9a7",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-05T18:39:11Z",
      "token": {
        "id": "token_iZSDKNtAr6Me3586twEvw7",
        "asset": {
          "id": "asset_5eHM6xdxoeAcKC5BB7AQE2",
          "name": "0x",
          "symbol": "ZRX",
          "slug": "0x",
          "is_debt": false
        },
        "token_id": "0xe41d2489571d322189246dafa5ebde1f4699f498_1",
        "address": "0xe41d2489571d322189246dafa5ebde1f4699f498",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "492.2689",
      "tx_amount": "492.2689",
      "fee": "0.0005",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_F8vHZcAUJ5c7zg2zhttMjQ",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_cyuq5v9D9Fn86eChnMZUMQ",
      "tx_id": "tx_F8vHZcAUJ5c7zg2zhttMjQ",
      "hash": "0x53d74bf01caa86b03d2a5d49e9c48475ceb4ccaaad1fbd62c54b915ecf5ef9a7",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-05T18:39:11Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "0.0845",
      "tx_amount": "-1.0000",
      "fee": "0.0005",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_dYhuXYFq3SrVr9HuEniNGF",
        "method": "FIFO",
        "realized_cost": "781.43",
        "realized_total_basis": "781.43",
        "average_cost": "781.4258",
        "realization": "-3.52",
        "realization_details": "  1.000000 @781.425780",
        "realization_holding_periods": "1",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_F8vHZcAUJ5c7zg2zhttMjQ",
      "average_cost": "781.4258",
      "realization": "-3.52",
      "realized_cost": "781.43",
      "realized_total_basis": "781.43"
    },
    {
      "id": "bal_5D9TwEq6KrS8n9WYKchcDJ",
      "tx_id": "tx_kTQUt8u53NALLjAMFZjCn2",
      "hash": "0x8588c789486b587902565580059533ac6935b80cbfe06d04e320d100c5c93994",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-06T21:05:41Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "10.0845",
      "tx_amount": "10.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_HYJfg7zySUkgJWZTs6WwjP",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "806.8512",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_kTQUt8u53NALLjAMFZjCn2",
      "average_cost": "806.8512",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_LRvMLzuwdTnf3npGnJeuQD",
      "tx_id": "tx_ksADVQckvroVp6P3B4nrkr",
      "hash": "0xc4a259226632f70a883de648d15cc3876e6ec183faa3d75a85be67bb65ac30ac",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:00:56Z",
      "token": {
        "id": "token_iZSDKNtAr6Me3586twEvw7",
        "asset": {
          "id": "asset_5eHM6xdxoeAcKC5BB7AQE2",
          "name": "0x",
          "symbol": "ZRX",
          "slug": "0x",
          "is_debt": false
        },
        "token_id": "0xe41d2489571d322189246dafa5ebde1f4699f498_1",
        "address": "0xe41d2489571d322189246dafa5ebde1f4699f498",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "2760.6142",
      "tx_amount": "2268.3452",
      "fee": "0.0005",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_ksADVQckvroVp6P3B4nrkr",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_QUEBxLyxot89coPQcGpNgH",
      "tx_id": "tx_ksADVQckvroVp6P3B4nrkr",
      "hash": "0xc4a259226632f70a883de648d15cc3876e6ec183faa3d75a85be67bb65ac30ac",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:00:56Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "5.0839",
      "tx_amount": "-5.0000",
      "fee": "0.0005",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_Qah7eFtSknTgnixhDx8rK2",
        "method": "FIFO",
        "realized_cost": "806.63",
        "realized_total_basis": "4033.16",
        "average_cost": "807.0673",
        "realization": "-311.53",
        "realization_details": "  0.085000 @781.425780,   4.915000 @807.067329",
        "realization_holding_periods": "5, 2",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_ksADVQckvroVp6P3B4nrkr",
      "average_cost": "807.0673",
      "realization": "-311.53",
      "realized_cost": "806.63",
      "realized_total_basis": "4033.16"
    },
    {
      "id": "bal_QCvZZnyBfkXuJ75Kz6Cs3p",
      "tx_id": "tx_c87yULyVuiQxZQ2odzsJ3Q",
      "hash": "0x0e0b76f320ff2d3fdc4596ee8863b24dbd55d7eb77b4ebebff41a4c1909c0ae9",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:05:58Z",
      "token": {
        "id": "token_iZSDKNtAr6Me3586twEvw7",
        "asset": {
          "id": "asset_5eHM6xdxoeAcKC5BB7AQE2",
          "name": "0x",
          "symbol": "ZRX",
          "slug": "0x",
          "is_debt": false
        },
        "token_id": "0xe41d2489571d322189246dafa5ebde1f4699f498_1",
        "address": "0xe41d2489571d322189246dafa5ebde1f4699f498",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "3667.9564",
      "tx_amount": "907.3422",
      "fee": "0.0005",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_c87yULyVuiQxZQ2odzsJ3Q",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_WGuTX4kyoP3CRdx2pQ6NG6",
      "tx_id": "tx_c87yULyVuiQxZQ2odzsJ3Q",
      "hash": "0x0e0b76f320ff2d3fdc4596ee8863b24dbd55d7eb77b4ebebff41a4c1909c0ae9",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:05:58Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "3.0834",
      "tx_amount": "-2.0000",
      "fee": "0.0005",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_dtV7tRLzApxvp959T6N3mm",
        "method": "FIFO",
        "realized_cost": "807.07",
        "realized_total_basis": "1614.13",
        "average_cost": "807.0673",
        "realization": "-125.49",
        "realization_details": "  2.000000 @807.067329",
        "realization_holding_periods": "2",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_c87yULyVuiQxZQ2odzsJ3Q",
      "average_cost": "807.0673",
      "realization": "-125.49",
      "realized_cost": "807.07",
      "realized_total_basis": "1614.13"
    },
    {
      "id": "bal_2mUW6ZBzXskiPqpcky8RDU",
      "tx_id": "tx_Ab4dihqgLqNkXEpcrgXjbJ",
      "hash": "0xeb847712b6784ea8c42f9e969b9ef504132cc7454fc430cdafa602f2c52409af",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:42:30Z",
      "token": {
        "id": "token_iZSDKNtAr6Me3586twEvw7",
        "asset": {
          "id": "asset_5eHM6xdxoeAcKC5BB7AQE2",
          "name": "0x",
          "symbol": "ZRX",
          "slug": "0x",
          "is_debt": false
        },
        "token_id": "0xe41d2489571d322189246dafa5ebde1f4699f498_1",
        "address": "0xe41d2489571d322189246dafa5ebde1f4699f498",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "5028.9635",
      "tx_amount": "1361.0071",
      "fee": "0.0005",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_Ab4dihqgLqNkXEpcrgXjbJ",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_jMrwWqziZNSusr92WSe8b6",
      "tx_id": "tx_Ab4dihqgLqNkXEpcrgXjbJ",
      "hash": "0xeb847712b6784ea8c42f9e969b9ef504132cc7454fc430cdafa602f2c52409af",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T14:42:30Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "0.0828",
      "tx_amount": "-3.0000",
      "fee": "0.0005",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_bhEeRv8fWE5hJ6p6ipLJub",
        "method": "FIFO",
        "realized_cost": "807.07",
        "realized_total_basis": "2421.20",
        "average_cost": "807.0673",
        "realization": "-188.23",
        "realization_details": "  3.000000 @807.067329",
        "realization_holding_periods": "2",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_Ab4dihqgLqNkXEpcrgXjbJ",
      "average_cost": "807.0673",
      "realization": "-188.23",
      "realized_cost": "807.07",
      "realized_total_basis": "2421.20"
    },
    {
      "id": "bal_BoQZsCFhGCUzpzfk9EEJPi",
      "tx_id": "tx_HiBQyNvNG6M6P9dTg2Rqbx",
      "hash": "0x48973f838e5ed5031a586551aef0dafb95b140b4420b3aa17549897cc558d3b9",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-05-09T15:57:12Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "40.0828",
      "tx_amount": "40.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_4RbiFEpCUXbXHvwoxzxYi5",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "744.4579",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_HiBQyNvNG6M6P9dTg2Rqbx",
      "average_cost": "744.4579",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_ctHdPmYX9bJwmGaF68qKKd",
      "tx_id": "tx_VvxjDmRrG3QgyhcyEkV8gL",
      "hash": "0xa0c78a4ff9f1c3b49b8ab5cfe422c166a7eb928dd0444b3f7a97153934be7e24",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-01T12:30:41Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "45.0828",
      "tx_amount": "5.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_d7GFtPWv4wCJokLAMBk7Sy",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "725.3017",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_VvxjDmRrG3QgyhcyEkV8gL",
      "average_cost": "725.3017",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_F9AjqHPbAtr3R2APXcpjUr",
      "tx_id": "tx_XJKoz5DP76FcnstHZA289s",
      "hash": "0x9201e7c8da1db775fc1156ce7b3cf179a36c6d6fd8b1d6835f49b97bf113a00e",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-13T02:25:16Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "36.4457",
      "tx_amount": "-8.6370",
      "fee": "0.0001",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_FjUsXhtiQRyBQ64aD9SzSn",
        "method": "FIFO",
        "realized_cost": "744.94",
        "realized_total_basis": "6434.09",
        "average_cost": "720.6476",
        "realization": "-2158.10",
        "realization_details": "  0.085000 @807.067329,   8.552027 @744.324826",
        "realization_holding_periods": "37, 34",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_XJKoz5DP76FcnstHZA289s",
      "average_cost": "720.6476",
      "realization": "-2158.10",
      "realized_cost": "744.94",
      "realized_total_basis": "6434.09"
    },
    {
      "id": "bal_CV6cdnmrJnMrLCRVK6pzMF",
      "tx_id": "tx_XCf8trwcL9icdtPHhnd9ef",
      "hash": "0x9133afcc07c23827c7f54fa5615bae890b6f380de5322524b5f8c41e8e4b9c86",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-13T02:47:23Z",
      "token": {
        "id": "token_WumAvvfXxnmDiKMxCwDLag",
        "asset": {
          "id": "asset_8qfq433ZcTKjhNS6hbT6xa",
          "name": "LoomToken",
          "symbol": "LOOM",
          "slug": "loomtoken",
          "is_debt": false
        },
        "token_id": "0xa4e8c3ec456107ea67d3075bf9e3df3a75823db0_1",
        "address": "0xa4e8c3ec456107ea67d3075bf9e3df3a75823db0",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "18652.4170",
      "tx_amount": "18652.4170",
      "fee": "0.0000",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_XCf8trwcL9icdtPHhnd9ef",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_M5vUBgAh2WaF9Y5aE8tn4q",
      "tx_id": "tx_ACaVcNrdBLS6w9YxirJ7hu",
      "hash": "0xa7ecf58e55dd8944dd5f048977b21c98e6eda279e251d90c57284e6d016d85d1",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-14T01:40:10Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "4.2660",
      "tx_amount": "-32.1795",
      "fee": "0.0002",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_a73WkFxmRe36VKbeuGepUi",
        "method": "FIFO",
        "realized_cost": "740.40",
        "realized_total_basis": "23825.73",
        "average_cost": "571.7271",
        "realization": "-8545.01",
        "realization_details": " 31.447973 @744.324826,   0.731500 @571.727113",
        "realization_holding_periods": "35, 12",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_ACaVcNrdBLS6w9YxirJ7hu",
      "average_cost": "571.7271",
      "realization": "-8545.01",
      "realized_cost": "740.40",
      "realized_total_basis": "23825.73"
    },
    {
      "id": "bal_9ZoJWBFaZB7g9Yjs3eGtFS",
      "tx_id": "tx_Mg6EmDMVTtLGR39fQHDA8m",
      "hash": "0x52eadd93fd4ca65819080f5adf09e5c44221e92533bfc0500f9bee7099c92971",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-15T19:11:39Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "3.2658",
      "tx_amount": "-1.0000",
      "fee": "0.0002",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_RNmSEJNTgD5apMLD9tWRyZ",
        "method": "FIFO",
        "realized_cost": "571.73",
        "realized_total_basis": "571.73",
        "average_cost": "571.7271",
        "realization": "-55.08",
        "realization_details": "  1.000000 @571.727113",
        "realization_holding_periods": "14",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_Mg6EmDMVTtLGR39fQHDA8m",
      "average_cost": "571.7271",
      "realization": "-55.08",
      "realized_cost": "571.73",
      "realized_total_basis": "571.73"
    },
    {
      "id": "bal_JfaLV3xjfrPLGHUKjoNgg3",
      "tx_id": "tx_37ys2Tw3o5SaBuDxQQkZQv",
      "hash": "0x3f8cd829dc5d8a734f9bdd7c5d534518fc7693c3c194669518267029775e3b0a",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-15T19:36:42Z",
      "token": {
        "id": "token_WumAvvfXxnmDiKMxCwDLag",
        "asset": {
          "id": "asset_8qfq433ZcTKjhNS6hbT6xa",
          "name": "LoomToken",
          "symbol": "LOOM",
          "slug": "loomtoken",
          "is_debt": false
        },
        "token_id": "0xa4e8c3ec456107ea67d3075bf9e3df3a75823db0_1",
        "address": "0xa4e8c3ec456107ea67d3075bf9e3df3a75823db0",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "20798.7560",
      "tx_amount": "2146.3390",
      "fee": "0.0000",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_37ys2Tw3o5SaBuDxQQkZQv",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_mmQiqjqEDSUeQxTeqVHtHw",
      "tx_id": "tx_gfVeTF7rDexM6ysx6UxeXW",
      "hash": "0x2cc5477f42ba7e0f7bbfa97c9433ee1cea1a729d9fd3b471f8f6224d489c3b4c",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-16T11:25:01Z",
      "token": {
        "id": "token_2sZdjkzfC6vNEak7hLfX2q",
        "asset": {
          "id": "asset_KJgATygMJmCkAhy9qgfu5f",
          "name": "An Etheal Promo",
          "symbol": "HEALP",
          "slug": "an-etheal-promo",
          "is_debt": false
        },
        "token_id": "0x7b2f9706cd8473b4f5b7758b0171a9933fc6c4d6_1",
        "address": "0x7b2f9706cd8473b4f5b7758b0171a9933fc6c4d6",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "911.0000",
      "tx_amount": "911.0000",
      "fee": "0.0000",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_gfVeTF7rDexM6ysx6UxeXW",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_m5Gr884gSNDJjmdQjN8KKX",
      "tx_id": "tx_NiX9QUUoQoBsuAruXbnkcQ",
      "hash": "0xef471d03b4b86f6261cf168366348708ca5d8d6ab3620a113382257211c3108b",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-21T02:41:03Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "5.2658",
      "tx_amount": "2.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_Ms2GRADzn83xprKciqjUza",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "555.7969",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_NiX9QUUoQoBsuAruXbnkcQ",
      "average_cost": "555.7969",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_azXdydyuQ9M52KKzqe3Qv8",
      "tx_id": "tx_Vj8DufxvpkSejTRXV9N3X2",
      "hash": "0x081f9e38ebb0fd16b1e4c092949a5d678ed08d2a9d163bd2c5e7146c8b3634d0",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-06-28T21:19:54Z",
      "token": {
        "id": "token_eF7GojkLeHGTpKWrAmGzQU",
        "asset": {
          "id": "asset_GDCRc4KSpY7qaKhi6qB4nq",
          "name": "ENDO.network Promo Token",
          "symbol": "ETP",
          "slug": "endo.network-promo-token",
          "is_debt": false
        },
        "token_id": "0xf0df09387693690b1e00d71eabf5e98e7955cff4_1",
        "address": "0xf0df09387693690b1e00d71eabf5e98e7955cff4",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "16.0000",
      "tx_amount": "16.0000",
      "fee": "0.0000",
      "price": null,
      "cash_flow": null,
      "fee_cash_flow": null,
      "basis": null,
      "currency": "USD",
      "tx": "tx_Vj8DufxvpkSejTRXV9N3X2",
      "average_cost": null,
      "realization": null,
      "realized_cost": null,
      "realized_total_basis": null
    },
    {
      "id": "bal_ALgfJbj5mKzMdQukVqViE9",
      "tx_id": "tx_2d2Bsyyh94RXZhq8BHSjSx",
      "hash": "0x35dc8ec753070b8f14b2206b1449701c159f23038ce7c4257633879ce1dce707",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-07-02T01:06:23Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "6.4358",
      "tx_amount": "1.1700",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_B3Q2truvhw4cnJx9XToLmg",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "536.1501",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_2d2Bsyyh94RXZhq8BHSjSx",
      "average_cost": "536.1501",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_RkWXbuzgDEBLZePkFhqpDV",
      "tx_id": "tx_BLRfRcphyZ3bdurChQz8Jm",
      "hash": "0x9531de8b83a84d20dff0bf668c3ec1965011ee087323ee516bf4781abf3f68f3",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-07-12T14:35:26Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "26.4358",
      "tx_amount": "20.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_JN6ThhenxRwzzP4WJMji24",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "465.7038",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_BLRfRcphyZ3bdurChQz8Jm",
      "average_cost": "465.7038",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_3UforwAHKpMC2BVWGEMBNJ",
      "tx_id": "tx_5H2efS6FGYyWQZ3ZxaZLhR",
      "hash": "0xdb1b789eaa5b3462efd8f74f4626316d326a5bc57bdbac8711f5c2b08da137d2",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-07-12T16:26:01Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "6.4295",
      "tx_amount": "-20.0000",
      "fee": "0.0063",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_gGZi9EtwjBENt9eKiq9BWM",
        "method": "FIFO",
        "realized_cost": "473.00",
        "realized_total_basis": "9460.09",
        "average_cost": "443.0254",
        "realization": "-599.58",
        "realization_details": "  3.268500 @571.727113,   2.000000 @529.763047,   1.170000 @447.680551,  13.561500 @443.025430",
        "realization_holding_periods": "41, 21, 10, 0",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_5H2efS6FGYyWQZ3ZxaZLhR",
      "average_cost": "443.0254",
      "realization": "-599.58",
      "realized_cost": "473.00",
      "realized_total_basis": "9460.09"
    },
    {
      "id": "bal_GmuCUvMAvFiTrWHipEA5LB",
      "tx_id": "tx_5H2efS6FGYyWQZ3ZxaZLhR",
      "hash": "0xdb1b789eaa5b3462efd8f74f4626316d326a5bc57bdbac8711f5c2b08da137d2",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-07-12T16:26:01Z",
      "token": {
        "id": "token_QfasPoXqZeiaJYZBkh5aug",
        "asset": {
          "id": "asset_foPtWLis8Gr48xQ3Jfa7jc",
          "name": "Augur",
          "symbol": "REP",
          "slug": "augur",
          "is_debt": false
        },
        "token_id": "0x1985365e9f78359a9b6ad760e32412f4a445e862_1",
        "address": "0x1985365e9f78359a9b6ad760e32412f4a445e862",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "275.4970",
      "tx_amount": "275.4970",
      "fee": "0.0063",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_Q4oRnsNaWjpxtSW22P5gnS",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "31.8144",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_5H2efS6FGYyWQZ3ZxaZLhR",
      "average_cost": "31.8144",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    },
    {
      "id": "bal_cBhXcAsZzcvjSnWSiyP2T7",
      "tx_id": "tx_Sq8fe9wNbydHCz7JcHPcxR",
      "hash": "0x5147ef3ae830a032cb7e75831301e577e4d2e392bc5d5575b645e7924ac813db",
      "wallet": "0x59a5493513ba2378ed57ae5ecfb8a027e9d80365",
      "timestamp": "2018-07-19T10:26:16Z",
      "token": {
        "id": "token_FirimyKxL56VwoUhUFkBKP",
        "asset": {
          "id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
          "name": "Ethereum",
          "symbol": "ETH",
          "slug": "ethereum",
          "is_debt": false
        },
        "token_id": "0x0000000000000000000000000000000000000000_1",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
      },
      "balance": "10.4295",
      "tx_amount": "4.0000",
      "fee": "0.0000",
      "price": "0.00000000",
      "cash_flow": "0.00000000",
      "fee_cash_flow": "0.00000000",
      "basis": {
        "id": "bas_WjXMR9S7xfJos9PQkjKtcQ",
        "method": "FIFO",
        "realized_cost": "0.00",
        "realized_total_basis": "0.00",
        "average_cost": "455.6574",
        "realization": "0.00",
        "realization_details": "",
        "realization_holding_periods": "",
        "currency": "USD",
        "price": "0.00000000",
        "cash_flow": "0.00000000",
        "fee_cash_flow": "0.00000000"
      },
      "currency": "USD",
      "tx": "tx_Sq8fe9wNbydHCz7JcHPcxR",
      "average_cost": "455.6574",
      "realization": "0.00",
      "realized_cost": "0.00",
      "realized_total_basis": "0.00"
    }
  ]
}
Language
Authorization
Click Try It! to start a request and see the response here!