Open YaroShkvorets opened 6 hours ago
Replaced with
"publicApiUrls": {
"type": "array",
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"format": "uri"
},
"type": {
"type": "string",
"enum": ["etherscan", "blockscout", "ethplorer", "other"]
}
},
"required": ["url", "type"],
"additionalProperties": false
},
"description": "List of public API URLs for the chain, i.e. https://api.etherscan.io/api"
},
Right now "publicApiUrls" is a list of URLs. There can be different API types though, i.e.
etherscan
,blockscout
,dfuse
,hyperion
Every URL needs an enum type associated with it.