
shgraph.hedera-protobuf-java-api.0.10.0.source-code.ContractGetBytecode.proto Maven / Gradle / Ivy
syntax = "proto3";
package proto;
/*-
*
* Hedera Network Services Protobuf
*
* Copyright (C) 2018 - 2020 Hedera Hashgraph, LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
option java_package = "com.hederahashgraph.api.proto.java";
option java_multiple_files = true;
import "BasicTypes.proto";
import "QueryHeader.proto";
import "ResponseHeader.proto";
/* Get the bytecode for a smart contract instance */
message ContractGetBytecodeQuery {
QueryHeader header = 1; // standard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
ContractID contractID = 2; // the contract for which information is requested
}
/* Response when the client sends the node ContractGetBytecodeQuery */
message ContractGetBytecodeResponse {
ResponseHeader header = 1; //standard response from node to client, including the requested fields: cost, or state proof, or both, or neither
bytes bytecode = 6; // the bytecode
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy