Ethereum Main Proof Request
C4Request
class C4Request(Container):
version : ByteVector [4] # the [domain, major, minor, patch] version of the request, domain=1 = eth
data : Union [ # the data to proof
None, #
Bytes32, # the blockhash which is used for blockhash proof
Bytes[1073741824], # the bytes of the data
Uint256, # the balance of an account
EthTxData, # the transaction data
EthReceiptData, # the transaction receipt
List [EthReceiptDataLog, 1024], # result of eth_getLogs
EthBlockData, # the block data
EthProofData, # the result of an eth_getProof
EthSimulationResult] # the result of an colibri_simulateTransaction
proof : Union [ # the proof of the data
None, #
EthAccountProof, # a Proof of an Account like eth_getBalance or eth_getStorageAt
EthTransactionProof, # a Proof of a Transaction like eth_getTransactionByHash
EthReceiptProof, # a Proof of a TransactionReceipt
List [EthLogsBlock, 256], # a Proof for multiple Receipts and txs
EthCallProof, # a Proof of a Call like eth_call
EthSyncProof, # Proof as input data for the sync committee transition used by zk
EthBlockProof, # Proof for BlockData
EthBlockNumberProof, # Proof for BlockNumber
C4WitnessSigned] # Proof for Witness
sync_data : Union [ # the sync data containing proofs for the transition between the two periods
None, #
C4EthLcSyncdata, # Light Client Sync Data
C4EthZkSyncdata] # ZK Proof Sync DataLast updated