zks_getBridgeContracts RPC Method
Parameters
This method does not accept any parameters
Returns
l1Erc20DefaultBridge
The address of the default bridge contract responsible for handling ERC-20 token transfers from the L1 network to the L2 network
l2Erc20DefaultBridge
The address of the default bridge contract responsible for handling ERC-20 token transfers from the L2 network to the L1 network
Request
1curl https://docs-demo.zksync-mainnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"zks_getBridgeContracts","params":[ ],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free