{"openapi":"3.0.3","info":{"title":"Storage Proofs API","description":"API for submitting and managing Storage Proofs API requests across various blockchain networks","version":"1.0.0"},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"api-key"}},"schemas":{"OriginChainId":{"type":"string","enum":["1","11155111","10","11155420","8453","84532","33139","33111","STARKNET","SN_SEPOLIA"]},"DestinationChainId":{"type":"string","enum":["STARKNET","300","11155111","11155420","SN_SEPOLIA","42161","421614","480","4801","33139","33111","8453","84532"]},"ChainId":{"type":"string","enum":["STARKNET","SN_SEPOLIA","1","300","11155111","10","11155420","42161","421614","480","4801","8453","84532","33139","33111"]},"ProvableAccountProperty":{"type":"string","enum":["BALANCE","NONCE","CODE_HASH","STORAGE_ROOT"]},"ProvableHeaderProperty":{"type":"string","enum":["PARENT_HASH","OMMERS_HASH","BENEFICIARY","STATE_ROOT","RECEIPTS_ROOT","TRANSACTIONS_ROOT","LOGS_BLOOM","DIFFICULTY","NUMBER","GAS_LIMIT","GAS_USED","TIMESTAMP","EXTRA_DATA","MIX_HASH","NONCE"]},"QueryStatus":{"type":"string","enum":["DONE","IN_PROGRESS","REJECTED"]}}},"paths":{"/submit-batch-query":{"post":{"summary":"Submit a batch query","tags":["Basic Batch Query","The one you want"],"description":"Handles batch queries for interacting with storage slot data.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"webhook":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"headers":{"type":"object","additionalProperties":{"type":"string"}}},"required":["url"],"additionalProperties":false},"destinationChainId":{"$ref":"#/components/schemas/DestinationChainId"},"fee":{"type":"string"},"data":{"type":"object","required":["1","11155111","10","11155420","8453","84532","33139","33111","STARKNET","SN_SEPOLIA"],"properties":{"1":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"10":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"8453":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"33111":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"33139":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"84532":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"11155111":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"11155420":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"STARKNET":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"SN_SEPOLIA":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}},"required":["destinationChainId","fee","data"],"additionalProperties":false},"examples":{"firstExample":{"summary":"Example","value":{"destinationChainId":"SN_SEPOLIA","fee":"0","data":{"11155111":{"block:5856869":{"header":["STATE_ROOT","TIMESTAMP"]},"timestamp:1703799420":{"accounts":{"0xd8da6bf26964af9d7eed9e03e53415d37aa96045":{"slots":[],"props":["BALANCE","NONCE"]}}},"block:5030420":{"header":["PARENT_HASH"],"accounts":{"0x69030ef8C2744b37a096fAf2A4C78B4dAec1308b":{"slots":["0x0000000000000000000000000000000000000000000000000000000000000001","0xe90b7bceb6e7df5418fb78d8ee546e97c83a08bbccc01a0644d599ccd2a7c2e0"],"props":[]}}}}},"webhook":{"url":"https://webhook.site/1f3a9b5d-5c8c-4e2a-9d7e-6c3c5a0a0e2f","headers":{"Content-Type":"application/json"}}}}}}},"required":true},"security":[{"ApiKeyAuth":[]}],"responses":{"201":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"internalId":{"type":"string"}},"required":["internalId"],"additionalProperties":false}}}},"400":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{},"info":{},"httpPart":{}},"additionalProperties":false}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{}},"additionalProperties":false}}}}}}},"/estimate-batch-query-cost":{"post":{"summary":"Estimate batch query cost","tags":["Basic Batch Query"],"description":"Allows you to estimate the cost of a batch query before submitting it, the body is the same as the submit batch query body, use that endpoint for reference on how to build the body.","requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"destinationChainId":{"$ref":"#/components/schemas/ChainId"},"data":{"type":"object","required":["STARKNET","SN_SEPOLIA","1","300","11155111","10","11155420","42161","421614","480","4801","8453","84532","33139","33111"],"properties":{"1":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"10":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"300":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"480":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"4801":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"8453":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"33111":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"33139":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"42161":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"84532":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"421614":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"11155111":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"11155420":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"STARKNET":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}},"SN_SEPOLIA":{"type":"object","properties":{"factHash":{"type":"object","properties":{"hash":{"type":"string","description":"Fact hash"},"isMocked":{"type":"boolean","default":false,"description":"Is fact hash mocked"}},"required":["hash"],"additionalProperties":false}},"additionalProperties":{"type":"object","properties":{"header":{"type":"array","items":{"$ref":"#/components/schemas/ProvableHeaderProperty"}},"accounts":{"type":"object","additionalProperties":{"type":"object","properties":{"props":{"type":"array","items":{"$ref":"#/components/schemas/ProvableAccountProperty"},"default":[],"description":"Account properties"},"slots":{"type":"array","items":{"type":"string"},"default":[],"description":"Storage slots"}},"additionalProperties":false}}},"additionalProperties":false}}},"additionalProperties":false}},"required":["destinationChainId","data"],"additionalProperties":false}}},"required":true},"security":[],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"feeEstimate":{"type":"string"}},"required":["feeEstimate"],"additionalProperties":false}}}}}}},"/batch-query-status":{"get":{"summary":"Get the status of your batch query","tags":["Basic Batch Query"],"description":"Provide the batch query id to get the status of your batch query.","parameters":[{"schema":{"type":"string"},"in":"query","name":"batchQueryId","required":true}],"security":[{"ApiKeyAuth":[]}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"queryStatus":{"$ref":"#/components/schemas/QueryStatus"},"info":{"type":"array","items":{"type":"string"}}},"required":["queryStatus"],"additionalProperties":false}}}},"401":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{},"info":{}},"additionalProperties":false}}}},"404":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"error":{}},"additionalProperties":false}}}}}}},"/is-alive":{"get":{"summary":"Simple health check endpoint","tags":["Health check"],"description":"Returns a confirmation that the server is operational","security":[],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"message":{"type":"string"}},"required":["message"],"additionalProperties":false}}}}}}},"/chain-connections":{"get":{"summary":"Retrieve available chain connections","tags":["Info"],"description":"Returns a list of available origin and destination chain connections","security":[],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"connections":{"type":"array","items":{"type":"object","properties":{"originChainId":{"$ref":"#/components/schemas/OriginChainId"},"destinationChainId":{"$ref":"#/components/schemas/DestinationChainId"}},"required":["originChainId","destinationChainId"],"additionalProperties":false}}},"required":["connections"],"additionalProperties":false}}}}}}},"/chain-definitions":{"get":{"summary":"Retrieve chain definitions","tags":["Info"],"description":"Returns a dictionary of chain IDs and their corresponding names","security":[],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"definitions":{"type":"object","properties":{"1":{"type":"string","enum":["Ethereum Mainnet"]},"10":{"type":"string","enum":["Optimism"]},"300":{"type":"string","enum":["zkSync Era Sepolia"]},"480":{"type":"string","enum":["World Chain"]},"4801":{"type":"string","enum":["World Chain Sepolia"]},"8453":{"type":"string","enum":["Base"]},"33111":{"type":"string","enum":["Curtis"]},"33139":{"type":"string","enum":["Ape Chain"]},"42161":{"type":"string","enum":["Arbitrum One"]},"84532":{"type":"string","enum":["Base Sepolia"]},"421614":{"type":"string","enum":["Arbitrum Sepolia"]},"11155111":{"type":"string","enum":["Ethereum Sepolia"]},"11155420":{"type":"string","enum":["Optimism Sepolia"]},"STARKNET":{"type":"string","enum":["Starknet Mainnet"]},"SN_SEPOLIA":{"type":"string","enum":["Starknet Sepolia"]}},"required":["1","10","300","480","4801","8453","33111","33139","42161","84532","421614","11155111","11155420","STARKNET","SN_SEPOLIA"],"additionalProperties":false}},"required":["definitions"],"additionalProperties":false}}}}}}},"/chain-connection-contracts":{"get":{"summary":"Retrieve chain connection contracts","tags":["Info"],"description":"Returns a list of contracts used for supporting each chain connection","parameters":[{"schema":{"$ref":"#/components/schemas/OriginChainId"},"in":"query","name":"originChainId","required":false},{"schema":{"$ref":"#/components/schemas/DestinationChainId"},"in":"query","name":"destinationChainId","required":false}],"security":[],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"chainConnectionContracts":{"type":"array","items":{"type":"object","properties":{"originChainId":{"$ref":"#/components/schemas/OriginChainId"},"destinationChainId":{"$ref":"#/components/schemas/DestinationChainId"},"contracts":{"type":"object","properties":{"destinationChainSatellite":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"intermediateChainSatellite":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"originChainSatellite":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"messagesInbox":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"headerStore":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"timestampRemapper":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false},"factsRegistry":{"type":"object","properties":{"deployedOnChainId":{"$ref":"#/components/schemas/ChainId"},"deployedAddress":{"type":"string"}},"required":["deployedOnChainId","deployedAddress"],"additionalProperties":false}},"additionalProperties":false}},"required":["originChainId","destinationChainId","contracts"],"additionalProperties":false}}},"required":["chainConnectionContracts"],"additionalProperties":false}}}}}}}},"servers":[{"url":"https://api.herodotus.cloud","description":"Production Server"},{"url":"https://staging.api.herodotus.cloud","description":"Staging Server"}],"tags":[{"name":"The one you want","description":"Probably the route you're looking for"},{"name":"Basic Batch Query","description":"Batch Query routes"},{"name":"Health check","description":"Health check routes"},{"name":"Info","description":"Info routes"}]}