Parameters
chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
Request identifier used to match responses.
jsonrpc
string
default:"2.0"
required
JSON-RPC version.
method
string
default:"sui_getNormalizedMoveModule"
required
JSON-RPC method name.
Parameters for retrieving a normalized Move module.Positional parameters for sui_getNormalizedMoveModule:params[0]: Object ID of the Move package.params[1]: The name of the Move module.
Returns
Structured representation of a Move module.
The Move binary file format version.
The hexadecimal address of the package.
List of module IDs that this module declares as friends.
SuiMoveModuleId (formatted as <address>::<module>).
Map of struct names to normalized struct definitions.
Map of function names to normalized function definitions.
curl --request POST \
--url https://api.uniblock.dev/uni/v1/json-rpc?chainId=sui \
--header 'content-type: application/json' \
--data '{
"id": 1,
"jsonrpc": "2.0",
"method": "sui_getNormalizedMoveModule",
"params": [
"0x0047d5fa0a823e7d0ff4d55c32b09995a0ae1eedfee9c7b1354e805ed10ee3d0",
"module"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}