L2 Deposits/Withdrawals

Get List of Plasma Deposits by Address

Returns a list of Plasma Deposits received by an address.

Applicable to Polygon (137)

https://api.etherscan.io/v2/api
   ?chainid=137
   &module=account
   &action=txnbridge
   &address=0x4880bd4695a8e59dc527d124085749744b6c988e
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter

Description

address

the string representing the address to check for balance

blocktype

the string pre-defined block type, blocksfor canonical blocks

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

Get List of Deposit Transactions

Returns a list of deposits in ETH or ERC20 tokens from Ethereum to L2.

Applicable to Arbitrum Stack (42161, 42170, 33139, 660279) and Optimism Stack (10, 8453, 130, 252, 480, 5000, 81457)

https://api.etherscan.io/v2/api
   ?chainid=10
   &module=account
   &action=getdeposittxs
   &address=0x4880bd4695a8e59dc527d124085749744b6c988e
   &page=1
   &offset=1000
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

address

the string representing the address to check for deposits

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Get List of Withdrawal Transactions

Returns a list of withdrawals in ETH or ERC20 tokens from L2 to Ethereum.

Applicable to Arbitrum Stack (42161, 42170, 33139, 660279) and Optimism Stack (10, 8453, 130, 252, 480, 5000, 81457)

https://api.etherscan.io/v2/api
   ?chainid=10
   &module=account
   &action=getwithdrawaltxs
   &address=0x4880bd4695a8e59dc527d124085749744b6c988e
   &page=1
   &offset=1000
   &sort=asc
   &apikey=YourApiKeyToken

Try this endpoint in your browser 🔗

Query Parameters

Parameter
Description

address

the string representing the address to check for withdrawals

page

the integer page number, if pagination is enabled

offset

the number of transactions displayed per page

sort

the sorting preference, use asc to sort by ascending and desc to sort by descending

Last updated