v1
latestOpenAPI 3.0.32026-07-24707482.9 KBWithdrawals
Initiate an L2-to-L1 withdrawal
post/withdrawals
Request body
Example request
{
"amount": "100.5",
"fromAddress": "0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234",
"toAddress": "0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234",
"l2TxHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"
}Response
Withdrawal created.
Example response
{
"fromAddress": "0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234",
"toAddress": "0xAbCd1234AbCd1234AbCd1234AbCd1234AbCd1234",
"l2TxHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
"proveTxHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab",
"finalizeTxHash": "0xabcdef1234567890abcdef1234567890abcdef1234567890abcdef1234567890ab"
}