Interface ContractCallLocalQueryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
ContractCallLocalQuery, ContractCallLocalQuery.Builder

@Generated public interface ContractCallLocalQueryOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    * The ID of a smart contract to call.
    com.google.protobuf.ByteString
    * The smart contract function to call, and the parameters to pass to that function.
    long
    * The amount of "gas" to use for this call.
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    long
    Deprecated.
    proto.ContractCallLocalQuery.maxResultSize is deprecated.
    * The account that is the "sender" for this contract call.
    boolean
    * The ID of a smart contract to call.
    boolean
    * Standard information sent with every query operation.<br/> This includes the signed payment and what kind of response is requested (cost, state proof, both, or neither).
    boolean
    * The account that is the "sender" for this contract call.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • hasHeader

      boolean hasHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       <p>
       The payment MUST be sufficient for the base fees _and_ the full amount
       in the `gas` field.
       
      .proto.QueryHeader header = 1;
      Returns:
      Whether the header field is set.
    • getHeader

      QueryHeader getHeader()
       *
       Standard information sent with every query operation.<br/>
       This includes the signed payment and what kind of response is requested
       (cost, state proof, both, or neither).
       <p>
       The payment MUST be sufficient for the base fees _and_ the full amount
       in the `gas` field.
       
      .proto.QueryHeader header = 1;
      Returns:
      The header.
    • hasContractID

      boolean hasContractID()
       *
       The ID of a smart contract to call.
       
      .proto.ContractID contractID = 2;
      Returns:
      Whether the contractID field is set.
    • getContractID

      ContractID getContractID()
       *
       The ID of a smart contract to call.
       
      .proto.ContractID contractID = 2;
      Returns:
      The contractID.
    • getGas

      long getGas()
       *
       The amount of "gas" to use for this call.
       <p>
       This transaction SHALL consume all of the gas offered and charge the
       corresponding fee according to the current exchange rate between
       HBAR and "gas".
       
      int64 gas = 3;
      Returns:
      The gas.
    • getFunctionParameters

      com.google.protobuf.ByteString getFunctionParameters()
       *
       The smart contract function to call, and the parameters to pass to that
       function.
       <p>
       These SHALL be presented in EVM bytecode function call format.
       
      bytes functionParameters = 4;
      Returns:
      The functionParameters.
    • getMaxResultSize

      @Deprecated long getMaxResultSize()
      Deprecated.
      proto.ContractCallLocalQuery.maxResultSize is deprecated. See contract_call_local.proto;l=88
       *
       Do not use this field; it is ignored in the current software.
       <p>
       The maximum number of bytes that the result might include.<br/>
       The call will fail if it would have returned more than this number
       of bytes.
       
      int64 maxResultSize = 5 [deprecated = true];
      Returns:
      The maxResultSize.
    • hasSenderId

      boolean hasSenderId()
       *
       The account that is the "sender" for this contract call.
       <p>
       If this is not set it SHALL be interpreted as the accountId from the
       associated transactionId.<br/>
       If this is set then either the associated transaction or the foreign
       transaction data MUST be signed by the referenced account.
       
      .proto.AccountID sender_id = 6;
      Returns:
      Whether the senderId field is set.
    • getSenderId

      AccountID getSenderId()
       *
       The account that is the "sender" for this contract call.
       <p>
       If this is not set it SHALL be interpreted as the accountId from the
       associated transactionId.<br/>
       If this is set then either the associated transaction or the foreign
       transaction data MUST be signed by the referenced account.
       
      .proto.AccountID sender_id = 6;
      Returns:
      The senderId.