status-go/tests-functional/schemas/wallet_getEthereumChains

95 lines
3.2 KiB
Plaintext

{
"$schema": "http://json-schema.org/schema#",
"properties": {
"id": {
"type": "string"
},
"jsonrpc": {
"type": "string"
},
"result": {
"items": {
"properties": {
"Prod": {
"properties": {
"chainColor": {
"type": "string"
},
"chainId": {
"type": "integer"
},
"chainName": {
"type": "string"
},
"enabled": {
"type": "boolean"
},
"fallbackURL": {
"type": "string"
},
"isTest": {
"type": "boolean"
},
"layer": {
"type": "integer"
},
"nativeCurrencyDecimals": {
"type": "integer"
},
"originalFallbackURL": {
"type": "string"
},
"originalRpcUrl": {
"type": "string"
},
"relatedChainId": {
"type": "integer"
},
"rpcUrl": {
"type": "string"
},
"shortName": {
"type": "string"
},
"tokenOverrides": {
"type": "null"
}
},
"required": [
"chainColor",
"chainId",
"chainName",
"enabled",
"fallbackURL",
"isTest",
"layer",
"nativeCurrencyDecimals",
"originalFallbackURL",
"originalRpcUrl",
"relatedChainId",
"rpcUrl",
"shortName",
"tokenOverrides"
],
"type": "object"
},
"Test": {
"type": ["null", "object"]
}
},
"required": [
"Prod",
"Test"
],
"type": "object"
},
"type": "array"
}
},
"required": [
"id",
"jsonrpc",
"result"
],
"type": "object"
}