Skip to main content
POST
/
smartwallet
/
withdraw
Withdraw from social smart wallets
curl --request POST \
  --url https://api.inprocess.world/api/smartwallet/withdraw \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '
{
  "currency": "eth",
  "amount": "0.1",
  "to": "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb0",
  "chainId": 8453
}
'
{
  "withdrawals": [
    {
      "hash": "0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef",
      "chainId": 8453,
      "walletAddress": "0x1234567890123456789012345678901234567890",
      "withdrawnAmount": "0.1",
      "remainingAmount": "0.05"
    }
  ],
  "remainingTotalEthBalance": "0.05",
  "remainingTotalUsdcBalance": "0"
}

Authorizations

x-api-key
string
header
required

Artist API key for authentication. Get your API key from https://inprocess.world/manage/api-keys

Body

application/json
currency
enum<string>
required

The currency to withdraw. Use "eth" for native ETH or "usdc" for USDC tokens.

Available options:
eth,
usdc
to
string
required

The recipient address where the funds will be sent

amount
string

The amount to withdraw in human-readable token units (not base units/wei). Must be a valid positive number as a string. For example, use "0.1" for 0.1 ETH, not "100000000000000000" (which is 0.1 ETH in wei). For ERC20 tokens, use the token's decimal precision (e.g., "100.5" for 100.5 USDC if USDC has 6 decimals). If not provided, the full balance will be withdrawn.

chainId
integer
default:8453

Chain ID where the withdrawal will be executed. Optional parameter - if not provided, defaults to Base (8453).

Response

Successful withdrawal

withdrawals
object[]
required

Array of withdrawal results, one for each smart wallet that was used

remainingTotalEthBalance
string
required

Total remaining ETH balance across all smart wallets after withdrawal

remainingTotalUsdcBalance
string
required

Total remaining USDC balance across all smart wallets after withdrawal