User
Complete withdrawal
Submits the signed UserOperation to the ZeroDev bundler to complete the withdrawal. The paymaster sponsors the gas.
post/user/{appId}/complete-withdraw
Path parameters
appIdnumber required
ID of the target application
Request body
Example request
{
"withdrawals": [
{
"network": "base-mainnet",
"signature": "0x1234567890abcdef..."
}
]
}Response
Withdrawal completed successfully
Example response
{
"transactions": [
{
"network": "base-mainnet",
"transactionHash": "0x9d260d1bbe075be0cda52a3271df062748f3182ede91b3aae5cd115f7b26552b",
"userOpHash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"
}
],
"errors": [
{
"network": "base-mainnet",
"error": "Insufficient balance for USDC: requested 100, available 50"
}
]
}Changes
Changed in 2 of the 50 revisions of this API.11
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 51 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲