githubEdit

GetDatatype

Parameters:

string package_id - Required. The storage_id of the requested package.

string module_name - Required. The name of the requested module.

string name - Required. The name of the requested datatype.

Returns:

datatype - The datatype.

Example:

grpcurl -proto .sui/rpc/v2/move_package_service.proto
-H "x-token: YOUR_TOKEN_VALUE" 
-d 
'{
.....

}' 
sui.blockpi.network:443 sui.rpc.v2.MovePackageService/GetDatatype

Last updated

Was this helpful?