ClientQuery

Represents a query request from a client.

JSON representation
{
  "senderId": string,
  "expireTime": string,

  // The following is a list of mutually exclusive fields. At most one of the
  // fields will be set in a response:
  "accountQuery": {
    object (AccountQuery)
  },
  "transactionStateQuery": {
    object (TransactionStateQuery)
  }
  // End of mutually exclusive fields.
}
Fields
senderId

string

Optional. The sender of the query request.

expireTime

string (Timestamp format)

Optional. The time at which the query will expire. This helps to limit the exposure to replay attacks. This field is required if the SignedQueryRequest contains a signature and is optional otherwise. The expiration time must be in the future and at most 5 minutes from the current time, that is now <= expireTime <= now + 5 min.

Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z" or "2014-10-02T15:01:23+05:30".

The query request specific message. The following is a list of mutually exclusive fields. At most one of the fields will be set in a response:
accountQuery

object (AccountQuery)

Optional. Query for the details of an account.

transactionStateQuery

object (TransactionStateQuery)

Optional. Query for the state of a transaction.

End of mutually exclusive fields.

TransactionStateQuery

A request to query the state of a transaction.

JSON representation
{
  "transactionDigestHex": string
}
Fields
transactionDigestHex

string

Required. The transaction ID to get the state of.