Skip to main content

Parameters

chainId
string
default:"sui"
required
Unique identifier for a blockchain network.
id
number
default:1
required
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.
params
object
required
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

result
object
Structured representation of a Move function definition.
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": {}
}