curl --request GET \
--url https://api.example.com/v2/amplify/withdraw/cancel \
--header 'x-api-key: <api-key>'{
"transaction": {
"to": "0xabcdef1234567890abcdef1234567890abcdef12",
"value": "0",
"data": "0x47e7ef24...",
"abi": [
"<string>"
],
"functionName": "deposit",
"args": [
"<string>"
]
}
}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.
curl --request GET \
--url https://api.example.com/v2/amplify/withdraw/cancel \
--header 'x-api-key: <api-key>'{
"transaction": {
"to": "0xabcdef1234567890abcdef1234567890abcdef12",
"value": "0",
"data": "0x47e7ef24...",
"abi": [
"<string>"
],
"functionName": "deposit",
"args": [
"<string>"
]
}
}API key in format: pxl_<public_id>_
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 Show child attributes