Sui
sui_getMoveFunctionArgTypes15 Credits
Return argument types of a Move function
Parameter
| Name | Typ | Beschreibung |
|---|---|---|
| package | string | ID of the Move package. |
| module | string | Name of the module. |
| function | string | Name of the function. |
Rückgabewert
Typ
array
The argument types of the function: each is "Pure" or an object kind such as { Object: "ByImmutableReference" | "ByMutableReference" | "ByValue" }.
Codebeispiele
curl https://holy-burned-sky-sui-mainnet.rpcnode.dev/7c9e6679-7425-40de-944b-e07fc1f90ae7 \
-X POST \
-H 'content-type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "sui_getMoveFunctionArgTypes",
"params": [
"0x0000000000000000000000000000000000000000000000000000000000000002",
"coin",
"value"
]
}'