| Field | Type | Description |
|---|---|---|
payment | Transaction | A signed CryptoTransferTransaction to pay the node a fee for handling this query |
responseType | ResponseType | The requested response, asking for cost, state proof, both, or neither |
ResponseType
The client uses the ResponseType to request that the node send it just the answer, or both the answer and a state proof. It can also ask for just the cost for getting the answer or both. If the payment in the query fails the precheck, then the response may have some fields blank. The state proof is only available for some types of information. It is available for a Record, but not a receipt. It is available for the information in each kind of *GetInfo request.| Enum Name | Description |
|---|---|
ANSWER_ONLY | Response returns answer |
ANSWER_STATE_PROOF | Response returns both answer and state proof (not yet supported) |
COST_ANSWER | Response returns the cost of answer |
COST_ANSWER_STATE_PROOF | Response returns the total cost of answer and state proof (not yet supported) |