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
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
}
Returns the bridge hub contract address
The response is of type object
.
Was this page helpful?