Skip to content

List Transfers

Retrieves the transfer history for a portfolio, including deposits, withdrawals, and swaps. This endpoint is accessed through the organization API.

Request URL

GET https://ddp.definitive.fi/v2/organization/portfolios/{portfolioId}/transfers

Path Parameters

ParameterTypeRequiredDescription
portfolioIdstringYesUUID of the portfolio

Query Parameters

ParameterTypeRequiredDescriptionDefault
limitnumberNoMaximum number of transfers to return20
cursorstringNoTimestamp of the last item from the previous page (ISO string)-
actionTypesstringNoComma-separated list: deposit, withdraw, or swapall
startTimestampstringNoStart date filter (ISO 8601)-
endTimestampstringNoEnd date filter (ISO 8601)-

Action Types

These strings are used to filter specific types of transfer activity:

Action TypeDescription
depositInbound transfers into the portfolio vault
withdrawOutbound transfers from the vault
swapInternal swaps between vault assets

Example

const queryParams = {
  limit: 10,
  cursor: "2025-06-07T01:19:25.143Z",
  actionTypes: "deposit,withdraw"
};
 
const json = await AuthHelpers.signAndSend({
  path: "/v2/organization/portfolios/00000000-0000-0000-0000-000000000001/transfers",
  method: "GET",
  queryParams,
  organizationId: "00000000-0000-0000-0000-000000000000",
  apiKey: process.env.API_KEY,
  apiSecret: process.env.API_SECRET,
});

Response

{
  transfers: [
    {
      transferId: "00000000-0000-0000-0000-000000000004",
      actionType: "deposit",
      asset: "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
      symbol: "USDC",
      amount: "1000.000000",
      amountUSD: "1000.00",
      timestamp: "2024-08-05T20:48:11.584Z",
      txHash: "0x1234567890abcdef...",
      status: "completed",
      chain: {
        name: "Ethereum",
        id: "1",
        namespace: "eip:155"
      },
      vault: {
        vaultId: "00000000-0000-0000-0000-000000000003",
        address: "0x0000000000000000000000000000000000000001"
      }
    }
    // ... additional transfers
  ],
  pagination: {
    limit: 10,
    nextCursor: "2025-06-07T01:19:25.143Z",
    hasMore: true
  }
}