Search…
⌃K
Links

sui_getMoveFunctionArgTypes

Return the argument types of a Move function, based on normalized Type.

Parameters

  • package : <ObjectID> -
  • module : <string> -
  • function : <string> -

Returns

Vec<MoveFunctionArgType> : <[MoveFunctionArgType]>

Example Request and Result for sui_getMoveFunctionArgTypes

Request
curl
--location --request POST 'https://sui-devnet.blastapi.io/<project_id>' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_getMoveFunctionArgTypes",
"params": [
"0xba483c73a9b79bcc592cc5f163465ff1bc5c5d2e",
"capy",
"breed_and_keep"
]
}'
Result
{
"jsonrpc": "2.0",
"result": [
{
"Object": "ByMutableReference"
},
{
"Object": "ByMutableReference"
},
{
"Object": "ByMutableReference"
},
{
"Object": "ByMutableReference"
}
],
"id": 1
}