Info
Retrieve chain connection contracts
Info
Retrieve chain connection contracts
Returns a list of contracts used for supporting each chain connection
GET
/
chain-connection-contracts
curl --request GET \
--url https://api.herodotus.cloud/chain-connection-contracts
{
"chainConnectionContracts": [
{
"originChainId": "1",
"destinationChainId": "STARKNET",
"contracts": {
"messageSender": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"messagesInbox": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"headerStore": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"timestampRemapper": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"factsRegistry": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
}
}
}
]
}
Query Parameters
Available options:
1
, 11155111
, 11155420
, 4801
, 84532
Available options:
STARKNET
, 300
, 11155111
, 11155420
, SN_SEPOLIA
, 421614
, 4801
Response
200 - application/json
Default Response
Available options:
1
, 11155111
, 11155420
, 4801
, 84532
Available options:
STARKNET
, 300
, 11155111
, 11155420
, SN_SEPOLIA
, 421614
, 4801
curl --request GET \
--url https://api.herodotus.cloud/chain-connection-contracts
{
"chainConnectionContracts": [
{
"originChainId": "1",
"destinationChainId": "STARKNET",
"contracts": {
"messageSender": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"messagesInbox": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"headerStore": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"timestampRemapper": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
},
"factsRegistry": {
"deployedOnChainId": "STARKNET",
"deployedAddress": "<string>"
}
}
}
]
}