Move modules in a Sui package
suiGetPackageWhat a published Move package declares, so a caller can pick what to inspect next.
By default this answers with an INDEX: one row per module carrying its name and how many functions and datatypes it holds, capped at 50 rows (raise it with maxModules). Pass module to get that one module in full instead — every function signature and every datatype it declares.
The whole package is never returned; the 0x2 framework alone is around 484 KB. This method has no upstream paging, so a truncated index carries no cursor: the way past the cap is maxModules, then module, then suiGetFunction for a single signature.
Repeated addresses arrive as $n/@n handles, resolved by the ids and packages tables beside them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | No | ||
| package | Yes | ||
| maxModules | No | Rows the index lists before it truncates (default 50). Ignored when `module` is given. |