Withdraw Onchain
Create the Withdrawal
Arguments
Name
Type
Required
Description
address
String!
Yes
Destination wallet address.
amountUsd
Decimal!
Yes
USD amount to send (min $10).
network
String!
Yes
Chain code from the table below.
Supported Networks
Chain
Code
Typical finality
Cashramp fee
Optimism
OP
< 1 min
$1.00
Celo
CELO
~ 5 s
$0.01
The mutation fails if:
address
is invalid on the chosen network.amountUsd
is below the $10 minimum.Your Cashramp balance is insufficient.
Receive Status Updates
You’ll get a onchain_tx.updated
webhook as the transaction progresses.
Use the webhook (or poll onchainWithdrawal(id)
) to confirm finality before updating your ledger.
Last updated