Created
September 1, 2022 14:34
-
-
Save ColinPlatt/2099050a0b7f5a8dd2277743b5c8005e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "object", | |
"properties": { | |
"block": { | |
"type": "object", | |
"properties": { | |
"type": { | |
"type": "string" | |
}, | |
"number": { | |
"type": "integer" | |
}, | |
"hash": { | |
"type": "string" | |
}, | |
"parent_hash": { | |
"type": "string" | |
}, | |
"nonce": { | |
"type": "string" | |
}, | |
"sha3_uncles": { | |
"type": "string" | |
}, | |
"logs_bloom": { | |
"type": "string" | |
}, | |
"transactions_root": { | |
"type": "string" | |
}, | |
"state_root": { | |
"type": "string" | |
}, | |
"receipts_root": { | |
"type": "string" | |
}, | |
"miner": { | |
"type": "string" | |
}, | |
"difficulty": { | |
"type": "integer" | |
}, | |
"total_difficulty": { | |
"type": "integer" | |
}, | |
"size": { | |
"type": "integer" | |
}, | |
"extra_data": { | |
"type": "string" | |
}, | |
"gas_limit": { | |
"type": "integer" | |
}, | |
"gas_used": { | |
"type": "integer" | |
}, | |
"timestamp": { | |
"type": "integer" | |
}, | |
"transaction_count": { | |
"type": "integer" | |
}, | |
"base_fee_per_gas": { | |
"type": "integer" | |
}, | |
"item_id": { | |
"type": "string" | |
}, | |
"item_timestamp": { | |
"type": "string" | |
} | |
}, | |
"required": [ | |
"type", | |
"number", | |
"hash", | |
"parent_hash", | |
"nonce", | |
"sha3_uncles", | |
"logs_bloom", | |
"transactions_root", | |
"state_root", | |
"receipts_root", | |
"miner", | |
"difficulty", | |
"total_difficulty", | |
"size", | |
"extra_data", | |
"gas_limit", | |
"gas_used", | |
"timestamp", | |
"transaction_count", | |
"base_fee_per_gas", | |
"item_id", | |
"item_timestamp" | |
] | |
}, | |
"transactions": { | |
"type": "array", | |
"items": {} | |
}, | |
"logs": { | |
"type": "array", | |
"items": {} | |
}, | |
"token_transfers": { | |
"type": "array", | |
"items": {} | |
}, | |
"traces": { | |
"type": "array", | |
"items": {} | |
} | |
}, | |
"required": [ | |
"block", | |
"transactions", | |
"logs", | |
"token_transfers", | |
"traces" | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment