syntax = "proto3"; import "blockchain.proto"; message FullTransaction { SignedTransaction transaction = 1; uint64 block_number = 2; bytes block_hash = 3; uint32 index = 4; } message Response { bytes request_id = 1; int64 code = 2; oneof data { string error_msg = 3; string tx_state = 4; uint64 block_number = 5; string block = 6; FullTransaction ts = 7; uint32 peercount = 8; bytes call_result = 9; string logs = 10; string receipt = 11; uint64 transaction_count = 12; bytes contract_code = 13; bytes contract_abi = 14; uint64 filter_id = 15; bool uninstall_filter = 16; string filter_changes = 17; string filter_logs = 18; bool none = 19; bytes transaction_proof = 20; // cita_getMetaData string meta_data = 21; // eth_getBalance bytes balance = 22; bytes state_proof = 23; bytes block_header = 24; bytes storage_value = 25; string software_version = 26; string peers_info = 27; bytes estimate_quota = 28; string license_info = 29; uint64 pool_tx_num = 30; } } message LightResponse { bytes request_id = 1; int64 code = 2; oneof data { string error_msg = 3; string tx_state = 4; bytes block = 5; bytes call_result = 6; bytes receipt = 7; bytes contract_code = 8; bytes contract_abi = 9; bool none = 10; // cita_getMetaData string meta_data = 11; // eth_getBalance bytes balance = 12; bytes block_header = 13; bytes estimate_quota = 14; bytes transaction_response = 15; bytes storage_value = 16; uint64 transaction_count = 17; // bytes light_call = 30; // string light_transaction_receipt = 31; // bytes light_transaction = 32; // bytes light_code = 33; // bytes light_abi = 34; // string light_block = 35; // bytes light_estimate_quota = 36; } }