Skip to main content
GET
/
v2
/
api
curl "https://api.etherscan.io/v2/api?chainid=10&module=account&action=getwithdrawaltxs&address=0x80f3950a4d371c43360f292a4170624abd9eed03&page=1&offset=10&sort=desc&apikey=YourApiKeyToken"
{
  "status": "0",
  "message": "No transactions found",
  "result": []
}

Query Parameters

This endpoint is only available for the Arbitrum and Optimism stack chains.
apikey
string
default:"YourApiKeyToken"
Your Etherscan API key.
chainid
string
default:"10"
Chain ID to query, eg 10 for Optimism or 42161 for Arbitrum from our supported chains.
module
string
default:"account"
Set to account for this endpoint.
action
string
default:"getwithdrawaltxs"
Set to getwithdrawaltxs for this endpoint.
address
string
default:"0x80f3950a4d371c43360f292a4170624abd9eed03"
Address to check for cross-chain withdrawals from L2 to Ethereum.
page
integer
default:"1"
Page number for pagination.
offset
integer
default:"10"
Number of records per page.
sort
string
default:"desc"
Sort order either desc for the latest transactions first or asc for the oldest transactions first.
curl "https://api.etherscan.io/v2/api?chainid=10&module=account&action=getwithdrawaltxs&address=0x80f3950a4d371c43360f292a4170624abd9eed03&page=1&offset=10&sort=desc&apikey=YourApiKeyToken"
{
  "status": "0",
  "message": "No transactions found",
  "result": []
}
I