submit-proposal
Submit governance proposals to the Osmosis blockchain, including text, parameter changes, software upgrades, and community pool spend requests, using a secure transaction process.
Instructions
Submit a governance proposal to the Osmosis network
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | No | Amount to spend (for community_pool_spend proposals) | |
changes | No | Parameter changes (for parameter_change proposals) | |
description | Yes | Detailed proposal description | |
gas | No | Gas limit (default: auto-estimate) | |
gasPrice | No | Gas price (default: 0.025uosmo) | |
initialDeposit | No | Initial deposit amount in uosmo (e.g., '10000000') | 10000000 |
memo | No | Transaction memo | |
mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction | |
plan | No | Upgrade plan (for software_upgrade proposals) | |
recipient | No | Recipient address (for community_pool_spend proposals) | |
title | Yes | Proposal title | |
type | Yes | Type of governance proposal |
Input Schema (JSON Schema)
{
"properties": {
"amount": {
"description": "Amount to spend (for community_pool_spend proposals)",
"items": {
"properties": {
"amount": {
"type": "string"
},
"denom": {
"type": "string"
}
},
"required": [
"denom",
"amount"
],
"type": "object"
},
"type": "array"
},
"changes": {
"description": "Parameter changes (for parameter_change proposals)",
"items": {
"properties": {
"key": {
"type": "string"
},
"subspace": {
"type": "string"
},
"value": {
"type": "string"
}
},
"required": [
"subspace",
"key",
"value"
],
"type": "object"
},
"type": "array"
},
"description": {
"description": "Detailed proposal description",
"type": "string"
},
"gas": {
"description": "Gas limit (default: auto-estimate)",
"type": "string"
},
"gasPrice": {
"description": "Gas price (default: 0.025uosmo)",
"type": "string"
},
"initialDeposit": {
"default": "10000000",
"description": "Initial deposit amount in uosmo (e.g., '10000000')",
"type": "string"
},
"memo": {
"description": "Transaction memo",
"type": "string"
},
"mnemonic": {
"description": "BIP-39 mnemonic phrase for signing the transaction",
"type": "string"
},
"plan": {
"description": "Upgrade plan (for software_upgrade proposals)",
"properties": {
"height": {
"type": "number"
},
"info": {
"type": "string"
},
"name": {
"type": "string"
}
},
"type": "object"
},
"recipient": {
"description": "Recipient address (for community_pool_spend proposals)",
"type": "string"
},
"title": {
"description": "Proposal title",
"type": "string"
},
"type": {
"description": "Type of governance proposal",
"enum": [
"text",
"parameter_change",
"software_upgrade",
"cancel_software_upgrade",
"community_pool_spend"
],
"type": "string"
}
},
"required": [
"mnemonic",
"title",
"description",
"type"
],
"type": "object"
}