zks_getBridgeContracts

Retrieves the addresses of canonical bridge contracts for zkSync Era.

Path parameters

apiKeystringRequired

Response

Object containing the addresses of bridge contracts.

l1Erc20DefaultBridgestringformat: "^0x[0-9a-fA-F]{40}$"

Address of the default ERC-20 bridge on Layer 1.

l2Erc20DefaultBridgestringformat: "^0x[0-9a-fA-F]{40}$"

Address of the default ERC-20 bridge on Layer 2.

l1WethBridgestringformat: "^0x[0-9a-fA-F]{40}$"

Address of the Wrapped Ethereum (WETH) bridge on Layer 1.

l2WethBridgestringformat: "^0x[0-9a-fA-F]{40}$"

Address of the Wrapped Ethereum (WETH) bridge on Layer 2.