REST API Endpoints
- GETPortfolio List
- GETPortfolio Get
- PUTPortfolio Update
- GETPortfolio List By Owner
- POSTPortfolio Create Signature
- POSTPortfolio Create
- POSTPortfolio Create From Template
- POSTPortfolio Resign
- POSTPortfolio Resubmit Signature
- GETPortfolio Get Assets
- GETPortfolio Get Performance
- GETPortfolio Get Transactions
- GETPortfolio Get Deposits Withdrawals
- POSTPortfolio Deposit
- POSTPortfolio Deposit with Simulation
- POSTPortfolio Withdraw
- POSTPortfolio Withdraw as ETH
- POSTPortfolio Automation Start
- POSTPortfolio Automation Pause
- POSTPortfolio Automation Resume
- POSTPortfolio Automation Trigger
- GETPortfolio Automation Status
- GETPortfolio Rebalance Status
- GETPortfolio Rebalance Execution
- POSTPortfolio Schedule Interval
- POSTPortfolio Execute
- POSTPortfolio Archive
REST API Endpoints
Portfolio Get Deposits Withdrawals
Retrieve deposit and withdrawal history for a portfolio
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.
The unique identifier of the portfolio
Number of transactions to return
Pagination offset
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"
}
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"
}
Assistant
Responses are generated using AI and may contain mistakes.