{ "type":"object", "patternProperties":{ "^.*$":{ "type":"object", "properties":{ "post":{ "type":"object", "properties":{ "EIP150":{ "$ref":"#/definitions/TransactionResults" }, "EIP158":{ "$ref":"#/definitions/TransactionResults" }, "Frontier":{ "$ref":"#/definitions/TransactionResults" }, "Homestead":{ "$ref":"#/definitions/TransactionResults" }, "Metropolis":{ "$ref":"#/definitions/TransactionResults" } }, "additionalProperties": false }, "explanation":{ "type":"string" }, "env":{ "type":"object", "properties":{ "currentCoinbase":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "currentDifficulty":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "currentGasLimit":{ "$ref": "#/definitions/GasAmount" }, "currentNumber":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "currentTimestamp":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "previousHash":{ "type":"string", "pattern":"^0x[0-9a-f]*$" } }, "required": ["currentCoinbase", "currentDifficulty", "currentGasLimit", "currentNumber", "currentTimestamp", "previousHash"], "additionalproperties":false }, "pre":{ "type":"object", "patternProperties":{ "^0x[0-9a-f]*":{ "type":"object", "properties":{ "balance":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "code":{ "type":"string", "pattern":"^(0x[0-9a-f]*)?$" }, "nonce":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "storage":{ "type":"object" } }, "required": ["balance", "code", "nonce"], "additionalproperties": false } }, "additionalProperties":false }, "transaction":{ "type":"object", "properties":{ "data":{ "type":"array", "items":{ "type":"string", "pattern":"^(0x[0-9a-f]*)?$" } }, "gasLimit":{ "type":"array", "items":{ "type":"string", "pattern":"^0x[0-9a-f]*$" } }, "gasPrice":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "nonce":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "secretKey":{ "type":"string", "pattern":"^0x[0-9a-f]*$" }, "to":{ "type": "string", "pattern":"^(0x([0-9a-f]*){10})?$" }, "value":{ "type":"array", "items":{ "type":"string", "pattern":"^0x[0-9a-f]*$" } }, "r": { "type": "string" }, "s": { "type": "string" }, "v": { "type": "string" } }, "required": ["data", "gasLimit", "gasPrice", "nonce", "secretKey", "to", "value"], "additionalProperties":false } } } }, "definitions": { "TransactionResults": { "type": "array", "items": { "type": "object", "properties": { "hash": { "type": "string", "pattern":"^0x[0-9a-f]*$" }, "indexes": { "type": "object", "properties": { "data": { "type": "integer" }, "gas": { "type": "integer" }, "value": { "type": "integer" } }, "required": ["data", "gas", "value"], "additionalProperties": false } }, "required": ["hash", "indexes"], "additionalProperties": false } }, "Address": { "type": "string", "pattern":"^(0x[0-9a-f]*)?$" }, "GasAmount": { "type":"string", "pattern": "(^0x[76543210][0-9a-f]{15}$)|(^0x[0-9a-f]{0,15}$)" } } }