Move function signature
suiGetFunctionFetches a Sui Move function's signature—visibility, entry status, type parameters, parameter and return types—so programmable transaction blocks can call it correctly.
Instructions
One Move function's signature: visibility, whether it is an entry function, its type parameters, its parameter types and its return types — what a programmable transaction block needs in order to call it. Never capped or paged. Take the package and module names from suiGetPackage. A name the package does not declare is refused by the node rather than approximated.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| module | Yes | Module name | |
| package | Yes | Package id (0x2 is the framework) | |
| function | Yes | Function name |