curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=2741 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "zks_getBridgeContracts",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
ZKS
zks_getBridgeContracts
Returns the L1 and L2 address of the default bridges.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=2741 \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "zks_getBridgeContracts",
"params": []
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}
Was this page helpful?