sui_list_package_versions
Retrieve the upgrade history of a Move package on Sui to find older contract versions when an address references a snapshot.
Instructions
List historical versions of a Move package — the upgrade chain. Useful when an address points at an older snapshot of a contract.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"package_id": "<package_id>"
},
"name": "sui_list_package_versions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_id | Yes | ||
| page_size | No | ||
| page_token | No | ||
| network | No | Sui network. Defaults to the server's configured default. |