curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/transactions?limit=10&type=deposit' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"transactions": [
{
"id": "tx_abc123",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:34:56.789Z",
"txHash": "0xTransactionHash123",
"chainId": "8453",
"tokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"assetId": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE:8453",
"symbol": "ETH",
"amount": "0.5",
"valueUsd": "750.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
},
{
"id": "tx_def456",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:40:12.345Z",
"txHash": "0xTransactionHash456",
"chainId": "8453",
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"assetId": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913:8453",
"symbol": "USDC",
"amount": "300",
"valueUsd": "300.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
}
],
"pagination": {
"total": 2,
"limit": 10,
"offset": 0,
"hasMore": false
}
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
Retrieve transaction history for a portfolio
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/transactions?limit=10&type=deposit' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"transactions": [
{
"id": "tx_abc123",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:34:56.789Z",
"txHash": "0xTransactionHash123",
"chainId": "8453",
"tokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"assetId": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE:8453",
"symbol": "ETH",
"amount": "0.5",
"valueUsd": "750.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
},
{
"id": "tx_def456",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:40:12.345Z",
"txHash": "0xTransactionHash456",
"chainId": "8453",
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"assetId": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913:8453",
"symbol": "USDC",
"amount": "300",
"valueUsd": "300.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
}
],
"pagination": {
"total": 2,
"limit": 10,
"offset": 0,
"hasMore": false
}
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}
curl --request GET \
--url 'https://api.glider.fi/v1/portfolio/port_abc123/transactions?limit=10&type=deposit' \
--header 'X-API-KEY: your_api_key_here'
{
"success": true,
"data": {
"transactions": [
{
"id": "tx_abc123",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:34:56.789Z",
"txHash": "0xTransactionHash123",
"chainId": "8453",
"tokenAddress": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE",
"assetId": "0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE:8453",
"symbol": "ETH",
"amount": "0.5",
"valueUsd": "750.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
},
{
"id": "tx_def456",
"type": "deposit",
"status": "COMPLETED",
"timestamp": "2023-05-21T12:40:12.345Z",
"txHash": "0xTransactionHash456",
"chainId": "8453",
"tokenAddress": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"assetId": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913:8453",
"symbol": "USDC",
"amount": "300",
"valueUsd": "300.00",
"from": "0xUserWalletAddress",
"to": "0xPortfolioVaultAddress"
}
],
"pagination": {
"total": 2,
"limit": 10,
"offset": 0,
"hasMore": false
}
},
"correlationId": "corr_abc123",
"requestId": "req_xyz789",
"timestamp": "2023-05-21T13:45:12.345Z"
}