gRPCGetDatatype
sui-mainnet.nodit.io:443 sui.rpc.v2.MovePackageService/GetDatatypeunaryRetrieves the Move datatype information for the specified package.
Request and response messages are identical for both transports. Only the wire protocol, headers, and client library differ.
- Protocol
- Native gRPC over HTTP/2 with TLS. Suited to server-side clients and grpcurl.
- Content-Type
application/grpc- Headers
x-api-key- Streaming
- Server, client, and bidirectional streaming are all supported.
- Errors
- grpc-status and grpc-message are delivered as HTTP/2 trailers.
Required. The storage_id of the requested package.
Required. The name of the requested module.
Required. The name of the requested datatype.
Fully qualified type name.
Package storage ID that defines the type.
Module name.
Datatype name.
Abilities of the datatype.
Generic type parameters.
Ability constraints on the parameter.
Whether the parameter is phantom.
Whether it is a struct or enum.
Fields of the datatype.
Name of the field.
Position in definition order.
Type of the field.
The type.
Fully qualified datatype name.
Instantiation of type parameters.
Type parameter position.
Variants if the datatype is an enum.
Name of the variant.
Position in definition order.
Fields of the variant.
Name of the field.
Position in definition order.
Type of the field.
The type.
Fully qualified datatype name.
Instantiation of type parameters.
Type parameter position.