Constants§
- CHECKPOINT
- Default read mask for a checkpoint (
get_checkpoint,list_checkpoints). - DYNAMIC_
FIELD - Default read mask for a dynamic-field listing (
list_dynamic_fields). - EPOCH
- Default read mask for an epoch (
get_epoch; there is nolist_epochs). - EVENT
- Default read mask for an event (
list_events; there is noget_events). - EXECUTE_
TRANSACTION - Default read mask for transaction execution (
ExecuteTransaction). - OBJECT
- Default read mask for an object (
get_object). - OWNED_
OBJECT - Default read mask for an owned-object listing (
list_owned_objects). - TRANSACTION
- Default read mask for a transaction (
get_transaction,list_transactions).
Functions§
- validate_
read_ mask - Validate an optional request
read_maskagainst message typeM, falling back todefaultwhen the request omits one, and return it as aFieldMaskTree. Shared by every read-mask-bearing handler (get, list, and subscribe) so validation and the “no mask -> default” rule stay identical across them.defaultis an explicit argument because one message type can carry different per-endpoint defaults (e.g.ExecutedTransactionusesTRANSACTIONfor get/list butEXECUTE_TRANSACTIONfor execution).