GET
/
v1
/
portfolio
/
:portfolioId
/
transactions
/
deposits-withdrawals
curl --request GET \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/transactions/deposits-withdrawals?limit=10&resolutionSize=ALL' \
  --header 'X-API-KEY: your_api_key_here'
{
  "success": true,
  "data": {
    "entries": [
      {
        "id": "tx_abc123",
        "strategy_instance_id": "port_abc123",
        "chain_id": 8453,
        "asset_id": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE:8453",
        "symbol": "ETH",
        "decimals": 18,
        "event_type": "deposit",
        "token_amount": "0.5",
        "raw_token_amount": "500000000000000000",
        "price_usd": "1500",
        "total_usd_value": "750.00",
        "transaction_hash": "0xTransactionHash123",
        "block_number": 12345678,
        "block_timestamp": 1684670096,
        "block_group_id": "block_abc123",
        "wallet_address": "0xUserWalletAddress"
      },
      {
        "id": "tx_def456",
        "strategy_instance_id": "port_abc123",
        "chain_id": 8453,
        "asset_id": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913:8453",
        "symbol": "USDC",
        "decimals": 6,
        "event_type": "deposit",
        "token_amount": "300",
        "raw_token_amount": "300000000",
        "price_usd": "1",
        "total_usd_value": "300.00",
        "transaction_hash": "0xTransactionHash456",
        "block_number": 12345679,
        "block_timestamp": 1684670412,
        "block_group_id": "block_def456",
        "wallet_address": "0xUserWalletAddress"
      }
    ],
    "totalCount": 2,
    "success": true
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}

Retrieves deposit and withdrawal history for a portfolio.

portfolioId
string
required

The unique identifier of the portfolio

limit
number
default:"100"

Number of transactions to return

offset
number
default:"0"

Pagination offset

resolutionSize
string
default:"ALL"

Time range for transactions (“ALL”, “DAY”, “WEEK”)

curl --request GET \
  --url 'https://api.glider.fi/v1/portfolio/port_abc123/transactions/deposits-withdrawals?limit=10&resolutionSize=ALL' \
  --header 'X-API-KEY: your_api_key_here'
{
  "success": true,
  "data": {
    "entries": [
      {
        "id": "tx_abc123",
        "strategy_instance_id": "port_abc123",
        "chain_id": 8453,
        "asset_id": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE:8453",
        "symbol": "ETH",
        "decimals": 18,
        "event_type": "deposit",
        "token_amount": "0.5",
        "raw_token_amount": "500000000000000000",
        "price_usd": "1500",
        "total_usd_value": "750.00",
        "transaction_hash": "0xTransactionHash123",
        "block_number": 12345678,
        "block_timestamp": 1684670096,
        "block_group_id": "block_abc123",
        "wallet_address": "0xUserWalletAddress"
      },
      {
        "id": "tx_def456",
        "strategy_instance_id": "port_abc123",
        "chain_id": 8453,
        "asset_id": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913:8453",
        "symbol": "USDC",
        "decimals": 6,
        "event_type": "deposit",
        "token_amount": "300",
        "raw_token_amount": "300000000",
        "price_usd": "1",
        "total_usd_value": "300.00",
        "transaction_hash": "0xTransactionHash456",
        "block_number": 12345679,
        "block_timestamp": 1684670412,
        "block_group_id": "block_def456",
        "wallet_address": "0xUserWalletAddress"
      }
    ],
    "totalCount": 2,
    "success": true
  },
  "correlationId": "corr_abc123",
  "requestId": "req_xyz789",
  "timestamp": "2023-05-21T13:45:12.345Z"
}