Skip to main content

ContractGetBytecodeQuery

Get the bytecode for a smart contract instance
FieldTypeDescription
headerQueryHeaderstandard info sent from client to node, including the signed payment, and what kind of response is requested (cost, state proof, both, or neither).
contractIDContractIDthe contract for which information is requested

ContractGetBytecodeResponse

Response when the client sends the node ContractGetBytecodeQuery
FieldTypeDescription
headerResponseHeaderstandard response from node to client, including the requested fields: cost, or state proof, or both, or neither
bytecodebytesthe bytecode