Skip to main content

zks_getBridgeContracts RPC Method

Returns L1/L2 addresses of default bridges.

Updated on
Apr 03, 2026

Parameters

This method does not accept any parameters

Returns

l1Erc20DefaultBridge
string

The address of the default bridge contract responsible for handling ERC-20 token transfers from the L1 network to the L2 network

l2Erc20DefaultBridge
string

The address of the default bridge contract responsible for handling ERC-20 token transfers from the L2 network to the L1 network

l1SharedDefaultBridge
string

The address of the default bridge contract on L1, allowing shared resources or generic assets to be moved between L1 and L2

l2SharedDefaultBridge
string

The address of the default bridge contract on L2, used in conjunction with the L1 shared default bridge to manage assets across layers

l1WethBridge
string

The address of the WETH (Wrapped Ether) bridge on L1

l2WethBridge
string

The address of the WETH bridge on L2

l2LegacySharedBridge
string

A legacy Layer 2 bridge facilitating asset and message transfers between Layer 1 and Layer 2 for backward compatibility

Request
Response
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"l1SharedDefaultBridge": "0x8829ad80e425c646dab305381ff105169feece56",
6
"l2SharedDefaultBridge": "0x0000000000000000000000000000000000010003",
7
"l1Erc20DefaultBridge": "0x57891966931eb4bb6fb81430e6ce0a03aabde063",
8
"l2Erc20DefaultBridge": "0x0000000000000000000000000000000000010003",
9
"l1WethBridge": "0x0000000000000000000000000000000000000000",
10
"l2WethBridge": "0x0000000000000000000000000000000000000000",
11
"l2LegacySharedBridge": "0x954ba8223a6bfec1cc3867139243a02ba0bc66e4"
12
}
13
}
1
{
2
"jsonrpc": "2.0",
3
"id": 1,
4
"result": {
5
"l1SharedDefaultBridge": "0x8829ad80e425c646dab305381ff105169feece56",
6
"l2SharedDefaultBridge": "0x0000000000000000000000000000000000010003",
7
"l1Erc20DefaultBridge": "0x57891966931eb4bb6fb81430e6ce0a03aabde063",
8
"l2Erc20DefaultBridge": "0x0000000000000000000000000000000000010003",
9
"l1WethBridge": "0x0000000000000000000000000000000000000000",
10
"l2WethBridge": "0x0000000000000000000000000000000000000000",
11
"l2LegacySharedBridge": "0x954ba8223a6bfec1cc3867139243a02ba0bc66e4"
12
}
13
}
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free