prepare-migrate-contract
Prepare a transaction to migrate a smart contract to new code on the Osmosis blockchain. Specify sender, contract address, new code ID, and migration message to ensure proper execution.
Instructions
Prepares a transaction to migrate a contract to new code
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| contractAddress | Yes | The contract address to migrate | |
| migrateMsg | Yes | The migration message as a JSON object | |
| newCodeId | Yes | The new code ID to migrate to | |
| sender | Yes | The sender's Osmosis address (must be admin) |