v1

latestOpenAPI 3.0.02026-07-175152156.1 KB
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"
    }
  ]
}