Skip to main content
Equivalent to SDK’s getWithdrawalRequests().

Endpoint

GET https://api.paxoslabs.com/v2/amplify/withdrawalRequests

Query Parameters

ParameterTypeRequiredDescription
filterstringYesFilter expression — must include userAddress=0x.... Optionally add AND chainId=1, AND status=PENDING, etc.
pageSizeintNoResults per page (default 20)
pageTokenstringNoPagination token from previous response

Example Request

USER_ADDRESS="0x..."
curl -s "https://api.paxoslabs.com/v2/amplify/withdrawalRequests?filter=userAddress%3D${USER_ADDRESS}&pageSize=20" \
  -H "x-api-key: $AMPLIFY_API_KEY" | jq

Response

{
  "withdrawalRequests": [
    {
      "orderIndex": "42",
      "userAddress": "0x...",
      "vaultAddress": "0x...",
      "chainId": 1,
      "offerAmount": "1000000000000000000",
      "wantAsset": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
      "status": "PENDING",
      "createdAt": "2025-01-15T10:30:00Z",
      "fulfilledAt": null
    }
  ],
  "nextPageToken": null
}

Response Types

FieldTypeDescription
orderIndexstringWithdrawQueue order index
userAddressaddressAddress that submitted the order
vaultAddressaddressBoringVault address
chainIdintChain ID
offerAmountstringVault shares offered (18 decimals, as string)
wantAssetaddressToken address the user wants to receive
statusstringOrder status (see below)
createdAtstringISO 8601 timestamp of order creation
fulfilledAtstring?ISO 8601 timestamp of fulfillment (null if pending)

Status Values

StatusDescription
PENDINGOrder submitted, awaiting fulfillment by the vault operator
COMPLETEFulfilled — want asset sent to receiver
PENDING_REFUNDCancellation in progress — shares being returned
REFUNDEDCancelled — shares returned to refund receiver