A collection of add-to-credits operations, each tagged with block height
This allows clients to determine which adds to apply based on their sync height
| Field | Type | Label | Description |
| entries | BlockHeightCreditEntry | repeated |
|
| Field | Type | Label | Description |
| address | bytes |
|
|
| set_balance | uint64 |
|
|
| add_to_balance | uint64 |
|
| Field | Type | Label | Description |
| block_changes | BlockAddressBalanceChanges | repeated |
|
| Field | Type | Label | Description |
| address_info_entries | AddressInfoEntry | repeated |
|
| Field | Type | Label | Description |
| address | bytes |
|
|
| balance_and_nonce | BalanceAndNonce | optional |
|
AllKeys is an empty message used to signify a request for all keys
| Field | Type | Label | Description |
| balance | uint64 |
|
|
| nonce | uint32 |
|
| Field | Type | Label | Description |
| block_height | uint64 |
|
|
| changes | AddressBalanceChange | repeated |
|
Entry for block height to credits mapping in AddToCreditsOperations
| Field | Type | Label | Description |
| block_height | uint64 |
|
|
| credits | uint64 |
|
| Field | Type | Label | Description |
| state_transition | bytes |
|
Compacted address balance change supporting block-aware credit operations
For SetCredits: the final balance value
For AddToCreditsOperations: preserves individual adds with their block heights
| Field | Type | Label | Description |
| address | bytes |
|
|
| set_credits | uint64 | The address balance was set to this value (overwrites previous) |
|
| add_to_credits_operations | AddToCreditsOperations | Individual add-to-credits operations by block height (preserved for partial sync) |
| Field | Type | Label | Description |
| compacted_block_changes | CompactedBlockAddressBalanceChanges | repeated |
|
| Field | Type | Label | Description |
| start_block_height | uint64 |
|
|
| end_block_height | uint64 |
|
|
| changes | CompactedAddressBalanceChange | repeated |
|
| Field | Type | Label | Description |
| v0 | GetAddressInfoRequest.GetAddressInfoRequestV0 |
|
| Field | Type | Label | Description |
| address | bytes |
|
|
| prove | bool |
|
| Field | Type | Label | Description |
| v0 | GetAddressInfoResponse.GetAddressInfoResponseV0 |
|
| Field | Type | Label | Description |
| address_info_entry | AddressInfoEntry |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| v0 | GetAddressesBranchStateRequest.GetAddressesBranchStateRequestV0 |
|
| Field | Type | Label | Description |
| key | bytes |
|
|
| depth | uint32 |
|
|
| checkpoint_height | uint64 | Block height from trunk response metadata for consistency |
| Field | Type | Label | Description |
| v0 | GetAddressesBranchStateResponse.GetAddressesBranchStateResponseV0 |
|
| Field | Type | Label | Description |
| merk_proof | bytes |
|
| Field | Type | Label | Description |
| v0 | GetAddressesInfosRequest.GetAddressesInfosRequestV0 |
|
| Field | Type | Label | Description |
| addresses | bytes | repeated |
|
| prove | bool |
|
| Field | Type | Label | Description |
| v0 | GetAddressesInfosResponse.GetAddressesInfosResponseV0 |
|
| Field | Type | Label | Description |
| address_info_entries | AddressInfoEntries |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| v0 | GetAddressesTrunkStateRequest.GetAddressesTrunkStateRequestV0 |
|
| Field | Type | Label | Description |
| v0 | GetAddressesTrunkStateResponse.GetAddressesTrunkStateResponseV0 |
|
| Field | Type | Label | Description |
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| v0 | GetConsensusParamsRequest.GetConsensusParamsRequestV0 |
|
| Field | Type | Label | Description |
| height | int32 | The blockchain height at which to get the consensus parameters |
|
| prove | bool | Flag to request a proof as the response |
| Field | Type | Label | Description |
| v0 | GetConsensusParamsResponse.GetConsensusParamsResponseV0 |
|
| Field | Type | Label | Description |
| max_bytes | string | The maximum size of a block in bytes |
|
| max_gas | string | The maximum gas allowed in a block |
|
| time_iota_ms | string | The minimum time increment between consecutive |
| Field | Type | Label | Description |
| max_age_num_blocks | string | The maximum age of evidence, in number of blocks |
|
| max_age_duration | string | The maximum age of evidence, as a duration |
|
| max_bytes | string | The maximum size of evidence in bytes |
| Field | Type | Label | Description |
| block | GetConsensusParamsResponse.ConsensusParamsBlock | Consensus parameters related to block creation and validation |
|
| evidence | GetConsensusParamsResponse.ConsensusParamsEvidence | Consensus parameters related to evidence |
How did an identity vote?
| Field | Type | Label | Description |
| v0 | GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0 |
|
| Field | Type | Label | Description |
| identity_id | bytes |
|
|
| limit | google.protobuf.UInt32Value |
|
|
| offset | google.protobuf.UInt32Value |
|
|
| order_ascending | bool |
|
|
| start_at_vote_poll_id_info | GetContestedResourceIdentityVotesRequest.GetContestedResourceIdentityVotesRequestV0.StartAtVotePollIdInfo | optional |
|
| prove | bool |
|
| Field | Type | Label | Description |
| start_at_poll_identifier | bytes |
|
|
| start_poll_identifier_included | bool |
|
| Field | Type | Label | Description |
| v0 | GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0 |
|
| Field | Type | Label | Description |
| votes | GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVotes |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| contract_id | bytes |
|
|
| document_type_name | string |
|
|
| serialized_index_storage_values | bytes | repeated |
|
| vote_choice | GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice |
|
| Field | Type | Label | Description |
| contested_resource_identity_votes | GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ContestedResourceIdentityVote | repeated |
|
| finished_results | bool |
|
| Field | Type | Label | Description |
| vote_choice_type | GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType |
|
|
| identity_id | bytes | optional | Only used when vote_choice_type is TOWARDS_IDENTITY |
What's the state of a contested resource vote? (ie who is winning?)
| Field | Type | Label | Description |
| v0 | GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0 |
|
| Field | Type | Label | Description |
| contract_id | bytes |
|
|
| document_type_name | string |
|
|
| index_name | string |
|
|
| index_values | bytes | repeated |
|
| result_type | GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType |
|
|
| allow_include_locked_and_abstaining_vote_tally | bool |
|
|
| start_at_identifier_info | GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.StartAtIdentifierInfo | optional |
|
| count | uint32 | optional |
|
| prove | bool |
|
| Field | Type | Label | Description |
| start_identifier | bytes |
|
|
| start_identifier_included | bool |
|
| Field | Type | Label | Description |
| v0 | GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0 |
|
| Field | Type | Label | Description |
| contested_resource_contenders | GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.ContestedResourceContenders |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| identifier | bytes |
|
|
| vote_count | uint32 | optional |
|
| document | bytes | optional |
|
| Field | Type | Label | Description |
| contenders | GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.Contender | repeated |
|
| abstain_vote_tally | uint32 | optional |
|
| lock_vote_tally | uint32 | optional |
|
| finished_vote_info | GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo | optional |
|
| Field | Type | Label | Description |
| finished_vote_outcome | GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome |
|
|
| won_by_identity_id | bytes | optional | Only used when vote_choice_type is TOWARDS_IDENTITY |
| finished_at_block_height | uint64 |
|
|
| finished_at_core_block_height | uint32 |
|
|
| finished_at_block_time_ms | uint64 |
|
|
| finished_at_epoch | uint32 |
|
Who voted for a contested resource to go to a specific identity?
| Field | Type | Label | Description |
| v0 | GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0 |
|
| Field | Type | Label | Description |
| contract_id | bytes |
|
|
| document_type_name | string |
|
|
| index_name | string |
|
|
| index_values | bytes | repeated |
|
| contestant_id | bytes |
|
|
| start_at_identifier_info | GetContestedResourceVotersForIdentityRequest.GetContestedResourceVotersForIdentityRequestV0.StartAtIdentifierInfo | optional |
|
| count | uint32 | optional |
|
| order_ascending | bool |
|
|
| prove | bool |
|
| Field | Type | Label | Description |
| start_identifier | bytes |
|
|
| start_identifier_included | bool |
|
| Field | Type | Label | Description |
| v0 | GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0 |
|
| Field | Type | Label | Description |
| contested_resource_voters | GetContestedResourceVotersForIdentityResponse.GetContestedResourceVotersForIdentityResponseV0.ContestedResourceVoters |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| voters | bytes | repeated |
|
| finished_results | bool |
|
| Field | Type | Label | Description |
| v0 | GetContestedResourcesRequest.GetContestedResourcesRequestV0 |
|
| Field | Type | Label | Description |
| contract_id | bytes |
|
|
| document_type_name | string |
|
|
| index_name | string |
|
|
| start_index_values | bytes | repeated |
|
| end_index_values | bytes | repeated |
|
| start_at_value_info | GetContestedResourcesRequest.GetContestedResourcesRequestV0.StartAtValueInfo | optional |
|
| count | uint32 | optional |
|
| order_ascending | bool |
|
|
| prove | bool |
|
| Field | Type | Label | Description |
| start_value | bytes |
|
|
| start_value_included | bool |
|
| Field | Type | Label | Description |
| v0 | GetContestedResourcesResponse.GetContestedResourcesResponseV0 |
|
| Field | Type | Label | Description |
| contested_resource_values | GetContestedResourcesResponse.GetContestedResourcesResponseV0.ContestedResourceValues |
|
|
| proof | Proof |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| contested_resource_values | bytes | repeated |
|
| Field | Type | Label | Description |
| v0 | GetCurrentQuorumsInfoRequest.GetCurrentQuorumsInfoRequestV0 |
|
| Field | Type | Label | Description |
| v0 | GetCurrentQuorumsInfoResponse.GetCurrentQuorumsInfoResponseV0 |
|
| Field | Type | Label | Description |
| quorum_hashes | bytes | repeated |
|
| current_quorum_hash | bytes |
|
|
| validator_sets | GetCurrentQuorumsInfoResponse.ValidatorSetV0 | repeated |
|
| last_block_proposer | bytes |
|
|
| metadata | ResponseMetadata |
|
| Field | Type | Label | Description |
| quorum_hash | bytes |
|
|
| core_height | uint32 |
|
|
| members | GetCurrentQuorumsInfoResponse.ValidatorV0 | repeated |
|
| threshold_public_key | bytes |
|
| Field | Type | Label | Description |
| pro_tx_hash | bytes |
|
|
| node_ip | string |
|
|
| is_banned | bool |
|
| Field | Type | Label | Description |
| v0 | GetDataContractHistoryRequest.GetDataContractHistoryRequestV0 |
|
| Field | Type | Label | Description |
| id | bytes | The unique ID of the data contract |
|
| limit | google.protobuf.UInt32Value | The maximum number of history entries to return |
|
| offset | google.protobuf.UInt32Value | The offset for pagination through the contract history |
|
| start_at_ms | uint64 | Only return results starting at this time in milliseconds |
|
| prove | bool | Flag to request a proof as the response |
| Field | Type | Label | Description |
| v0 | GetDataContractHistoryResponse.GetDataContractHistoryResponseV0 |
|
| Field | Type | Label | Description |
| data_contract_history | GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistory | The actual history of the data contract |
|
| proof | Proof | Cryptographic proof of the data contract history, if requested |
|
| metadata | ResponseMetadata | Metadata about the blockchain state |
Collection of data contract history entries
| Field | Type | Label | Description |
| data_contract_entries | GetDataContractHistoryResponse.GetDataContractHistoryResponseV0.DataContractHistoryEntry | repeated | List of history entries |
Represents a single entry in the data contract's history
| Field | Type | Label | Description |
| date | uint64 | The date of the history entry |
|
| value | bytes | The value of the data contract at this point in history |
| Field | Type | Label | Description |
| v0 | GetDataContractRequest.GetDataContractRequestV0 |
|
| Field | Type | Label | Description |
| id | bytes | The ID of the data contract being requested |
|
| prove | bool | Flag to request a proof as the response |
| Field | Type | Label | Description |
| v0 | GetDataContractResponse.GetDataContractResponseV0 |
|
| Field | Type | Label | Description |
| data_contract | bytes | The actual data contract in binary form |
|
| proof | Proof | Cryptographic proof of the data contract, if requested |
|
| metadata | ResponseMetadata | Metadata about the blockchain state |
| Field | Type | Label | Description |
| v0 | GetDataContractsRequest.GetDataContractsRequestV0 |
|
| Field | Type | Label | Description |
| ids | bytes | repeated | A list of unique IDs for the data contracts being requested |
| prove | bool | Flag to request a proof as the response |
| Field | Type | Label | Description |
| v0 | GetDataContractsResponse.GetDataContractsResponseV0 |
|
| Field | Type | Label | Description |
| identifier | bytes | The unique identifier of the data contract |
|
| data_contract | google.protobuf.BytesValue | The actual data contract content |
DataContracts is a collection of data contract entries.
| Field | Type | Label | Description |
| data_contract_entries | GetDataContractsResponse.DataContractEntry | repeated | A list of data contract entries |
| Field | Type | Label | Description |
| data_contracts | GetDataContractsResponse.DataContracts | The actual data contracts requested |
|
| proof | Proof | Cryptographic proof for the data contracts, if requested |
|
| metadata | ResponseMetadata | Metadata about the blockchain state |
| Field | Type | Label | Description |
| v0 | GetDocumentHistoryRequest.GetDocumentHistoryRequestV0 |
|
| Field | Type | Label | Description |
| data_contract_id | bytes | The ID of the data contract |
|
| document_type_name | string | The document type name |
|
| document_id | bytes | The document ID |
|
| limit | google.protobuf.UInt32Value | The maximum number of history entries to return |
|
| offset | google.protobuf.UInt32Value | The offset for pagination through the document history |
|
| start_at_ms | uint64 | Only return results after this time in milliseconds |
|
| prove | bool | Flag to request a proof as the response |
| Field | Type | Label | Description |
| v0 | GetDocumentHistoryResponse.GetDocumentHistoryResponseV0 |
|
| Field | Type | Label | Description |
| document_history | GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistory | The actual history of the document |
|
| proof | Proof | Cryptographic proof of the document history, if requested |
|
| metadata | ResponseMetadata | Metadata about the blockchain state |
Collection of document history entries
| Field | Type | Label | Description |
| document_entries | GetDocumentHistoryResponse.GetDocumentHistoryResponseV0.DocumentHistoryEntry | repeated | List of history entries |
Represents a single entry in a document's history
| Field | Type | Label | Description |
| date | uint64 | The date of the history entry |
|
| value | bytes | The value of the document at this point in history |
| Field | Type | Label | Description |
| v0 | GetDocumentsRequest.GetDocumentsRequestV0 |
|
|
| v1 | GetDocumentsRequest.GetDocumentsRequestV1 |
|
Tagged scalar (or list) operand for a `WhereClause`. The
variant the caller picks names the wire-level primitive type
only — the **document type's schema** is the source of truth
for the indexed field's actual type, and the server coerces
each variant through the schema-driven
`document_type.serialize_value_for_key(field, value, …)` path
(the same path the CBOR-shaped v0 request flows through). That
means:
- Identifier-typed fields accept either a `bytes_value` (raw
32 bytes) **or** a `text` (base58-encoded). The schema
decides; callers don't need a dedicated identifier variant.
- Fixed-width byte fields (e.g. `Bytes20`/`Bytes36`) accept
`bytes_value` of the appropriate length; the schema
validates the size.
- Numeric fields accept the closest-fit signed (`int64_value`)
or unsigned (`uint64_value`) variant; the schema coerces to
the indexed type (`u8` … `u64`/`i8` … `i64`/`u128`/`i128`).
- String / bool fields accept `text` / `bool_value`.
The `null_value` variant is the typed-wire equivalent of a CBOR
`null` operand on the v0 path. Callers should NOT use it for
"no clause" — empty where-clauses are still expressed by
leaving `GetDocumentsRequestV1.where_clauses` empty. It exists
for clauses that legitimately compare against `null` (e.g.
queries on schema-nullable index entries from the v0 wire that
round-trip through the v1 surface).
| Field | Type | Label | Description |
| bool_value | bool |
|
|
| int64_value | sint64 |
|
|
| uint64_value | uint64 |
|
|
| double_value | double |
|
|
| text | string |
|
|
| bytes_value | bytes |
|
|
| list | GetDocumentsRequest.DocumentFieldValue.ValueList |
|
|
| null_value | bool | `bool` payload is a placeholder — only the discriminant matters. Picking the variant means "this operand is null"; the bool value itself is ignored on the server. |
Recursive list — operand for `IN` (candidate values) and
`BETWEEN*` (exactly 2 values `[lower, upper]`). Nested
`list` is structurally allowed but every supported document
index value-type is currently scalar, so callers should not
need to nest.
| Field | Type | Label | Description |
| values | GetDocumentsRequest.DocumentFieldValue | repeated |
|
| Field | Type | Label | Description |
| data_contract_id | bytes | The ID of the data contract containing the documents |
|
| document_type | string | The type of document being requested |
|
| where | bytes | Conditions to be met by the requested documents |
|
| order_by | bytes | Ordering criteria for the documents |
|
| limit | uint32 | Maximum number of documents to return |
|
| start_after | bytes | Start retrieval after this document |
|
| start_at | bytes | Start retrieval at this document |
|
| prove | bool | Flag to request a proof as the response |
SQL-shaped successor to v0 that unifies `getDocuments` and
`getDocumentsCount` under a single request type with a typed
`select` projection and optional `group_by` / `having` clauses.
Mode is determined by `select` × `group_by` × `having`:
* `select = DOCUMENTS, group_by = []`: return matched documents
(identical semantics to v0).
* `select = COUNT, group_by = []`: return a single aggregate
count. With an `In` clause the server fans out per-In via
`query_aggregate_count` and sums (O(|In| × log n), see
`RangeNoProof`'s compound-summed path); with a range clause
it uses `AggregateCountOnRange`.
* `select = COUNT, group_by = [
`CountEntry` rows. Only supported when the grouping field
matches an `In`-constrained or range-constrained where clause;
other shapes return `Unsupported` (see supported-shape table
below).
**Ranked mode** is served from protocol v14 and is selected by
`group_by` + a single `order_by` naming the selected aggregate —
SQL's own top-n spelling, `ORDER BY
It returns `ResultData.ranked`. See `order_by` and the
supported-shape table below.
**Having-range mode** is served from protocol v14: a single
`having` clause whose aggregate is the selected aggregate turns
the request into a bounded range read over the same per-axis
secondary ranked mode walks, answered in `ResultData.ranked`.
On protocol v13 and earlier every non-empty `having` is rejected
(`"HAVING clause is not yet implemented"`). `having` carries no
ranking spelling: an earlier draft put cross-group ranking on the
right of a `HAVING` (`HAVING AVG(grade) IN TOP(5)`) and that
grammar was removed before release in favour of `ORDER BY` +
`LIMIT`. See the supported-shape table below.
**Supported shapes** (everything else rejects with a typed
`QuerySyntaxError::Unsupported` so callers can detect un-wired
capabilities without parsing prose). Bullets are kept
single-line so the generated Rust doc comments don't trip
rustdoc's `list_item_without_indent` lint on continuation
lines.
`select=DOCUMENTS, group_by=[]`: any where shape v0 supports.
`select=COUNT, group_by=[]`:
- empty where → `documentsCountable: true` doctype.
- `==` only → `countable: true` index covering the fields.
- one `In` → `countable: true` index covering the fields (per-In aggregate fan-out).
- one range → `rangeCountable: true` index.
- one `In` + one range → `rangeCountable: true` compound index (per-In aggregate fan-out on no-proof; rejected on prove because the aggregate proof primitive can't fork).
`select=COUNT, group_by=[g]`:
- g is the In clause's field → `countable: true` index, grouped by g (PerInValue on no-proof, CountTree element proof per In branch on prove).
- g is the range clause's field → `rangeCountable: true` index, grouped by g (RangeDistinct on no-proof, distinct range proof on prove).
`select=COUNT, group_by=[a, b]`:
- a is the In field AND b is the range field, in that order → existing compound distinct shape; entries carry both `in_key` (= a's value) and `key` (= b's value).
`select=
- exactly one `group_by` property, exactly one `order_by` clause naming the select's aggregate (`f` for `SUM(f)` / `AVG(f)`, the `$count` sentinel for `COUNT(*)`), a `limit` in `1 ..= 100`, an optional `offset`, and no `having` / `start_at`, on an index declaring the matching `rankedCountable` / `rankedSummable` / `rankedAverageable` axis → ranked executor, answered in `ResultData.ranked`. On a single-property ranked index no `where` is accepted; on a compound ranked index every leading index property must be pinned (one clause per property, `group_by` names the trailing property) — `EQUAL` pins one prefix, and **at most one** clause may be `IN` (2..=10 distinct elements, `null` legal; a single-element `IN` normalizes to the equality pin; an element whose prefix was never written — at any depth of its pinned chain — contributes an empty branch, union semantics), fanning the walk out across one prefix branch per element and merging by `(aggregate, encoded prefix, group key)`; merged entries carry `in_key`. A non-zero `offset` is rejected together with `IN` (rank-skip is per-secondary; `OFFSET 0` is the offset-free request).
- `DESC` is the "top n" reading (walk the axis from the largest aggregate down), `ASC` the "bottom n" reading. Worked example: `SELECT AVG(grade) GROUP BY restaurantId ORDER BY grade DESC LIMIT 1 OFFSET 4` is the 5th-best restaurant.
`select=
- exactly one `group_by` property, exactly one `having` clause whose aggregate is the select's aggregate, an operator describing one contiguous range (`EQUAL`, `GREATER_THAN[_OR_EQUALS]`, `LESS_THAN[_OR_EQUALS]`, `BETWEEN*`; `NOT_EQUAL` / `IN` rejected), a `limit` in `1 ..= 100`, an optional `order_by` naming the same aggregate (walk direction; ascending by default), and no `offset` / `start_at` / `start_after`, on an index declaring the matching ranked axis → having-range executor, answered in `ResultData.ranked`. `where` follows the same rule as ranked mode: none on a single-property ranked index; exactly one pin per leading index property on a compound ranked index, at most one of them an `IN` (2..=10 distinct elements; a never-written element contributes an empty branch) that fans the bound out across prefix branches and merges, entries carrying `in_key`.
- no offset or cursor pagination: a page cut at `limit` continues only by tightening the bound past the last *distinct* aggregate value seen; a cut inside a tie (several groups sharing the boundary aggregate) cannot be continued, so size `limit` above the widest expected tie.
**Rejected shapes** (return `Unsupported`):
- any non-empty `having` on protocol v13 and earlier; at v14+, any `having` shape outside having-range mode above (multiple clauses, an aggregate other than the select's, `NOT_EQUAL` / `IN` as the having operator, a `where` shape other than the compound-index prefix pins above — equality pins plus at most one bounded `IN` — or a carried `offset` / cursor).
- at v14+: a ranked-shaped request carrying a `where` shape other than the compound-index prefix pins above (an operator other than `EQUAL` or the one permitted `IN`, more than one `IN`, a `null` pin combined with an `IN`, a repeated or non-leading property, or a missing pin), a `start_at` / `start_after` cursor, more than one `order_by`, or an `order_by` naming anything but the selected aggregate.
- `select=DOCUMENTS` with non-empty `group_by`.
- `select=COUNT` with `group_by` on a field that is not constrained by an `In` or range where clause.
- `select=COUNT` with `group_by.len() > 2`.
- `select=COUNT` with 2-field `group_by` that does not match the `(in_field, range_field)` shape above.
**Absent-from-tree branches on `In`-grouped queries**: when
`select=COUNT, group_by=[in_field]` and an `In` value has no
matching documents, the underlying merk index has nothing to
emit (zero-count branches aren't materialized as CountTree
elements), so the wire `CountEntries.entries` list contains
only the In values that exist.
The SDK's proof decoder surfaces this by **omission**, not by
a sentinel `count` value: the current point-lookup path query
doesn't set `absence_proofs_for_non_existing_searched_keys:
true`, so grovedb's `verify_query` silently drops absent-Key
branches from the verified elements stream. The drive-side
verifier (`verify_point_lookup_count_proof`) therefore emits
one `SplitCountEntry` per **present** In branch and the SDK
wraps those into `CountEntry`. Callers that need to detect
"queried but absent" diff their request's In array against
the returned entries by `key` (each entry's `key` is the
serialized In value, recoverable via
`document_type.serialize_value_for_key(in_field, v, …)`).
`SplitCountEntry::count`'s `Option
variant exist for a future absence-proof variant; today the
wire `CountEntry.count` is plain `uint64`.
For range-grouped queries the walker only emits keys that
exist in the index, which IS SQL-conformant; no equivalent
reconstruction step because the range itself is unbounded and
the caller has no explicit "expected keys" list to compare
against.
| Field | Type | Label | Description |
| data_contract_id | bytes | The data contract owning the documents |
|
| document_type | string | Document type within the contract |
|
| where_clauses | GetDocumentsRequest.WhereClause | repeated | Structured where clauses. Empty list = no `WHERE` filter (return all matching rows under the document type / contract). See top-level `WhereClause` for shape semantics. |
| order_by | GetDocumentsRequest.OrderClause | repeated | Structured order_by clauses. Empty list = no explicit ordering (server applies the index's natural order). Multiple entries express SQL's `ORDER BY a ASC, b DESC, …` shape; the first entry's direction also governs split-mode entry ordering on `select=COUNT` paths. |
| limit | uint32 | optional | Maximum number of rows to return. **Wire semantics on the `optional uint32` field**: `None` (unset) requests the server's default; `Some(N)` with `N > 0` requests an explicit cap of `N`. `Some(0)` is **rejected with `InvalidLimit` across every SELECT mode** — zero-cap is structurally meaningless and the legacy v0 `uint32`-with-0-as- sentinel mapping doesn't extend to `optional uint32` (the whole point of switching is that `None` carries "unset" explicitly). Callers must send `None` for "use server default." Per-mode behavior of `Some(N > 0)`: - `select=DOCUMENTS`: matched-document cap (same as v0). - `select=COUNT, group_by=[]`: **rejected with `InvalidLimit` when set**. Aggregate count is a single row by construction — a limit would either be redundant (≥ 1) or silently mislead callers if the dispatcher's per-In fan-out honored it and returned a partial sum disguised as a total. Omit `limit` for aggregate count. - `select=COUNT, group_by=[in_field]`: **rejected with `InvalidLimit` when set**. The In array is already capped at 100 entries by `WhereClause::in_values()`, so the result is bounded by construction; a separate `limit` would either be redundant or silently truncate the proof to fewer In branches than the caller asked for (the PointLookupProof shape can't represent a partial-In selection in its `SizedQuery`). Narrow the In array directly to reduce the result set. - `select=COUNT, group_by=[range_field]`: entries cap on the distinct-range walk. - `select=COUNT, group_by=[in_field, range_field]`: global cap over the emitted `(in_key, key)` lex stream — NOT per-In-branch. The compound walk pushes one `SizedQuery::limit` over the combined tuple stream, so a request with `|In| = 3` and `limit = 5` returns at most 5 entries total across all In branches (ordered by `(in_key, key)`, direction from the first `order_by` clause). Both range-grouped variants share the same validate-don't- clamp policy on prove paths — `limit > max_query_limit` returns `InvalidLimit` rather than silent clamping (see `RangeDistinctProof`'s contract; unset falls back to the SDK-shared `DEFAULT_QUERY_LIMIT` compile-time constant so proof bytes are deterministic across operators). |
| start_after | bytes |
|
|
| start_at | bytes |
|
|
| prove | bool | Request a grovedb proof instead of raw rows |
|
| selects | GetDocumentsRequest.GetDocumentsRequestV1.Select | repeated | SQL `SELECT` projection list. Multiple entries express
`SELECT f1(a), f2(b), …` — one row per group carrying a
parallel list of aggregate values in the response.
Empty list defaults to a single `documents()` projection
for v0-style document fetch — callers that don't opt into
the SQL-shaped surface get plain row semantics.
**Currently rejected when `selects.len() > 1`** with
`Unsupported("multi-projection SELECT is not yet
implemented")`. The single-projection cases `DOCUMENTS`,
`COUNT(*)`, `SUM( |
| group_by | string | repeated | SQL `GROUP BY` field names, in left-to-right order. Empty = no explicit grouping (aggregate for `select=COUNT`). See the message-level docstring for the supported-shape table. |
| having | GetDocumentsRequest.HavingClause | repeated | SQL `HAVING` clauses — **boolean** aggregate filters that
apply to the grouped rows produced by `select= |
| offset | uint32 | optional | Row-based pagination offset, on top of the cursor-based `start_after` / `start_at` pagination. `OFFSET N` skips the first `N` result rows before applying `limit`. **Consumed in ranked mode** (protocol v14+): on a request that routes to the ranked executor (`group_by` + a single `order_by` naming the selected aggregate), `offset` skips that many ranks before the returned page, so `ORDER BY avg(grade) DESC LIMIT 1 OFFSET 4` is the 5th-best group. The skip is **counted, not walked**: grovedb descends on each subtree's aggregate count and collapses whole subtrees that fit inside the remaining offset, so the work stays `O(log n + k)` at any offset and the response reports the skip it performed in `RankedEntries.skipped`. On a proved request that count is additionally *attested* — committed to by the proof and re-derived by the verifier; on an unproved one it is the node's own report. See `RankedEntries.skipped`. There is deliberately no ceiling — an offset of 4 and an offset of four billion cost the same *order* of work — neither walks the region it skips — so there is no denial-of-service lever a cap would close. An offset past the end of the ranking is a provable answer rather than an error: `entries` comes back empty and `skipped` is the ranking's whole population. **Rejected everywhere else** with `Unsupported("OFFSET pagination is not yet implemented")` — including on every path at protocol v13 and earlier, which has no ranked executor. Cursor pagination via `start_after` / `start_at` remains the supported way to page through documents. |
Projection over the matched row set. `(function, field)`
pair — analogous to `HavingAggregate`'s shape but with an
additional `DOCUMENTS` variant for the row-fetch path.
Determines what the response carries:
- `DOCUMENTS`: `ResultData.documents` (matched rows;
`field` must be empty).
- `COUNT`: `ResultData.counts` carrying row counts. Empty
`field` is `COUNT(*)` (group cardinality); non-empty is
`COUNT(field)` (non-null `field` values).
- `SUM` / `AVG`: `ResultData` carrying numeric
aggregate(s); `field` is required and must be a
numeric-typed schema field.
Single-aggregate vs per-group response shape comes from
`group_by` (empty → single, non-empty → per-group entries) —
same rule as today's `COUNT` routing.
**Server capability today**: `DOCUMENTS`, `COUNT(*)` (empty
`field`), `SUM(
end-to-end (no-proof and proof paths route through the drive
count / sum / average dispatchers). `COUNT(
value counting on a specific field), `MIN(
`MAX(
with `Unsupported("SELECT … is not yet implemented")` so the
surface is shipped first and execution lands later without
another version bump. MIN/MAX in particular wait on a grovedb
primitive — there's no min/max aggregate on count or sum
trees today, and the order-by-then-LIMIT-1 emulation has the
wrong proof shape for the cryptographic verifier.
| Field | Type | Label | Description |
| function | GetDocumentsRequest.GetDocumentsRequestV1.Select.Function |
|
|
| field | string | Field the projection function is applied to. See the message-level docstring for the per-function requirement (empty for `DOCUMENTS`, optional for `COUNT`, required for `SUM` / `AVG` / `MIN` / `MAX`). |
Per-group aggregate operand for the left side of a
`HavingClause`, and the aggregate-function target of an
`OrderClause`. Only the per-group aggregates live here —
`HAVING` is a boolean predicate over one group's own aggregate,
and nothing on this message reaches across groups. Cross-group
ranking ("which groups score highest?") is expressed with SQL's
ordering surface instead: `ORDER BY
DESC LIMIT n [OFFSET m]`. See `GetDocumentsRequestV1.order_by`.
**Field semantics by function**:
- `COUNT`: empty `field` means `COUNT(*)` (group cardinality);
non-empty `field` means `COUNT(field)` (count of non-null
values of `field` in the group).
- `SUM` / `AVG`: `field` is required.
| Field | Type | Label | Description |
| function | GetDocumentsRequest.HavingAggregate.Function |
|
|
| field | string | Required for every function except `COUNT`; for `COUNT` an empty `field` means `COUNT(*)`. |
Single `HAVING
entries in `GetDocumentsRequestV1.having` combine with
implicit AND — same semantics as multiple `where_clauses`
entries. `HAVING COUNT(*) > 5 AND SUM(amount) > 100` is two
`HavingClause` rows, not a tree.
**`HAVING` is a boolean per-group predicate and nothing else.**
Its right operand is always a literal `DocumentFieldValue`; it
never names another group or the set of groups. Cross-group
ranking — "the 5 highest-scoring groups" — is `ORDER BY selected aggregate> DESC LIMIT 5`, exactly as in SQL, and is served by the ranked executor (protocol v14+). An earlier draft of this surface carried the ranking on the right of a `HAVING` (`HAVING AVG(grade) IN TOP(5)`); that spelling was removed before release rather than deprecated, because it invented non-SQL grammar for something SQL already expresses. **From protocol v14 a single `HAVING` clause is served as a bounded range read** (having-range mode): `SELECT p HAVING LIMIT n` answers from the same per-axis secondary as ranked mode, on an index declaring the matching ranked axis. The clause's aggregate must be the selected aggregate, the operator must describe one contiguous range (`NOT_EQUAL` / `IN` are rejected), and the optional `ORDER BY` picks the walk direction using the same order-key spelling as ranked mode: `f` for `SUM(f)` / `AVG(f)`, the `$count` sentinel for `COUNT(*)` — never an explicit `OrderClause.aggregate` target, which is rejected. See the supported-shape table on `GetDocumentsRequestV1`. On protocol v13 and earlier every non-empty `having` stays rejected with `Unsupported`, exactly as before. The operator set mirrors `WhereOperator` minus `STARTS_WITH` (prefix matching has no natural meaning against a scalar aggregate result, even a string-typed one). `BETWEEN*` and `IN` operand semantics match `WhereOperator`: `BETWEEN*` expects a 2-element `DocumentFieldValue.list` carrying `[lower, upper]`, and `IN` expects a `list` of candidate values. The `right` oneof exists (rather than a bare `DocumentFieldValue` field) so the "unset right operand" case stays distinguishable from "the literal null value"; the wire rejects an unset `right`. Single `ORDER BY ordering is expressed by repeating this message at the request level (`repeated OrderClause order_by = 4`), matching SQL's `ORDER BY a ASC, b DESC` shape. The `target` oneof carries either a plain field name (`ORDER BY field`) or an aggregate function applied to a field (`ORDER BY COUNT(*)`, `ORDER BY SUM(amount)`). **Two distinct roles ride the `field` target.** 1. *Row ordering* — `select = DOCUMENTS`. `field` names a document property and the matched rows come back in that order. This is v0's behaviour, unchanged. 2. *Aggregate ordering* — the **ranked** surface (protocol v14+). With a `GROUP BY` and a single aggregate `select`, exactly one `order_by` clause naming that select's aggregate orders the *groups* by their aggregate value and routes the request to the ranked executor: ```text SELECT AVG(grade) GROUP BY restaurantId ORDER BY grade DESC LIMIT 3 -- 3 best restaurants SELECT COUNT(*) GROUP BY restaurantId ORDER BY $count DESC LIMIT 10 OFFSET 10 -- busiest, page 2 ``` `SUM(f)` / `AVG(f)` are named by `f` — the same property the projection aggregates, which is how `ORDER BY avg(grade)` reads once `SELECT` has already fixed the function. `COUNT(*)` aggregates no property, so it is named by the reserved sentinel **`$count`**. The `$` prefix is what keeps the sentinel from colliding with a real document property: document properties cannot start with `$` (that namespace is the system fields' `$id` / `$ownerId` / …), so `$count` can never be mistaken for a column. `DESC` is the "top n" reading, `ASC` the "bottom n" reading. An `order_by` naming anything other than the selected aggregate — a second clause, the `GROUP BY` property, an unrelated field — is rejected rather than normalized: it asks for an ordering the ranked secondary cannot produce. **Aggregate target still rejected** with `Unsupported("ORDER BY on aggregate keys is not yet implemented")`. It is the *explicit* spelling of role 2 (`ORDER BY AVG(grade)` rather than `ORDER BY grade` under a `SELECT AVG(grade)`) and is wire-stable so it can start being evaluated without another version bump; today the field-target spelling above is the one the ranked executor reads. Plain field name. Today's evaluated form — a document
property for row ordering, or the selected aggregate's
property (`$count` for `COUNT(*)`) for aggregate ordering. Aggregate function applied to a field, sorted by the
per-group result. `function = DOCUMENTS` is invalid
here — DOCUMENTS isn't an aggregate. Single `field `Vec runs the same `WhereClause::group_clauses` validator (rejects duplicate / conflicting same-field clauses) and the same `> AND <` → `between*` canonicalizer the CBOR-shaped path uses, then hands the structured clauses to the executor. Wire semantics are identical to v0's CBOR `[field, op, value]` triples — only the envelope differs. The actual documents requested Cryptographic proof of the documents, if requested Metadata about the blockchain state Represents a collection of documents The actual documents in binary form v1 response. Two-variant outer `oneof` mirrors every other `Get*Response`: a non-proof result at position 1, the proof at position 2. The non-proof result is itself a `oneof` because a single v1 request can produce either matched documents (for `select=DOCUMENTS`) or count results (for `select=COUNT`) — wrapping them in an inner `ResultData` keeps the outer shape canonical without flattening to a three-variant oneof. Wire shape by `request.select` × `group_by` × `prove`: - `select=DOCUMENTS` (no prove) → `result.data.documents`. - `select=COUNT, group_by=[]` (no prove) → `result.data.counts.aggregate_count`. - `select=COUNT, group_by=[…]` (no prove) → `result.data.counts.entries`. - `select=SUM, group_by=[]` (no prove) → `result.data.sums.aggregate_sum`. - `select=SUM, group_by=[…]` (no prove) → `result.data.sums.entries`. - `select=AVG, group_by=[]` (no prove) → `result.data.averages.aggregate_average`. - `select=AVG, group_by=[…]` (no prove) → `result.data.averages.entries`. - any select (prove) → `result.proof`. **SUM / AVG status**: all four shapes above are wired end-to-end on the drive dispatcher (no-proof and proof paths both terminate at grovedb's aggregate-sum / sum-tree-walk primitives, not at a `NotYetImplemented` stub). The four resolved-mode tables (`compute_aggregate_mode_and_check_limit_v0`, `detect_count_mode`, `detect_sum_mode`, AVG mirror) decide which executor to run from the (mode × range × group_by × prove) tuple; the executors compose count and sum walks for AVG so there's no separate average primitive on the grovedb side. Routing details live in `packages/rs-drive/src/query/drive_document_{sum,average}_query/`. `CountResults` / `CountEntry` / `CountEntries` are nested in `GetDocumentsResponseV1` rather than re-exported from a top-level message — the v0 `getDocumentsCount` endpoint that previously owned them has been removed in this version (it shipped briefly in #3623 and never had stable callers); v1 is the single home for the count wire types. Aggregate average across all matched documents (no group_by). Same `(count, sum)` shape as a single entry — the client computes `avg = sum / count` itself. Average-side analog of `SumEntry` — one per matched key for `select=AVG, group_by=[…]` queries. Each entry carries BOTH the count and the sum for its group; the client divides `sum / count` to compute the actual average. Why no `average` field on the wire? Returning the (count, sum) pair preserves full precision and lets the client pick the representation it wants (integer-truncated division, floating- point, decimal). Returning a single pre-computed `average` would force the server to choose, and any choice loses information for callers that wanted a different one. This shape is produced by grovedb's `AggregateCountAndSumOnRange` primitive (one root-hash-committed traversal returning both metrics) which lands as part of grovedb PR 670 alongside the PCPS (`ProvableCountProvableSumTree`) tree element. `jstype = JS_STRING` on both fields so JS/Web clients receive
strings and don't lose precision on counts/sums exceeding
`Number.MAX_SAFE_INTEGER`. Non-proof average result. Same outer shape as `CountResults` / `SumResults`; the variants mirror them: * `aggregate_average`: `select=AVG, group_by=[]` — single `(count, sum)` pair with no per-key breakdown. * `entries`: `select=AVG, group_by=[…]` — one AverageEntry per distinct group, each carrying its own `(count, sum)`. A single per-key entry. Carries `in_key` for compound queries (`In` on a prefix property of a `range_countable` index plus a range clause on the terminator) where each entry is keyed by both the In-fork's prefix value (`in_key`) and the terminator value (`key`). Cross-fork aggregation is intentionally NOT done server-side — callers get the unmerged per-`(in_key, key)` view and can reduce client-side if they want a flat histogram. `jstype = JS_STRING` so JS/Web clients receive a string
and don't round counts > 2^53−1 to the nearest
representable Number. Non-proof count result. Shape is mode-dependent and made explicit on the wire via the inner `variant` oneof: * `aggregate_count`: `select=COUNT, group_by=[]` — single u64 with no per-key breakdown. * `entries`: `select=COUNT, group_by=[…]` — one CountEntry per distinct group, in serialized-key order (subject to the first `order_by` clause's direction and `limit`). Documents result variant — matches the v0 `Documents` message field-for-field (kept distinct so v1 doesn't reach into v0's namespace once v0 is eventually retired). Ranked result entries. **Entry order IS the ranking order** — best-first for `ORDER BY Clients must not re-sort; ties (equal aggregates) come back in group-key order in the direction of the walk, which is descending group-key order for `DESC`. Fewer than `limit` entries is normal — the index simply has fewer groups than requested — and is not an error. How many groups were skipped before the first entry — the
page's **starting rank base**. Entry `i` of `entries` is the
group at rank `skipped + i` (0-based).
`0` for an `OFFSET 0` (or offset-less) query, which is what
makes this field additive: a caller that never paginates sees
the value it would have assumed. For `OFFSET m` it is
normally `m`, and it is what turns a page back into a
*ranking* — without it, a caller who asked for
`ORDER BY avg(grade) DESC LIMIT 1 OFFSET 4` receives one
entry with no way to tell that it really is the 5th-best
group rather than the best.
**When a requested offset exceeds the population**, `entries`
is empty and `skipped` is the ranking's *total* reported
population — a positive, useful answer ("there are only 12
groups") rather than a bare empty list.
Both paths report the same quantity: the offset you asked for
when the skip succeeded, and the ranking's total population
when the walk ran out of groups first. They no longer disagree
anywhere, including past the end.
What differs is the *warrant*, not the value. On the proved
path the number is cryptographically attested — re-derived by
the verifier from the counted subtree commitments in the proof
bytes rather than trusted from this field — so a proving client
should use the verified value and ignore this one. On the
unproven path it is an **unverified claim**, exactly like the
entries beside it: it equals the attested value on an honest
node, and nothing forces a node to be honest. Read "the true
population" as "what this node says the population is".
Callers who need to trust it, rather than merely receive it,
must still prove.
Do not assume this field equals the offset you requested. It
equals the offset only when the skip succeeded; when the walk
ran out of groups first it is smaller, and that is the answer
rather than an inconsistency. One group in a ranked (`GROUP BY … ORDER BY result: the group's index key plus the aggregate it was ranked by. `key` is the raw index-key bytes of the GROUP BY property's value — the same bytes that name the group's value tree under the index (for a `string` property, its UTF-8 bytes). Clients that want the typed value decode it with the document type's key deserialization; the wire carries bytes so prover and verifier agree without a schema round-trip. Exactly one `value` variant is set, determined by the request's SELECT function: * `count` — `SELECT COUNT(*)`, ranked on the index's `rankedCountable` axis. * `sum` — `SELECT SUM(field)`, `rankedSummable` axis. Signed for the same reason `SumEntry.sum` is. * `avg` — `SELECT AVG(field)`, `rankedAverageable` axis. `jstype = JS_STRING` so JS/Web clients receive a string
and don't round counts > 2^53−1 to the nearest
representable Number — same choice as `CountEntry.count`. `jstype = JS_STRING` for the same precision reason as
`SumEntry.sum`. The group's average, as a **`double` approximation** of the
exact value the Avg axis is ordered by.
What grovedb actually commits to and sorts by is an `i128`
fixed-point integer: `floor(sum * SCALE / count)` with
euclidean (toward −∞) division, where SCALE is grovedb's
`AVG_FIXED_POINT_SCALE` (currently 10^19). This field is
that integer divided by SCALE in `f64`, i.e.
`fixed_point as f64 / SCALE as f64`.
A `double` is honest here because `RankedEntry` is only ever
populated on the **no-proof ("quick answer") path**, where
the client has already chosen to trust the server's reply.
A proof-verifying client never reads this field: it
reconstructs each entry from the grovedb proof itself, where
the exact fixed-point `i128` lives, so nothing about proof
verification depends on this number's precision.
Precision bound: `f64` carries ~15–16 significant decimal
digits, so two groups whose exact fixed-point averages differ
only beyond that can compare equal here. Do not use this
value for equality checks, tie-breaking, or any
reconstruction of the committed integer — request the proof
and read the fixed point from it instead. Entry *order* is
still exact: the server ranks on the i128 before converting.
SCALE is a grovedb constant, not a wire constant: it moved
from 10^15 to 10^19 before release. Clients that need it
(e.g. to go back to fixed point on the proof path) should
read it from the SDK's re-export (`RANKED_AVG_SCALE`) rather
than hardcoding the literal. The prefix branch this entry came from, set **only** on an
`IN`-pinned request (see the supported-shape table): the
encoded index-key bytes of the `IN` property's pinned value —
empty bytes for the `null` (absent-value) branch. Absent on
single-prefix responses. The same group key can legally appear
under two prefixes, so `(in_key, key)` is the entry's identity
on a merged page, exactly as on `CountEntry`. Non-proof result wrapper. The outer `oneof result` switches between this and `proof`; this inner oneof switches between the non-proof shapes the v1 surface can return. Sum-aggregate result. Routed when the request's
`select.function == SUM` and the dispatcher's
[`DriveDocumentSumQuery`] (in rs-drive) returns a
non-proof variant. The schema field name (`sums`) parallels
`counts` above; field numbers stay 1/2/3/4 per the proto-
wire-stability rule (additions only, never renumbers). Average-aggregate result. Routed when the request's
`select.function == AVG`. The dispatcher returns the
`(count, sum)` pair grovedb's `AggregateCountAndSumOnRange`
primitive produces in one root-hash-committed traversal;
the client divides to obtain the actual average. See
`book/src/drive/average-index-examples.md` for the design
and the grades-contract worked example. Ranked-aggregate result. Routed when the request pairs a
single-property `group_by` with a single `order_by` clause
naming the single aggregate `select` (the `$count` sentinel
for `COUNT(*)`) and a `limit` — SQL's `ORDER BY Sum-side analog of `CountEntry` — one per matched key for `select=SUM, group_by=[...]` queries. `in_key` carries the outer prefix value for compound `(In, range)` shapes; `key` carries the terminator value. `sum` is signed because grovedb's SumTree values are `i64` and sums can in principle be negative (deliberate i64-overflow signaling — see the sum-tree book chapter's "Signed `i64` overflow" note). For tip-jar-style non-negative sums this stays >= 0 in practice. `jstype = JS_STRING` so JS/Web clients receive a string
and don't round large sums to the nearest Number. Non-proof sum result. Same shape as `CountResults` for the sum surface — the variants mirror count's: * `aggregate_sum`: `select=SUM, group_by=[]` — single signed sum with no per-key breakdown. * `entries`: `select=SUM, group_by=[…]` — one SumEntry per distinct group. The starting epoch for the request The number of epochs to retrieve information for Flag indicating if the epochs should be listed in ascending order Flag to request a proof as the response The actual information about the requested epochs Cryptographic proof of the epoch information, if requested Metadata about the blockchain state EpochInfo represents information about a single epoch The number of the epoch The height of the first block in this epoch The height of the first Core block in this epoch The start time of the epoch The fee multiplier applicable in this epoch EpochInfos holds a collection of epoch information entries List of information for each requested epoch The epoch we are querying for, if none is set, get current epoch IDs of the evonodes for which we want to get their proposed blocks Flag to request a proof as the response The epoch we are querying for, if none is set, get current epoch Maximum number of evonodes proposed epoch blocks to return Start retrieval after this document Start retrieval at this document Flag to request a proof as the response The actual result Proof of the keys data, if requested Metadata about the blockchain state The starting epoch index Whether to include the start epoch The ending epoch index Whether to include the end epoch Flag to request a proof as the response The actual finalized information about the requested epochs Cryptographic proof of the finalized epoch Metadata about the blockchain state BlockProposer represents a block proposer and their block count The proposer's identifier Number of blocks proposed FinalizedEpochInfo represents finalized information about a single epoch The number of the epoch The height of the first block in this epoch The height of the first Core block in this epoch The timestamp of the first block (milliseconds) The fee multiplier (converted from permille) The protocol version for this epoch Total number of blocks in the epoch Core block height where next epoch starts Total processing fees collected Total storage fees distributed Total storage fees created Rewards from core blocks List of block proposers and their counts FinalizedEpochInfos holds a collection of finalized epoch information entries List of finalized information for each requested epoch Burn event Amount to burn The identifier to burn from Public note Contract update event Destroy frozen funds event Identifier of the frozen entity Amount to destroy Public note Create event details Emergency action event Emergency action type Public note Freeze event Identifier of the frozen entity Public note Unique identifier for the action The event data Event associated with this action Token event details Mint event Amount to mint Recipient identifier Public note Personal encrypted note Root encryption key index Derivation encryption key index Encrypted data Shared encrypted note Sender key index Recipient key index Encrypted data Token config update event Token config update item Public note Details for token events Mint event details Burn event details Freeze event details Unfreeze event details Destroy frozen funds Emergency action details Token configuration update details Updating the token direct selling price Unfreeze event Identifier of the unfrozen entity Public note UpdatePrice event Public note Token ID List of identity IDs Flag to request a proof as the response Actual identity token balances Proof of the balances, if requested Metadata about the blockchain state Identity ID Token balance for the identity List of identity token balances ID of the identity for balance and revision Flag to request a proof as the response The balance and revision data Proof of the data, if requested Metadata about the blockchain state Balance of the identity Revision number of the identity ID of the identity whose balance is requested Flag to request a proof as the response The balance of the requested identity Proof of the balance, if requested Metadata about the blockchain state Give one result after a previous result Metadata about the blockchain state A hack, we return 2 proofs The public key hash of the identity being requested Flag to request a proof as the response The actual identity data corresponding to the requested public key hash
Cryptographic proof for the identity data, if requested Metadata about the blockchain state ID of the identity for key retrieval Type of key request: all, specific, or search Limit on the number of keys to be returned Offset for pagination through the keys Flag to request a proof as the response The actual key data Proof of the keys data, if requested Metadata about the blockchain state The ID of the identity being requested Flag to request a proof as the response The requested identity data Proof of the identity data, if requested Metadata about the blockchain state ID of the identity List of token IDs Flag to request a proof as the response Actual token balances Proof of the token balances, if requested Metadata about the blockchain state Token ID Token balance for the contract List of token balances Flag to request a proof as the response The actual protocol version information Cryptographic proof of the protocol version Metadata about the blockchain state VersionEntry represents a single entry of a protocol version The protocol version number The vote count for this protocol version Versions holds a collection of version entries List of protocol version entries The starting masternode provider transaction hash to filter the votes by
The number of vote entries to retrieve Flag to request a proof as the response The actual version signal information Cryptographic proof of the version signal information, Metadata about the blockchain state VersionSignal represents a single voting signal for a protocol version The masternode provider transaction hash associated with the vote
The protocol version number that is being voted on VersionSignals holds a collection of version signal entries List of version signal entries When true, use exclusive start (RangeAfter) instead of inclusive start
(RangeFrom). The start_height key becomes a boundary node in the proof
rather than a result element, enabling compaction detection via
key_exists_as_boundary. 32-byte nullifier (needed for Rho derivation in trial decryption) 32-byte extracted note commitment encrypted note payload (epk + enc_ciphertext + out_ciphertext) 32-byte value commitment (stored unencrypted, for OVK recovery of outgoing notes) Count of leaves in the shielded notes commitment tree. Used by wallets at the start of a shielded sync to seed a determinate progress-bar denominator. The count IS bound by the Merk value hash: it is the first field (`total_count`) of the serialized `CommitmentTree` element whose bytes are hashed into the app/root hash, so it is provable via a PathQuery proof of that element (set `prove = true`). Latest known core height in consensus.
It will be missing if Drive is not responding Platform node ID Evo masternode pro tx hash. It will be absent if the node is a fullnode It will be missing if Drive is not responding It will be missing if Drive is not responding It will be missing if Drive is not responding Highest protocol version supported by this node Protocol version used in current epoch Protocol version that will be used in the next epoch It will be missing if Drive is not responding It will be missing if Tenderdash is not responding Request to retrieve token contract info for a specific token ID. The token ID to retrieve contract info for.
Must be exactly 32 bytes. Whether to return a cryptographic proof. Response to GetTokenContractInfoRequest. Direct token contract data Cryptographic proof of token contract info Metadata about the blockchain state at the time of the query Direct token contract info. The ID of the contract associated with the token. The position of the token within the contract. Retrieve direct purchase prices defined for one or more tokens. Some tokens can have a direct purchase price defined using `TokenSetPriceForDirectPurchaseTransition` (see `dpp` crate for details). This request retrieves the direct purchase prices for those tokens and returns [GetTokenDirectPurchasePricesResponse]. List of token IDs to get prices for.
The list must not be empty.
Token IDs must have 32 bytes and be unique.
Results for non-unique token IDs are undefined. Whether to return proofs for the response, or just direct response. Response to GetTokenDirectPurchasePricesRequest, containing information about direct purchase prices defined for requested token IDs. Contains the list of token IDs and their corresponding direct Requested information in a form of cryptographic proof.
In Rust, use `FromProof` trait to convert it to the actual data. Metadata about the blockchain state. Contains the individual price tier for a specific quantity of tokens. Minimum quantity of tokens to purchase to get this price. Price for the specified quantity of tokens. Contains list of price tiers for a specific token. 32-byte token identifier Fixed price for the token. Tiered pricing for the token, where the price varies based on the
quantity purchased. For each requested token, contains list of token IDs and their corresponding direct purchase prices. the token contract position 32‑byte token identifier This should be set if you wish to get back the last claim info as a
specific type Identity whose last‑claim timestamp is requested Return GroveDB / signature proof instead of raw value Direct answer GroveDB / quorum proof Chain context Unix epoch, ms Core‑block height Epoch index Arbitrary encoding Request for all keys Request for specific keys by their IDs Request for keys based on a search criteria Proof message includes cryptographic proofs for validating responses GroveDB proof for the data Hash of the quorum validating the data Signature proving data authenticity Consensus round number Hash of the block ID Type of the quorum ResponseMetadata provides metadata about the blockchain state at the time of response Current blockchain height Latest known core height in consensus Current epoch number Timestamp in milliseconds Protocol version Identifier of the blockchain SearchKey represents a request to search for keys based on specific criteria Map of purposes to their security level maps SecurityLevelMap maps security levels to a request type for key retrieval Maps security levels to key request types SpecificKeys is used to request specific keys by their IDs List of key IDs The hash of the state transition to wait for Flag to request a proof as the response Any error that occurred during the state transition broadcast Cryptographic proof for the state transition, if requested Metadata about the blockchain state Per-group MIN / MAX — `SELECT MIN(field) GROUP BY
category` returns the smallest `field` value in each
category. These operate over the row values *within*
each group, the same way `SUM` and `AVG` do; they are
not a cross-group ranking. To pick out the extreme
*group*, order by the aggregate instead:
`ORDER BY Comparison operator for a single `WhereClause`. Wire values mirror `drive::query::WhereOperator` 1:1; the server maps the enum discriminant directly without re-parsing operator strings. `BETWEEN*` operators expect the right-hand operand to be a 2-element `DocumentFieldValue.list` carrying `[lower, upper]`; `IN` expects a `list` of candidate values; all other operators expect a scalar `DocumentFieldValue` matching the indexed field's type. Time-range bucket selection (v1 only; the v0 CBOR surface is
unaffected). `field` names a timestamp covered by a `timeRange`
index. Operand: `text` selector `"newest"`/`"oldest"` when one grid
buckets the field, or `list` `[selector, range, step(, phase)]` in
the contract's declared seconds to name one of several grids (zero
phase is spelled by omission — one wire spelling per grid). The
server resolves it to a bucket-start equality from current block
time; the verifier re-derives the same bucket from the quorum-signed
metadata time — an ordinary index/count proof. See `timeRange` in
the document meta-schema and
`drive::query::resolve_time_range_bucket_clause`. Request the active actions Request the closed actions Request the active actions Request the closed actions Enum for emergency action types Pause action Resume action Request the current key of a particular kind Request all keys of a particular kind Cryptographic proof for the requested data Metadata about the blockchain state
Field Type Label Description
aggregate
GetDocumentsRequest.HavingAggregate
operator
GetDocumentsRequest.HavingClause.Operator
value
GetDocumentsRequest.DocumentFieldValue
GetDocumentsRequest.OrderClause
Field Type Label Description
field
string
aggregate
GetDocumentsRequest.HavingAggregate
ascending
bool
GetDocumentsRequest.WhereClause
Field Type Label Description
field
string
operator
GetDocumentsRequest.WhereOperator
value
GetDocumentsRequest.DocumentFieldValue
GetDocumentsResponse
Field Type Label Description
v0
GetDocumentsResponse.GetDocumentsResponseV0
v1
GetDocumentsResponse.GetDocumentsResponseV1
GetDocumentsResponse.GetDocumentsResponseV0
Field Type Label Description
documents
GetDocumentsResponse.GetDocumentsResponseV0.Documents
proof
Proof
metadata
ResponseMetadata
GetDocumentsResponse.GetDocumentsResponseV0.Documents
Field Type Label Description
documents
bytes
repeated
GetDocumentsResponse.GetDocumentsResponseV1
Field Type Label Description
data
GetDocumentsResponse.GetDocumentsResponseV1.ResultData
proof
Proof
metadata
ResponseMetadata
GetDocumentsResponse.GetDocumentsResponseV1.AverageAggregate
Field Type Label Description
count
uint64
sum
sint64
GetDocumentsResponse.GetDocumentsResponseV1.AverageEntries
Field Type Label Description
entries
GetDocumentsResponse.GetDocumentsResponseV1.AverageEntry
repeated
GetDocumentsResponse.GetDocumentsResponseV1.AverageEntry
Field Type Label Description
in_key
bytes
optional
key
bytes
count
uint64
sum
sint64
GetDocumentsResponse.GetDocumentsResponseV1.AverageResults
Field Type Label Description
aggregate_average
GetDocumentsResponse.GetDocumentsResponseV1.AverageAggregate
entries
GetDocumentsResponse.GetDocumentsResponseV1.AverageEntries
GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
Field Type Label Description
entries
GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
repeated
GetDocumentsResponse.GetDocumentsResponseV1.CountEntry
Field Type Label Description
in_key
bytes
optional
key
bytes
count
uint64
GetDocumentsResponse.GetDocumentsResponseV1.CountResults
Field Type Label Description
aggregate_count
uint64
entries
GetDocumentsResponse.GetDocumentsResponseV1.CountEntries
GetDocumentsResponse.GetDocumentsResponseV1.Documents
Field Type Label Description
documents
bytes
repeated
GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries
Field Type Label Description
entries
GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry
repeated
skipped
uint64
optional
GetDocumentsResponse.GetDocumentsResponseV1.RankedEntry
Field Type Label Description
key
bytes
count
uint64
sum
sint64
avg
double
in_key
bytes
optional
GetDocumentsResponse.GetDocumentsResponseV1.ResultData
Field Type Label Description
documents
GetDocumentsResponse.GetDocumentsResponseV1.Documents
counts
GetDocumentsResponse.GetDocumentsResponseV1.CountResults
sums
GetDocumentsResponse.GetDocumentsResponseV1.SumResults
averages
GetDocumentsResponse.GetDocumentsResponseV1.AverageResults
ranked
GetDocumentsResponse.GetDocumentsResponseV1.RankedEntries
GetDocumentsResponse.GetDocumentsResponseV1.SumEntries
Field Type Label Description
entries
GetDocumentsResponse.GetDocumentsResponseV1.SumEntry
repeated
GetDocumentsResponse.GetDocumentsResponseV1.SumEntry
Field Type Label Description
in_key
bytes
optional
key
bytes
sum
sint64
GetDocumentsResponse.GetDocumentsResponseV1.SumResults
Field Type Label Description
aggregate_sum
sint64
entries
GetDocumentsResponse.GetDocumentsResponseV1.SumEntries
GetEpochsInfoRequest
Field Type Label Description
v0
GetEpochsInfoRequest.GetEpochsInfoRequestV0
GetEpochsInfoRequest.GetEpochsInfoRequestV0
Field Type Label Description
start_epoch
google.protobuf.UInt32Value
count
uint32
ascending
bool
prove
bool
GetEpochsInfoResponse
Field Type Label Description
v0
GetEpochsInfoResponse.GetEpochsInfoResponseV0
GetEpochsInfoResponse.GetEpochsInfoResponseV0
Field Type Label Description
epochs
GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfos
proof
Proof
metadata
ResponseMetadata
GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo
Field Type Label Description
number
uint32
first_block_height
uint64
first_core_block_height
uint32
start_time
uint64
fee_multiplier
double
protocol_version
uint32
GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfos
Field Type Label Description
epoch_infos
GetEpochsInfoResponse.GetEpochsInfoResponseV0.EpochInfo
repeated
GetEvonodesProposedEpochBlocksByIdsRequest
Field Type Label Description
v0
GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0
GetEvonodesProposedEpochBlocksByIdsRequest.GetEvonodesProposedEpochBlocksByIdsRequestV0
Field Type Label Description
epoch
uint32
optional
ids
bytes
repeated
prove
bool
GetEvonodesProposedEpochBlocksByRangeRequest
Field Type Label Description
v0
GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0
GetEvonodesProposedEpochBlocksByRangeRequest.GetEvonodesProposedEpochBlocksByRangeRequestV0
Field Type Label Description
epoch
uint32
optional
limit
uint32
optional
start_after
bytes
start_at
bytes
prove
bool
GetEvonodesProposedEpochBlocksResponse
Field Type Label Description
v0
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0
Field Type Label Description
evonodes_proposed_block_counts_info
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocks
proof
Proof
metadata
ResponseMetadata
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocks
Field Type Label Description
pro_tx_hash
bytes
count
uint64
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodesProposedBlocks
Field Type Label Description
evonodes_proposed_block_counts
GetEvonodesProposedEpochBlocksResponse.GetEvonodesProposedEpochBlocksResponseV0.EvonodeProposedBlocks
repeated
GetFinalizedEpochInfosRequest
Field Type Label Description
v0
GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0
GetFinalizedEpochInfosRequest.GetFinalizedEpochInfosRequestV0
Field Type Label Description
start_epoch_index
uint32
start_epoch_index_included
bool
end_epoch_index
uint32
end_epoch_index_included
bool
prove
bool
GetFinalizedEpochInfosResponse
Field Type Label Description
v0
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0
Field Type Label Description
epochs
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos
proof
Proof
metadata
ResponseMetadata
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
Field Type Label Description
proposer_id
bytes
block_count
uint32
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo
Field Type Label Description
number
uint32
first_block_height
uint64
first_core_block_height
uint32
first_block_time
uint64
fee_multiplier
double
protocol_version
uint32
total_blocks_in_epoch
uint64
next_epoch_start_core_block_height
uint32
total_processing_fees
uint64
total_distributed_storage_fees
uint64
total_created_storage_fees
uint64
core_block_rewards
uint64
block_proposers
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.BlockProposer
repeated
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfos
Field Type Label Description
finalized_epoch_infos
GetFinalizedEpochInfosResponse.GetFinalizedEpochInfosResponseV0.FinalizedEpochInfo
repeated
GetGroupActionSignersRequest
Field Type Label Description
v0
GetGroupActionSignersRequest.GetGroupActionSignersRequestV0
GetGroupActionSignersRequest.GetGroupActionSignersRequestV0
Field Type Label Description
contract_id
bytes
group_contract_position
uint32
status
GetGroupActionSignersRequest.ActionStatus
action_id
bytes
prove
bool
GetGroupActionSignersResponse
Field Type Label Description
v0
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0
Field Type Label Description
group_action_signers
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigners
proof
Proof
metadata
ResponseMetadata
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigner
Field Type Label Description
signer_id
bytes
power
uint32
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigners
Field Type Label Description
signers
GetGroupActionSignersResponse.GetGroupActionSignersResponseV0.GroupActionSigner
repeated
GetGroupActionsRequest
Field Type Label Description
v0
GetGroupActionsRequest.GetGroupActionsRequestV0
GetGroupActionsRequest.GetGroupActionsRequestV0
Field Type Label Description
contract_id
bytes
group_contract_position
uint32
status
GetGroupActionsRequest.ActionStatus
start_at_action_id
GetGroupActionsRequest.StartAtActionId
optional
count
uint32
optional
prove
bool
GetGroupActionsRequest.StartAtActionId
Field Type Label Description
start_action_id
bytes
start_action_id_included
bool
GetGroupActionsResponse
Field Type Label Description
v0
GetGroupActionsResponse.GetGroupActionsResponseV0
GetGroupActionsResponse.GetGroupActionsResponseV0
Field Type Label Description
group_actions
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActions
proof
Proof
metadata
ResponseMetadata
GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent
Field Type Label Description
amount
uint64
burn_from_id
bytes
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEvent
Field Type Label Description
update
GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEvent
GetGroupActionsResponse.GetGroupActionsResponseV0.ContractUpdateEvent
Field Type Label Description
updated_contract
bytes
GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEvent
Field Type Label Description
frozen_id
bytes
amount
uint64
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEvent
Field Type Label Description
created_document
bytes
GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEvent
Field Type Label Description
create
GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentCreateEvent
GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent
Field Type Label Description
action_type
GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEvent
Field Type Label Description
frozen_id
bytes
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntry
Field Type Label Description
action_id
bytes
event
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEvent
Field Type Label Description
token_event
GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent
document_event
GetGroupActionsResponse.GetGroupActionsResponseV0.DocumentEvent
contract_event
GetGroupActionsResponse.GetGroupActionsResponseV0.ContractEvent
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActions
Field Type Label Description
group_actions
GetGroupActionsResponse.GetGroupActionsResponseV0.GroupActionEntry
repeated
GetGroupActionsResponse.GetGroupActionsResponseV0.MintEvent
Field Type Label Description
amount
uint64
recipient_id
bytes
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.PersonalEncryptedNote
Field Type Label Description
root_encryption_key_index
uint32
derivation_encryption_key_index
uint32
encrypted_data
bytes
GetGroupActionsResponse.GetGroupActionsResponseV0.SharedEncryptedNote
Field Type Label Description
sender_key_index
uint32
recipient_key_index
uint32
encrypted_data
bytes
GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEvent
Field Type Label Description
token_config_update_item
bytes
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.TokenEvent
Field Type Label Description
mint
GetGroupActionsResponse.GetGroupActionsResponseV0.MintEvent
burn
GetGroupActionsResponse.GetGroupActionsResponseV0.BurnEvent
freeze
GetGroupActionsResponse.GetGroupActionsResponseV0.FreezeEvent
unfreeze
GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEvent
destroy_frozen_funds
GetGroupActionsResponse.GetGroupActionsResponseV0.DestroyFrozenFundsEvent
emergency_action
GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent
token_config_update
GetGroupActionsResponse.GetGroupActionsResponseV0.TokenConfigUpdateEvent
update_price
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent
GetGroupActionsResponse.GetGroupActionsResponseV0.UnfreezeEvent
Field Type Label Description
frozen_id
bytes
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent
Field Type Label Description
fixed_price
uint64
variable_price
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingSchedule
public_note
string
optional
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantity
Field Type Label Description
quantity
uint64
price
uint64
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PricingSchedule
Field Type Label Description
price_for_quantity
GetGroupActionsResponse.GetGroupActionsResponseV0.UpdateDirectPurchasePriceEvent.PriceForQuantity
repeated
GetGroupInfoRequest
Field Type Label Description
v0
GetGroupInfoRequest.GetGroupInfoRequestV0
GetGroupInfoRequest.GetGroupInfoRequestV0
Field Type Label Description
contract_id
bytes
group_contract_position
uint32
prove
bool
GetGroupInfoResponse
Field Type Label Description
v0
GetGroupInfoResponse.GetGroupInfoResponseV0
GetGroupInfoResponse.GetGroupInfoResponseV0
Field Type Label Description
group_info
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfo
proof
Proof
metadata
ResponseMetadata
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfo
Field Type Label Description
group_info
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntry
optional
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupInfoEntry
Field Type Label Description
members
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry
repeated
group_required_power
uint32
GetGroupInfoResponse.GetGroupInfoResponseV0.GroupMemberEntry
Field Type Label Description
member_id
bytes
power
uint32
GetGroupInfosRequest
Field Type Label Description
v0
GetGroupInfosRequest.GetGroupInfosRequestV0
GetGroupInfosRequest.GetGroupInfosRequestV0
Field Type Label Description
contract_id
bytes
start_at_group_contract_position
GetGroupInfosRequest.StartAtGroupContractPosition
optional
count
uint32
optional
prove
bool
GetGroupInfosRequest.StartAtGroupContractPosition
Field Type Label Description
start_group_contract_position
uint32
start_group_contract_position_included
bool
GetGroupInfosResponse
Field Type Label Description
v0
GetGroupInfosResponse.GetGroupInfosResponseV0
GetGroupInfosResponse.GetGroupInfosResponseV0
Field Type Label Description
group_infos
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfos
proof
Proof
metadata
ResponseMetadata
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupInfos
Field Type Label Description
group_infos
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntry
repeated
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry
Field Type Label Description
member_id
bytes
power
uint32
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupPositionInfoEntry
Field Type Label Description
group_contract_position
uint32
members
GetGroupInfosResponse.GetGroupInfosResponseV0.GroupMemberEntry
repeated
group_required_power
uint32
GetIdentitiesBalancesRequest
Field Type Label Description
v0
GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
GetIdentitiesBalancesRequest.GetIdentitiesBalancesRequestV0
Field Type Label Description
ids
bytes
repeated
prove
bool
GetIdentitiesBalancesResponse
Field Type Label Description
v0
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0
Field Type Label Description
identities_balances
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalances
proof
Proof
metadata
ResponseMetadata
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentitiesBalances
Field Type Label Description
entries
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalance
repeated
GetIdentitiesBalancesResponse.GetIdentitiesBalancesResponseV0.IdentityBalance
Field Type Label Description
identity_id
bytes
balance
uint64
optional
GetIdentitiesContractKeysRequest
Field Type Label Description
v0
GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0
GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0
Field Type Label Description
identities_ids
bytes
repeated
contract_id
bytes
document_type_name
string
optional
purposes
KeyPurpose
repeated
prove
bool
GetIdentitiesContractKeysResponse
Field Type Label Description
v0
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0
Field Type Label Description
identities_keys
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys
proof
Proof
metadata
ResponseMetadata
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys
Field Type Label Description
entries
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys
repeated
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys
Field Type Label Description
identity_id
bytes
keys
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys
repeated
GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys
Field Type Label Description
purpose
KeyPurpose
keys_bytes
bytes
repeated
GetIdentitiesTokenBalancesRequest
Field Type Label Description
v0
GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0
GetIdentitiesTokenBalancesRequest.GetIdentitiesTokenBalancesRequestV0
Field Type Label Description
token_id
bytes
identity_ids
bytes
repeated
prove
bool
GetIdentitiesTokenBalancesResponse
Field Type Label Description
v0
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0
Field Type Label Description
identity_token_balances
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalances
proof
Proof
metadata
ResponseMetadata
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntry
Field Type Label Description
identity_id
bytes
balance
uint64
optional
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalances
Field Type Label Description
identity_token_balances
GetIdentitiesTokenBalancesResponse.GetIdentitiesTokenBalancesResponseV0.IdentityTokenBalanceEntry
repeated
GetIdentitiesTokenInfosRequest
Field Type Label Description
v0
GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0
GetIdentitiesTokenInfosRequest.GetIdentitiesTokenInfosRequestV0
Field Type Label Description
token_id
bytes
identity_ids
bytes
repeated
prove
bool
GetIdentitiesTokenInfosResponse
Field Type Label Description
v0
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0
Field Type Label Description
identity_token_infos
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfos
proof
Proof
metadata
ResponseMetadata
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.IdentityTokenInfos
Field Type Label Description
token_infos
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntry
repeated
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntry
Field Type Label Description
frozen
bool
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenInfoEntry
Field Type Label Description
identity_id
bytes
info
GetIdentitiesTokenInfosResponse.GetIdentitiesTokenInfosResponseV0.TokenIdentityInfoEntry
optional
GetIdentityBalanceAndRevisionRequest
Field Type Label Description
v0
GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0
GetIdentityBalanceAndRevisionRequest.GetIdentityBalanceAndRevisionRequestV0
Field Type Label Description
id
bytes
prove
bool
GetIdentityBalanceAndRevisionResponse
Field Type Label Description
v0
GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0
GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0
Field Type Label Description
balance_and_revision
GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevision
proof
Proof
metadata
ResponseMetadata
GetIdentityBalanceAndRevisionResponse.GetIdentityBalanceAndRevisionResponseV0.BalanceAndRevision
Field Type Label Description
balance
uint64
revision
uint64
GetIdentityBalanceRequest
Field Type Label Description
v0
GetIdentityBalanceRequest.GetIdentityBalanceRequestV0
GetIdentityBalanceRequest.GetIdentityBalanceRequestV0
Field Type Label Description
id
bytes
prove
bool
GetIdentityBalanceResponse
Field Type Label Description
v0
GetIdentityBalanceResponse.GetIdentityBalanceResponseV0
GetIdentityBalanceResponse.GetIdentityBalanceResponseV0
Field Type Label Description
balance
uint64
proof
Proof
metadata
ResponseMetadata
GetIdentityByNonUniquePublicKeyHashRequest
Field Type Label Description
v0
GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0
GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0
Field Type Label Description
public_key_hash
bytes
start_after
bytes
optional
prove
bool
GetIdentityByNonUniquePublicKeyHashResponse
Field Type Label Description
v0
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0
Field Type Label Description
identity
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse
proof
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse
metadata
ResponseMetadata
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse
Field Type Label Description
grovedb_identity_public_key_hash_proof
Proof
identity_proof_bytes
bytes
optional
GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse
Field Type Label Description
identity
bytes
optional
GetIdentityByPublicKeyHashRequest
Field Type Label Description
v0
GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0
GetIdentityByPublicKeyHashRequest.GetIdentityByPublicKeyHashRequestV0
Field Type Label Description
public_key_hash
bytes
prove
bool
GetIdentityByPublicKeyHashResponse
Field Type Label Description
v0
GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0
GetIdentityByPublicKeyHashResponse.GetIdentityByPublicKeyHashResponseV0
Field Type Label Description
identity
bytes
proof
Proof
metadata
ResponseMetadata
GetIdentityContractNonceRequest
Field Type Label Description
v0
GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0
GetIdentityContractNonceRequest.GetIdentityContractNonceRequestV0
Field Type Label Description
identity_id
bytes
contract_id
bytes
prove
bool
GetIdentityContractNonceResponse
Field Type Label Description
v0
GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0
GetIdentityContractNonceResponse.GetIdentityContractNonceResponseV0
Field Type Label Description
identity_contract_nonce
uint64
proof
Proof
metadata
ResponseMetadata
GetIdentityKeysRequest
Field Type Label Description
v0
GetIdentityKeysRequest.GetIdentityKeysRequestV0
GetIdentityKeysRequest.GetIdentityKeysRequestV0
Field Type Label Description
identity_id
bytes
request_type
KeyRequestType
limit
google.protobuf.UInt32Value
offset
google.protobuf.UInt32Value
prove
bool
GetIdentityKeysResponse
Field Type Label Description
v0
GetIdentityKeysResponse.GetIdentityKeysResponseV0
GetIdentityKeysResponse.GetIdentityKeysResponseV0
Field Type Label Description
keys
GetIdentityKeysResponse.GetIdentityKeysResponseV0.Keys
proof
Proof
metadata
ResponseMetadata
GetIdentityKeysResponse.GetIdentityKeysResponseV0.Keys
Field Type Label Description
keys_bytes
bytes
repeated
GetIdentityNonceRequest
Field Type Label Description
v0
GetIdentityNonceRequest.GetIdentityNonceRequestV0
GetIdentityNonceRequest.GetIdentityNonceRequestV0
Field Type Label Description
identity_id
bytes
prove
bool
GetIdentityNonceResponse
Field Type Label Description
v0
GetIdentityNonceResponse.GetIdentityNonceResponseV0
GetIdentityNonceResponse.GetIdentityNonceResponseV0
Field Type Label Description
identity_nonce
uint64
proof
Proof
metadata
ResponseMetadata
GetIdentityRequest
Field Type Label Description
v0
GetIdentityRequest.GetIdentityRequestV0
GetIdentityRequest.GetIdentityRequestV0
Field Type Label Description
id
bytes
prove
bool
GetIdentityResponse
Field Type Label Description
v0
GetIdentityResponse.GetIdentityResponseV0
GetIdentityResponse.GetIdentityResponseV0
Field Type Label Description
identity
bytes
proof
Proof
metadata
ResponseMetadata
GetIdentityTokenBalancesRequest
Field Type Label Description
v0
GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0
GetIdentityTokenBalancesRequest.GetIdentityTokenBalancesRequestV0
Field Type Label Description
identity_id
bytes
token_ids
bytes
repeated
prove
bool
GetIdentityTokenBalancesResponse
Field Type Label Description
v0
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0
Field Type Label Description
token_balances
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalances
proof
Proof
metadata
ResponseMetadata
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntry
Field Type Label Description
token_id
bytes
balance
uint64
optional
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalances
Field Type Label Description
token_balances
GetIdentityTokenBalancesResponse.GetIdentityTokenBalancesResponseV0.TokenBalanceEntry
repeated
GetIdentityTokenInfosRequest
Field Type Label Description
v0
GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0
GetIdentityTokenInfosRequest.GetIdentityTokenInfosRequestV0
Field Type Label Description
identity_id
bytes
token_ids
bytes
repeated
prove
bool
GetIdentityTokenInfosResponse
Field Type Label Description
v0
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0
Field Type Label Description
token_infos
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfos
proof
Proof
metadata
ResponseMetadata
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntry
Field Type Label Description
frozen
bool
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntry
Field Type Label Description
token_id
bytes
info
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenIdentityInfoEntry
optional
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfos
Field Type Label Description
token_infos
GetIdentityTokenInfosResponse.GetIdentityTokenInfosResponseV0.TokenInfoEntry
repeated
GetMostRecentShieldedAnchorRequest
Field Type Label Description
v0
GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0
GetMostRecentShieldedAnchorRequest.GetMostRecentShieldedAnchorRequestV0
Field Type Label Description
prove
bool
GetMostRecentShieldedAnchorResponse
Field Type Label Description
v0
GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0
GetMostRecentShieldedAnchorResponse.GetMostRecentShieldedAnchorResponseV0
Field Type Label Description
anchor
bytes
proof
Proof
metadata
ResponseMetadata
GetPathElementsRequest
Field Type Label Description
v0
GetPathElementsRequest.GetPathElementsRequestV0
GetPathElementsRequest.GetPathElementsRequestV0
Field Type Label Description
path
bytes
repeated
keys
bytes
repeated
prove
bool
GetPathElementsResponse
Field Type Label Description
v0
GetPathElementsResponse.GetPathElementsResponseV0
GetPathElementsResponse.GetPathElementsResponseV0
Field Type Label Description
elements
GetPathElementsResponse.GetPathElementsResponseV0.Elements
proof
Proof
metadata
ResponseMetadata
GetPathElementsResponse.GetPathElementsResponseV0.Elements
Field Type Label Description
elements
bytes
repeated
GetPrefundedSpecializedBalanceRequest
Field Type Label Description
v0
GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0
GetPrefundedSpecializedBalanceRequest.GetPrefundedSpecializedBalanceRequestV0
Field Type Label Description
id
bytes
prove
bool
GetPrefundedSpecializedBalanceResponse
Field Type Label Description
v0
GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0
GetPrefundedSpecializedBalanceResponse.GetPrefundedSpecializedBalanceResponseV0
Field Type Label Description
balance
uint64
proof
Proof
metadata
ResponseMetadata
GetProtocolVersionUpgradeStateRequest
Field Type Label Description
v0
GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
GetProtocolVersionUpgradeStateRequest.GetProtocolVersionUpgradeStateRequestV0
Field Type Label Description
prove
bool
GetProtocolVersionUpgradeStateResponse
Field Type Label Description
v0
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0
Field Type Label Description
versions
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
proof
Proof
metadata
ResponseMetadata
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
Field Type Label Description
version_number
uint32
vote_count
uint32
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.Versions
Field Type Label Description
versions
GetProtocolVersionUpgradeStateResponse.GetProtocolVersionUpgradeStateResponseV0.VersionEntry
repeated
GetProtocolVersionUpgradeVoteStatusRequest
Field Type Label Description
v0
GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
GetProtocolVersionUpgradeVoteStatusRequest.GetProtocolVersionUpgradeVoteStatusRequestV0
Field Type Label Description
start_pro_tx_hash
bytes
count
uint32
prove
bool
GetProtocolVersionUpgradeVoteStatusResponse
Field Type Label Description
v0
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0
Field Type Label Description
versions
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
proof
Proof
metadata
ResponseMetadata
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
Field Type Label Description
pro_tx_hash
bytes
version
uint32
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignals
Field Type Label Description
version_signals
GetProtocolVersionUpgradeVoteStatusResponse.GetProtocolVersionUpgradeVoteStatusResponseV0.VersionSignal
repeated
GetRecentAddressBalanceChangesRequest
Field Type Label Description
v0
GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0
GetRecentAddressBalanceChangesRequest.GetRecentAddressBalanceChangesRequestV0
Field Type Label Description
start_height
uint64
prove
bool
start_height_exclusive
bool
GetRecentAddressBalanceChangesResponse
Field Type Label Description
v0
GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0
GetRecentAddressBalanceChangesResponse.GetRecentAddressBalanceChangesResponseV0
Field Type Label Description
address_balance_update_entries
AddressBalanceUpdateEntries
proof
Proof
metadata
ResponseMetadata
GetRecentCompactedAddressBalanceChangesRequest
Field Type Label Description
v0
GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0
GetRecentCompactedAddressBalanceChangesRequest.GetRecentCompactedAddressBalanceChangesRequestV0
Field Type Label Description
start_block_height
uint64
prove
bool
GetRecentCompactedAddressBalanceChangesResponse
Field Type Label Description
v0
GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0
GetRecentCompactedAddressBalanceChangesResponse.GetRecentCompactedAddressBalanceChangesResponseV0
Field Type Label Description
compacted_address_balance_update_entries
CompactedAddressBalanceUpdateEntries
proof
Proof
metadata
ResponseMetadata
GetShieldedAnchorsRequest
Field Type Label Description
v0
GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0
GetShieldedAnchorsRequest.GetShieldedAnchorsRequestV0
Field Type Label Description
prove
bool
GetShieldedAnchorsResponse
Field Type Label Description
v0
GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0
GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0
Field Type Label Description
anchors
GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.Anchors
proof
Proof
metadata
ResponseMetadata
GetShieldedAnchorsResponse.GetShieldedAnchorsResponseV0.Anchors
Field Type Label Description
anchors
bytes
repeated
GetShieldedEncryptedNotesRequest
Field Type Label Description
v0
GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0
GetShieldedEncryptedNotesRequest.GetShieldedEncryptedNotesRequestV0
Field Type Label Description
start_index
uint64
count
uint32
prove
bool
GetShieldedEncryptedNotesResponse
Field Type Label Description
v0
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0
Field Type Label Description
encrypted_notes
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotes
proof
Proof
metadata
ResponseMetadata
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote
Field Type Label Description
nullifier
bytes
cmx
bytes
encrypted_note
bytes
cv_net
bytes
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNotes
Field Type Label Description
entries
GetShieldedEncryptedNotesResponse.GetShieldedEncryptedNotesResponseV0.EncryptedNote
repeated
GetShieldedNotesCountRequest
Field Type Label Description
v0
GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0
GetShieldedNotesCountRequest.GetShieldedNotesCountRequestV0
Field Type Label Description
prove
bool
GetShieldedNotesCountResponse
Field Type Label Description
v0
GetShieldedNotesCountResponse.GetShieldedNotesCountResponseV0
GetShieldedNotesCountResponse.GetShieldedNotesCountResponseV0
Field Type Label Description
total_notes_count
uint64
proof
Proof
metadata
ResponseMetadata
GetShieldedNullifiersRequest
Field Type Label Description
v0
GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0
GetShieldedNullifiersRequest.GetShieldedNullifiersRequestV0
Field Type Label Description
nullifiers
bytes
repeated
prove
bool
GetShieldedNullifiersResponse
Field Type Label Description
v0
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0
Field Type Label Description
nullifier_statuses
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatuses
proof
Proof
metadata
ResponseMetadata
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatus
Field Type Label Description
nullifier
bytes
is_spent
bool
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatuses
Field Type Label Description
entries
GetShieldedNullifiersResponse.GetShieldedNullifiersResponseV0.NullifierStatus
repeated
GetShieldedPoolStateRequest
Field Type Label Description
v0
GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0
GetShieldedPoolStateRequest.GetShieldedPoolStateRequestV0
Field Type Label Description
prove
bool
GetShieldedPoolStateResponse
Field Type Label Description
v0
GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0
GetShieldedPoolStateResponse.GetShieldedPoolStateResponseV0
Field Type Label Description
total_balance
uint64
proof
Proof
metadata
ResponseMetadata
GetStatusRequest
Field Type Label Description
v0
GetStatusRequest.GetStatusRequestV0
GetStatusRequest.GetStatusRequestV0
GetStatusResponse
Field Type Label Description
v0
GetStatusResponse.GetStatusResponseV0
GetStatusResponse.GetStatusResponseV0
Field Type Label Description
version
GetStatusResponse.GetStatusResponseV0.Version
node
GetStatusResponse.GetStatusResponseV0.Node
chain
GetStatusResponse.GetStatusResponseV0.Chain
network
GetStatusResponse.GetStatusResponseV0.Network
state_sync
GetStatusResponse.GetStatusResponseV0.StateSync
time
GetStatusResponse.GetStatusResponseV0.Time
GetStatusResponse.GetStatusResponseV0.Chain
Field Type Label Description
catching_up
bool
latest_block_hash
bytes
latest_app_hash
bytes
latest_block_height
uint64
earliest_block_hash
bytes
earliest_app_hash
bytes
earliest_block_height
uint64
max_peer_block_height
uint64
core_chain_locked_height
uint32
optional
GetStatusResponse.GetStatusResponseV0.Network
Field Type Label Description
chain_id
string
peers_count
uint32
listening
bool
GetStatusResponse.GetStatusResponseV0.Node
Field Type Label Description
id
bytes
pro_tx_hash
bytes
optional
GetStatusResponse.GetStatusResponseV0.StateSync
Field Type Label Description
total_synced_time
uint64
remaining_time
uint64
total_snapshots
uint32
chunk_process_avg_time
uint64
snapshot_height
uint64
snapshot_chunks_count
uint64
backfilled_blocks
uint64
backfill_blocks_total
uint64
GetStatusResponse.GetStatusResponseV0.Time
Field Type Label Description
local
uint64
block
uint64
optional
genesis
uint64
optional
epoch
uint32
optional
GetStatusResponse.GetStatusResponseV0.Version
Field Type Label Description
software
GetStatusResponse.GetStatusResponseV0.Version.Software
protocol
GetStatusResponse.GetStatusResponseV0.Version.Protocol
GetStatusResponse.GetStatusResponseV0.Version.Protocol
Field Type Label Description
tenderdash
GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash
drive
GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive
GetStatusResponse.GetStatusResponseV0.Version.Protocol.Drive
Field Type Label Description
latest
uint32
current
uint32
next_epoch
uint32
GetStatusResponse.GetStatusResponseV0.Version.Protocol.Tenderdash
Field Type Label Description
p2p
uint32
block
uint32
GetStatusResponse.GetStatusResponseV0.Version.Software
Field Type Label Description
dapi
string
drive
string
optional
tenderdash
string
optional
GetTokenContractInfoRequest
Field Type Label Description
v0
GetTokenContractInfoRequest.GetTokenContractInfoRequestV0
GetTokenContractInfoRequest.GetTokenContractInfoRequestV0
Field Type Label Description
token_id
bytes
prove
bool
GetTokenContractInfoResponse
Field Type Label Description
v0
GetTokenContractInfoResponse.GetTokenContractInfoResponseV0
GetTokenContractInfoResponse.GetTokenContractInfoResponseV0
Field Type Label Description
data
GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData
proof
Proof
metadata
ResponseMetadata
GetTokenContractInfoResponse.GetTokenContractInfoResponseV0.TokenContractInfoData
Field Type Label Description
contract_id
bytes
token_contract_position
uint32
GetTokenDirectPurchasePricesRequest
Field Type Label Description
v0
GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0
GetTokenDirectPurchasePricesRequest.GetTokenDirectPurchasePricesRequestV0
Field Type Label Description
token_ids
bytes
repeated
prove
bool
GetTokenDirectPurchasePricesResponse
Field Type Label Description
v0
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0
Field Type Label Description
token_direct_purchase_prices
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices
proof
Proof
metadata
ResponseMetadata
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity
Field Type Label Description
quantity
uint64
price
uint64
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingSchedule
Field Type Label Description
price_for_quantity
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PriceForQuantity
repeated
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry
Field Type Label Description
token_id
bytes
fixed_price
uint64
variable_price
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.PricingSchedule
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePrices
Field Type Label Description
token_direct_purchase_price
GetTokenDirectPurchasePricesResponse.GetTokenDirectPurchasePricesResponseV0.TokenDirectPurchasePriceEntry
repeated
GetTokenPerpetualDistributionLastClaimRequest
Field Type Label Description
v0
GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0
GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo
Field Type Label Description
contract_id
bytes
token_contract_position
uint32
GetTokenPerpetualDistributionLastClaimRequest.GetTokenPerpetualDistributionLastClaimRequestV0
Field Type Label Description
token_id
bytes
contract_info
GetTokenPerpetualDistributionLastClaimRequest.ContractTokenInfo
optional
identity_id
bytes
prove
bool
GetTokenPerpetualDistributionLastClaimResponse
Field Type Label Description
v0
GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0
GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0
Field Type Label Description
last_claim
GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo
proof
Proof
metadata
ResponseMetadata
GetTokenPerpetualDistributionLastClaimResponse.GetTokenPerpetualDistributionLastClaimResponseV0.LastClaimInfo
Field Type Label Description
timestamp_ms
uint64
block_height
uint64
epoch
uint32
raw_bytes
bytes
GetTokenPreProgrammedDistributionsRequest
Field Type Label Description
v0
GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0
GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0
Field Type Label Description
token_id
bytes
start_at_info
GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfo
optional
limit
uint32
optional
prove
bool
GetTokenPreProgrammedDistributionsRequest.GetTokenPreProgrammedDistributionsRequestV0.StartAtInfo
Field Type Label Description
start_time_ms
uint64
start_recipient
bytes
optional
start_recipient_included
bool
optional
GetTokenPreProgrammedDistributionsResponse
Field Type Label Description
v0
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0
Field Type Label Description
token_distributions
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions
proof
Proof
metadata
ResponseMetadata
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry
Field Type Label Description
recipient_id
bytes
amount
uint64
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributions
Field Type Label Description
token_distributions
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntry
repeated
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenTimedDistributionEntry
Field Type Label Description
timestamp
uint64
distributions
GetTokenPreProgrammedDistributionsResponse.GetTokenPreProgrammedDistributionsResponseV0.TokenDistributionEntry
repeated
GetTokenStatusesRequest
Field Type Label Description
v0
GetTokenStatusesRequest.GetTokenStatusesRequestV0
GetTokenStatusesRequest.GetTokenStatusesRequestV0
Field Type Label Description
token_ids
bytes
repeated
prove
bool
GetTokenStatusesResponse
Field Type Label Description
v0
GetTokenStatusesResponse.GetTokenStatusesResponseV0
GetTokenStatusesResponse.GetTokenStatusesResponseV0
Field Type Label Description
token_statuses
GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatuses
proof
Proof
metadata
ResponseMetadata
GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntry
Field Type Label Description
token_id
bytes
paused
bool
optional
GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatuses
Field Type Label Description
token_statuses
GetTokenStatusesResponse.GetTokenStatusesResponseV0.TokenStatusEntry
repeated
GetTokenTotalSupplyRequest
Field Type Label Description
v0
GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0
GetTokenTotalSupplyRequest.GetTokenTotalSupplyRequestV0
Field Type Label Description
token_id
bytes
prove
bool
GetTokenTotalSupplyResponse
Field Type Label Description
v0
GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0
GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0
Field Type Label Description
token_total_supply
GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntry
proof
Proof
metadata
ResponseMetadata
GetTokenTotalSupplyResponse.GetTokenTotalSupplyResponseV0.TokenTotalSupplyEntry
Field Type Label Description
token_id
bytes
total_aggregated_amount_in_user_accounts
uint64
total_system_amount
uint64
GetTotalCreditsInPlatformRequest
Field Type Label Description
v0
GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0
GetTotalCreditsInPlatformRequest.GetTotalCreditsInPlatformRequestV0
Field Type Label Description
prove
bool
GetTotalCreditsInPlatformResponse
Field Type Label Description
v0
GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0
GetTotalCreditsInPlatformResponse.GetTotalCreditsInPlatformResponseV0
Field Type Label Description
credits
uint64
proof
Proof
metadata
ResponseMetadata
GetVotePollsByEndDateRequest
Field Type Label Description
v0
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0
Field Type Label Description
start_time_info
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo
optional
end_time_info
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo
optional
limit
uint32
optional
offset
uint32
optional
ascending
bool
prove
bool
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.EndAtTimeInfo
Field Type Label Description
end_time_ms
uint64
end_time_included
bool
GetVotePollsByEndDateRequest.GetVotePollsByEndDateRequestV0.StartAtTimeInfo
Field Type Label Description
start_time_ms
uint64
start_time_included
bool
GetVotePollsByEndDateResponse
Field Type Label Description
v0
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0
Field Type Label Description
vote_polls_by_timestamps
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps
proof
Proof
metadata
ResponseMetadata
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp
Field Type Label Description
timestamp
uint64
serialized_vote_polls
bytes
repeated
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamps
Field Type Label Description
vote_polls_by_timestamps
GetVotePollsByEndDateResponse.GetVotePollsByEndDateResponseV0.SerializedVotePollsByTimestamp
repeated
finished_results
bool
KeyRequestType
Field Type Label Description
all_keys
AllKeys
specific_keys
SpecificKeys
search_key
SearchKey
Proof
Field Type Label Description
grovedb_proof
bytes
quorum_hash
bytes
signature
bytes
round
uint32
block_id_hash
bytes
quorum_type
uint32
ResponseMetadata
Field Type Label Description
height
uint64
core_chain_locked_height
uint32
epoch
uint32
time_ms
uint64
protocol_version
uint32
chain_id
string
SearchKey
Field Type Label Description
purpose_map
SearchKey.PurposeMapEntry
repeated
SearchKey.PurposeMapEntry
Field Type Label Description
key
uint32
value
SecurityLevelMap
SecurityLevelMap
Field Type Label Description
security_level_map
SecurityLevelMap.SecurityLevelMapEntry
repeated
SecurityLevelMap.SecurityLevelMapEntry
Field Type Label Description
key
uint32
value
SecurityLevelMap.KeyKindRequestType
SpecificKeys
Field Type Label Description
key_ids
uint32
repeated
StateTransitionBroadcastError
Field Type Label Description
code
uint32
message
string
data
bytes
WaitForStateTransitionResultRequest
Field Type Label Description
v0
WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0
WaitForStateTransitionResultRequest.WaitForStateTransitionResultRequestV0
Field Type Label Description
state_transition_hash
bytes
prove
bool
WaitForStateTransitionResultResponse
Field Type Label Description
v0
WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0
WaitForStateTransitionResultResponse.WaitForStateTransitionResultResponseV0
Field Type Label Description
error
StateTransitionBroadcastError
proof
Proof
metadata
ResponseMetadata
GetContestedResourceIdentityVotesResponse.GetContestedResourceIdentityVotesResponseV0.ResourceVoteChoice.VoteChoiceType
Name Number Description
TOWARDS_IDENTITY
0
ABSTAIN
1
LOCK
2
GetContestedResourceVoteStateRequest.GetContestedResourceVoteStateRequestV0.ResultType
Name Number Description
DOCUMENTS
0
VOTE_TALLY
1
DOCUMENTS_AND_VOTE_TALLY
2
GetContestedResourceVoteStateResponse.GetContestedResourceVoteStateResponseV0.FinishedVoteInfo.FinishedVoteOutcome
Name Number Description
TOWARDS_IDENTITY
0
LOCKED
1
NO_PREVIOUS_WINNER
2
GetDocumentsRequest.GetDocumentsRequestV1.Select.Function
Name Number Description
DOCUMENTS
0
COUNT
1
SUM
2
AVG
3
MIN
4
MAX
5
GetDocumentsRequest.HavingAggregate.Function
Name Number Description
COUNT
0
SUM
1
AVG
2
GetDocumentsRequest.HavingClause.Operator
Name Number Description
EQUAL
0
NOT_EQUAL
1
GREATER_THAN
2
GREATER_THAN_OR_EQUALS
3
LESS_THAN
4
LESS_THAN_OR_EQUALS
5
BETWEEN
6
BETWEEN_EXCLUDE_BOUNDS
7
BETWEEN_EXCLUDE_LEFT
8
BETWEEN_EXCLUDE_RIGHT
9
IN
10
GetDocumentsRequest.WhereOperator
Name Number Description
EQUAL
0
GREATER_THAN
1
GREATER_THAN_OR_EQUALS
2
LESS_THAN
3
LESS_THAN_OR_EQUALS
4
BETWEEN
5
BETWEEN_EXCLUDE_BOUNDS
6
BETWEEN_EXCLUDE_LEFT
7
BETWEEN_EXCLUDE_RIGHT
8
IN
9
STARTS_WITH
10
IN_TIME_RANGE
11
GetGroupActionSignersRequest.ActionStatus
Name Number Description
ACTIVE
0
CLOSED
1
GetGroupActionsRequest.ActionStatus
Name Number Description
ACTIVE
0
CLOSED
1
GetGroupActionsResponse.GetGroupActionsResponseV0.EmergencyActionEvent.ActionType
Name Number Description
PAUSE
0
RESUME
1
KeyPurpose
Name Number Description
AUTHENTICATION
0
ENCRYPTION
1
DECRYPTION
2
TRANSFER
3
VOTING
5
SecurityLevelMap.KeyKindRequestType
Name Number Description
CURRENT_KEY_OF_KIND_REQUEST
0
ALL_KEYS_OF_KIND_REQUEST
1
Platform
core/v0/core.proto
Top
BlockHeaders
Field Type Label Description
headers
bytes
repeated
BlockHeadersWithChainLocksRequest
Field Type Label Description
from_block_hash
bytes
from_block_height
uint32
count
uint32
BlockHeadersWithChainLocksResponse
Field Type Label Description
block_headers
BlockHeaders
chain_lock
bytes
BloomFilter
Field Type Label Description
v_data
bytes
n_hash_funcs
uint32
n_tweak
uint32
n_flags
uint32
BroadcastTransactionRequest
Field Type Label Description
transaction
bytes
allow_high_fees
bool
bypass_limits
bool
BroadcastTransactionResponse
Field Type Label Description
transaction_id
string
GetBestBlockHeightRequest
GetBestBlockHeightResponse
Field Type Label Description
height
uint32
GetBlockRequest
Field Type Label Description
height
uint32
hash
string
GetBlockResponse
Field Type Label Description
block
bytes
GetBlockchainStatusRequest
GetBlockchainStatusResponse
Field Type Label Description
version
GetBlockchainStatusResponse.Version
time
GetBlockchainStatusResponse.Time
status
GetBlockchainStatusResponse.Status
sync_progress
double
chain
GetBlockchainStatusResponse.Chain
network
GetBlockchainStatusResponse.Network
GetBlockchainStatusResponse.Chain
Field Type Label Description
name
string
headers_count
uint32
blocks_count
uint32
best_block_hash
bytes
difficulty
double
chain_work
bytes
is_synced
bool
sync_progress
double
GetBlockchainStatusResponse.Network
Field Type Label Description
peers_count
uint32
fee
GetBlockchainStatusResponse.NetworkFee
GetBlockchainStatusResponse.NetworkFee
Field Type Label Description
relay
double
incremental
double
GetBlockchainStatusResponse.Time
Field Type Label Description
now
uint32
offset
int32
median
uint32
GetBlockchainStatusResponse.Version
Field Type Label Description
protocol
uint32
software
uint32
agent
string
GetEstimatedTransactionFeeRequest
Field Type Label Description
blocks
uint32
GetEstimatedTransactionFeeResponse
Field Type Label Description
fee
double
GetMasternodeStatusRequest
GetMasternodeStatusResponse
Field Type Label Description
status
GetMasternodeStatusResponse.Status
pro_tx_hash
bytes
pose_penalty
uint32
is_synced
bool
sync_progress
double
GetTransactionRequest
Field Type Label Description
id
string
GetTransactionResponse
Field Type Label Description
transaction
bytes
block_hash
bytes
height
uint32
confirmations
uint32
is_instant_locked
bool
is_chain_locked
bool
InstantSendLockMessages
Field Type Label Description
messages
bytes
repeated
MasternodeListRequest
MasternodeListResponse
Field Type Label Description
masternode_list_diff
bytes
RawTransactions
Field Type Label Description
transactions
bytes
repeated
TransactionsWithProofsRequest
Field Type Label Description
bloom_filter
BloomFilter
from_block_hash
bytes
from_block_height
uint32
count
uint32
send_transaction_hashes
bool
TransactionsWithProofsResponse
Field Type Label Description
raw_transactions
RawTransactions
instant_send_lock_messages
InstantSendLockMessages
raw_merkle_block
bytes
GetBlockchainStatusResponse.Status
Name Number Description
NOT_STARTED
0
SYNCING
1
READY
2
ERROR
3
GetMasternodeStatusResponse.Status
Name Number Description
UNKNOWN
0
WAITING_FOR_PROTX
1
POSE_BANNED
2
REMOVED
3
OPERATOR_KEY_CHANGED
4
PROTX_IP_CHANGED
5
READY
6
ERROR
7
Core
Method Name Request Type Response Type Description
getBlockchainStatus
GetBlockchainStatusRequest
GetBlockchainStatusResponse
getMasternodeStatus
GetMasternodeStatusRequest
GetMasternodeStatusResponse
getBlock
GetBlockRequest
GetBlockResponse
getBestBlockHeight
GetBestBlockHeightRequest
GetBestBlockHeightResponse
broadcastTransaction
BroadcastTransactionRequest
BroadcastTransactionResponse
getTransaction
GetTransactionRequest
GetTransactionResponse
getEstimatedTransactionFee
GetEstimatedTransactionFeeRequest
GetEstimatedTransactionFeeResponse
subscribeToBlockHeadersWithChainLocks
BlockHeadersWithChainLocksRequest
BlockHeadersWithChainLocksResponse stream
subscribeToTransactionsWithProofs
TransactionsWithProofsRequest
TransactionsWithProofsResponse stream
subscribeToMasternodeList
MasternodeListRequest
MasternodeListResponse stream
drive/v0/drive.proto
Top
GetProofsRequest
Field Type Label Description
state_transition
bytes
GetProofsResponse
Field Type Label Description
proof
org.dash.platform.dapi.v0.Proof
metadata
org.dash.platform.dapi.v0.ResponseMetadata
DriveInternal
Method Name Request Type Response Type Description
getProofs
GetProofsRequest
GetProofsResponse
Scalar Value Types
.proto Type Notes C++ Java Python Go C# PHP Ruby
double
double
double
float
float64
double
float
Float
float
float
float
float
float32
float
float
Float
int32
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
int64
Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.
int64
long
int/long
int64
long
integer/string
Bignum
uint32
Uses variable-length encoding.
uint32
int
int/long
uint32
uint
integer
Bignum or Fixnum (as required)
uint64
Uses variable-length encoding.
uint64
long
int/long
uint64
ulong
integer/string
Bignum or Fixnum (as required)
sint32
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
sint64
Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.
int64
long
int/long
int64
long
integer/string
Bignum
fixed32
Always four bytes. More efficient than uint32 if values are often greater than 2^28.
uint32
int
int
uint32
uint
integer
Bignum or Fixnum (as required)
fixed64
Always eight bytes. More efficient than uint64 if values are often greater than 2^56.
uint64
long
int/long
uint64
ulong
integer/string
Bignum
sfixed32
Always four bytes.
int32
int
int
int32
int
integer
Bignum or Fixnum (as required)
sfixed64
Always eight bytes.
int64
long
int/long
int64
long
integer/string
Bignum
bool
bool
boolean
boolean
bool
bool
boolean
TrueClass/FalseClass
string
A string must always contain UTF-8 encoded or 7-bit ASCII text.
string
String
str/unicode
string
string
string
String (UTF-8)
bytes
May contain any arbitrary sequence of bytes.
string
ByteString
str
[]byte
ByteString
string
String (ASCII-8BIT)