Check out our new component library - build.abs.xyz!
cURL
curl --request POST \ --url https://api.mainnet.abs.xyz/zks_getBridgehubContract \ --header 'Content-Type: application/json' \ --data '{ "jsonrpc": "2.0", "id": 1, "method": "zks_getBridgehubContract", "params": [] }'
{ "jsonrpc": "2.0", "result": "0x303a465b659cbb0ab36ee643ea362c509eeb5213", "id": 1 }
Retrieves the bridge hub contract address
JSON-RPC version
The method to call
Request identifier
No parameters
Returns the bridge hub contract address
"2.0"
1
The bridge hub contract address (20 bytes)
"0x303a465b659cbb0ab36ee643ea362c509eeb5213"
Was this page helpful?