ТарифыGitHubКабинет

Sui

sui.rpc.v2.StateService/ListDynamicFieldsКредиты: 30

List the dynamic fields of an object

Сеть: sui

Параметры

ИмяТипОписание
parentstringID of the parent object.
page_sizeuint32Maximum number of items per page. The server applies its own default and cap. (необязательно)
page_tokenbytesThe next_page_token of the previous response, to fetch the next page (base64 in JSON). (необязательно)
read_maskgoogle.protobuf.FieldMaskFields of every DynamicField to return. (необязательно)

Результат

Тип

ListDynamicFieldsResponse

dynamic_fields: array of DynamicField (kind, parent, field_id, field_object, name, value, value_type, child_id, child_object) and next_page_token.

Примеры кода

# the key of the endpoint goes in the x-token header; add -proto <file> when the node has no gRPC reflection
grpcurl \
  -H 'x-token: 7c9e6679-7425-40de-944b-e07fc1f90ae7' \
  -d '{
  "parent": "0x5",
  "page_size": 10
}' \
  grpc-holy-burned-sky-sui-mainnet.rpcnode.dev:443 \
  sui.rpc.v2.StateService/ListDynamicFields