See How We Transform Your Tx Data
When you register your wallet on OpenPool, our powerful data processing infrastructure will automatically clean, normalize, tag and enrich your on-chain transactions with market and financial metrics including real-time pricing, cost basis and P&L. So sit back and relax while we do the heavy lifting.
Token Balances & Performance
This endpoint returns Current Token Balance, Cost and Performance data for one or more registered wallets, including Price, Balance, Value, Cost Basis, Realized PnL and Unrealized PnL. Use this endpoint for real-time pricing and Live or Historical P&L reporting for tokens.
{
"results": [
{
"id": "bal_2LWzUt7o3q8LFKegvtG7iD",
"wallet": "0x50ec05ade8280758e2077fcbc08d878d4aef79c3",
"token": {
"id": "token_FirimyKxL56VwoUhUFkBKP",
"asset": {
"id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
"name": "Ethereum",
"symbol": "ETH",
"slug": "ethereum"
},
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
},
"balance": 0.5274,
"price": 1648.7968405792355,
"value": 869.5754537214888,
"average_cost": 1256.68,
"unrealized_pnl": 206.8024217214888,
"total_realized_pnl": 1181.4189975,
"cost_method": "FIFO",
"currency": "USD"
}
]
}
Transaction Accounting
This endpoint returns your wallet’s Tx History, but enriched with financial data such as historical pricing, cost basis, realization events and associated P&Ls. Choose your preferred accounting method from FIFO, Weighted Average Cost and LIFO options.
{
"results": [
{
"id": "bal_7L5xY9RYUYuh5cYNEy4Tjw",
"tx_id": "tx_HdejZsPfSsofWw8W6fCGc2",
"hash": "0x92a5e797084ed29e718966a3a0754e6f7262d83c8e24be3bc6ce29e92a932a51",
"wallet": "0x31d3243cfb54b34fc9c73e1cb1137124bd6b13e1",
"timestamp": "2022-03-16T11:33:08Z",
"token": {
"id": "token_FirimyKxL56VwoUhUFkBKP",
"asset": {
"id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
"name": "Ethereum",
"symbol": "ETH",
"slug": "ethereum"
},
"token_id": "0x0000000000000000000000000000000000000000_1",
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
},
"balance": "0.9895",
"tx_amount": "-0.0100",
"fee": "0.0005",
"price": "2620.3639",
"cash_flow": "-26.2036",
"fee_cash_flow": "-1.1821",
"basis": {
"id": "bas_PNhYwXY3oyFHiMZZa8HUZD",
"method": "FIFO",
"realized_cost": "2620.36",
"realized_total_basis": "26.20",
"average_cost": "2620.36",
"realization": "0.00",
"realization_details": " 0.010000 @2620.363852",
"realization_holding_periods": "0"
},
"currency": "USD",
"amount": "-0.01000000",
"tx": "tx_HdejZsPfSsofWw8W6fCGc2"
}
]
}
Cash Flow Reporting
This endpoint returns granular data on transfers (cash inflows and outflows) that occurred within transactions. Create custom labels for your transfer counterparties. Filter on a specific address to see an audit trail of cashflow activity with a particular counterparty.
{
"results": [
{
"id": "tfr_2UiCdhNzqrphqcmS2mj8kY",
"tx_id": "tx_ExAthfkRuDRWur4F9iFNC3",
"hash": "0x0a07b494eb18ae3a2a24a1a2418b6996dd7bc5c887366a6e86b8ec5a1e83d9cd",
"wallet": "0x9de8b001d93e6fa2197a8716b7dc1847e731afb8",
"timestamp": "2022-09-04T23:14:00Z",
"token": {
"id": "token_FirimyKxL56VwoUhUFkBKP",
"asset": {
"id": "asset_dAH3ZHUcmQs2rrb3tjBj3V",
"name": "Ethereum",
"symbol": "ETH",
"slug": "ethereum"
},
"address": "0x0000000000000000000000000000000000000000",
"decimals": 18,
"blockchain": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
},
"nft": null,
"amount": "0.0441",
"side": "inflow",
"price": "1555.6741",
"fee": "0.0000",
"category": null,
"is_error": false,
"counterparty": {
"address": "0x00000000006c3852cbef3e08e8df289169ede581",
"custom_label": null,
"default_label": {
"id": "contract_epsd6PTpqGrjNjDXAAk9Xe",
"address": "0x00000000006c3852cbef3e08e8df289169ede581",
"name": "OpenSea: Seaport 1.1",
"tags": "opensea,contract",
"blockchain_id": "blockchain_CXTQHpufgGtMwu8Lktv7Aw"
}
},
"raw_token": {
"address": "0x0000000000000000000000000000000000000000",
"name": "Ethereum",
"symbol": "ETH",
"id": null
}
}
]
}