Prepare cancel withdrawal transaction
Returns ABI-encoded calldata for cancelling a pending vault withdrawal order on the WithdrawQueue contract. Identify the vault by its BoringVault contract address and the order by its index in the WithdrawQueue. Only the original order owner can successfully submit this transaction — ownership is enforced on-chain via msg.sender.
To retrieve the required orderIndex parameter, call GET /v2/amplify/withdrawalRequests filtered by userAddress and vaultAddress; each returned item includes its orderIndex.
Documentation Index
Fetch the complete documentation index at: https://developers.paxoslabs.com/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
API key in format: pxl_<public_id>_
Query Parameters
BoringVault contract address (0x + 40 hex chars)
"0xbbbb000000000000000000000000000000000001"
Index of the withdrawal order to cancel, in WithdrawQueue order-index units (decimal string). To retrieve a specific order index, call GET /v2/amplify/withdrawalRequests filtered by userAddress and vaultAddress — each returned item includes its orderIndex.
"42"
EVM chain ID
1
Controls response fields. "encoded" (default): ABI-encoded calldata only. "full": calldata + ABI fragment, function name, args. "structured": ABI fragment, function name, args only.
encoded, full, structured