Skip to main content
Fetches a paginated list of withdrawal requests for a user from the backend API. Supports filtering by chain, account, and status.

Import

Usage

Parameters

ParameterTypeRequiredDescription
userAddressAddressYesUser’s wallet address
chainIdnumberNoFilter by blockchain network
vaultAddressAddressNoFilter by account contract address
vaultNamestringNoFilter by account name (resolved to address via cache)
statusWithdrawalRequestStatusNoFilter by status
pageSizenumberNoNumber of results per page
pageTokenstringNoPagination token for next page

Return Type

Example: Withdrawal History Component

Error Handling

Error Message PatternDescriptionResolution
"SDK not initialized"SDK not initializedCall initAmplifySDK() first
"Failed to fetch withdrawal requests"Network or API errorCheck connection and retry