Skip to main content

sui_getNormalizedMoveStruct RPC Method

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

Updated on
Dec 10, 2024

sui_getNormalizedMoveStruct RPC Method

Parameters

package
string
REQUIRED
The address of the package on the Sui blockchain containing the module
module
string
REQUIRED
The name of the module containing the Move function
struct_name
string
REQUIRED
The struct name associated with the module

Returns

result
object
The result object which contains the following fields:
abilities
object
The abilities object which contains the following fields:
abilities
string
The list of abilities
typeParameters
array
The array of type parameters
fields
array
The array of fields
name
string
The name of the field
type
string
The type of the field
Request
1
curl --location 'https://docs-demo.sui-mainnet.quiknode.pro/' \
2
--header 'Content-Type: application/json' \
3
--data '{
4
"jsonrpc": "2.0",
5
"id": 1,
6
"method": "sui_getNormalizedMoveStruct",
7
"params": [
8
"0x3c00b4fd6f40f73ea58b91fd9a71eb1734584271d83089fd2441fa2e6140cc59",
9
"gear",
10
"GEAR"
11
]
12
}
13
'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free