sui_getMoveFunctionArgTypes

Move Utils

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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

Parameters

KeyRequiredType
packageObjectID
moduleString
functionString
"params": [
  "0x0000000000000000000000000000000000000000000000000000000000000002",
  "bag",
  "borrow"
]

Result

Vec<MoveFunctionArgType> : <[MoveFunctionArgType]>

Example

Request

curl <your-endpoint> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "sui_getMoveFunctionArgTypes",
  "params": [
    "0x0000000000000000000000000000000000000000000000000000000000000002",
    "bag",
    "borrow"
  ]
}
'

Response

{
    "jsonrpc": "2.0",
    "result": [
        {
            "Object": "ByImmutableReference"
        },
        "Pure"
    ],
    "id": 1
}
Path Params
string
required
Defaults to 8f170bbbc110407597b2ded8474747db
Body Params
string
Defaults to { "jsonrpc": "2.0", "id": 1, "method": "suix_queryTransactionBlocks", "params": [ { "filter": { "InputObject": "0xbb1531504c9c3235d3cd637ed9573cbe18461255b4175a1cb1e1b07b8aa8e11b" }, "options": null } ] }
Responses

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json