sui_getNormalizedMoveModulesByPackage RPC Method
Parameters
package
string
REQUIRED
The address of the package on the Sui blockchain containing the module
Returns
result
object
The result object which contains the following fields:
Module_name
string
The module which contains the following fields:
fileFormatVersion
integer
The version of the file format
address
string
The address as a string
name
string
The name as a string
friends
array
The array of friends
structs
object
The structs object
exposedFunctions
object
The exposedFunctions object which contains the following fields:
place_limit_order_ask
object
The place_limit_order_ask object which contains the following fields:
visibility
string
The visibility of the function
isEntry
boolean
The flag indicating if it is an entry point
typeParameters
array
The array of type parameters
abilities
array
The array of abilities
parameters
array
The array of parameters
MutableReference
object
The MutableReference object which contains the following fields:
Struct
object
The Struct object which contains the following fields:
address
string
The address of the struct
module
string
The module name
name
string
The name of the struct
typeArguments
array
The array of type arguments
TypeParameter
integer
The type parameter
return
array
An array of return
Struct
object
The Struct object which contains the following fields:
address
string
The address of the module where the structure resides
module
string
The name of the module containing the structure
name
string
The name of the structure
typeArguments
array
An array of typeArguments
TypeParameter
integer
Represents the type parameter of the structure
place_limit_order_bid
object
The place_limit_order_bid object which contains the following fields:
visibility
string
The visibility of the function
isEntry
boolean
The flag indicating if it is an entry point
typeParameters
array
The array of type parameters
abilities
array
The array of abilities
parameters
array
The array of parameters
MutableReference
object
The MutableReference object which contains the following fields:
Struct
object
The Struct object which contains the following fields:
address
string
The address of the struct
module
string
The module name
name
string
The name of the struct
typeArguments
array
The array of type arguments
TypeParameter
integer
The type parameter
return
array
An array of return
Struct
object
The Struct object which contains the following fields:
address
string
The address of the module where the structure resides
module
string
The name of the module containing the structure
name
string
The name of the structure
typeArguments
array
An array of typeArguments
TypeParameter
integer
Represents the type parameter of the structure
place_market_order_ask
object
The place_market_order_ask object which contains the following fields:
visibility
string
The visibility of the function
isEntry
boolean
The flag indicating if it is an entry point
typeParameters
array
The array of type parameters
abilities
array
The array of abilities
parameters
array
The array of parameters
MutableReference
object
The MutableReference object which contains the following fields:
Struct
object
The Struct object which contains the following fields:
address
string
The address of the struct
module
string
The module name
name
string
The name of the struct
typeArguments
array
The array of type arguments
TypeParameter
integer
The type parameter
return
array
An array of return
Struct
object
The Struct object which contains the following fields:
address
string
The address of the module where the structure resides
module
string
The name of the module containing the structure
name
string
The name of the structure
typeArguments
array
An array of typeArguments
TypeParameter
integer
Represents the type parameter of the structure
place_market_order_bid
object
The place_market_order_bid object which contains the following fields:
visibility
string
The visibility of the function
isEntry
boolean
The flag indicating if it is an entry point
typeParameters
array
The array of type parameters
abilities
array
The array of abilities
parameters
array
The array of parameters
MutableReference
object
The MutableReference object which contains the following fields:
Struct
object
The Struct object which contains the following fields:
address
string
The address of the struct
module
string
The module name
name
string
The name of the struct
typeArguments
array
The array of type arguments
TypeParameter
integer
The type parameter
return
array
An array of return
Struct
object
The Struct object which contains the following fields:
address
string
The address of the module where the structure resides
module
string
The name of the module containing the structure
name
string
The name of the structure
typeArguments
array
An array of typeArguments
TypeParameter
integer
Represents the type parameter of the structure
Request
1curl --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_getNormalizedMoveModulesByPackage",7"params": [8"0x158f2027f60c89bb91526d9bf08831d27f5a0fcb0f74e6698b9f0e1fb2be5d05"9]10}11'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free