ZKSync API

zks_getBridgehubContract

Retrieves the bridge hub contract address

post/zks_getBridgehubContract

Request

  • Base URL
    https://api.mainnet.abs.xyz
  • URL
    https://api.mainnet.abs.xyz/zks_getBridgehubContract
  • Auth
    none declared

Request body

jsonrpcstring required

JSON-RPC version

methodstring required

The method to call

idinteger required

Request identifier

Response

Returns the bridge hub contract address

jsonrpcstring
idinteger
resultstring

The bridge hub contract address (20 bytes)

Example response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x303a465b659cbb0ab36ee643ea362c509eeb5213"
}

Changes

No recorded changes to this operation across all 2 revisions of this API.