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_getNormalizedMoveFunction"
required
JSON-RPC method name.
Parameters for retrieving a normalized Move function.Positional parameters for sui_getNormalizedMoveFunction:params[0]: Object ID of the Move package.params[1]: The name of the Move module.params[2]: The name of the function to normalize.
Returns
Structured representation of a Move function definition.
Indicates whether the function is an entry point.
List of input parameter types.
A normalized Move type string.
List of return types.
A normalized Move return type string.
List of Move ability sets required for type parameters.
A Move ability (e.g., copy, drop, store, key).
Visibility of the function (public, private, friend).
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_getNormalizedMoveFunction",
"params": [
"0x9c4eb6769ca8b6a23efeb7298cf0a8d0b837b78749c2cfc711c42036cc6b7621",
"moduleName",
"functionName"
]
}'
{
"jsonrpc": "2.0",
"id": 1,
"result": {}
}