set-token-metadata
Enables setting metadata for token factory tokens on the Osmosis blockchain, including description, denom units, base, display, name, symbol, and URI details, using a BIP-39 mnemonic for transaction signing.
Instructions
Set metadata for a token factory token
Input Schema
Name | Required | Description | Default |
---|---|---|---|
denom | Yes | Token denomination to set metadata for | |
gas | No | Gas limit (default: auto-estimate) | |
gasPrice | No | Gas price (default: 0.025uosmo) | |
memo | No | Transaction memo | |
metadata | Yes | Token metadata | |
mnemonic | Yes | BIP-39 mnemonic phrase for signing the transaction |
Input Schema (JSON Schema)
{
"properties": {
"denom": {
"description": "Token denomination to set metadata for",
"type": "string"
},
"gas": {
"description": "Gas limit (default: auto-estimate)",
"type": "string"
},
"gasPrice": {
"description": "Gas price (default: 0.025uosmo)",
"type": "string"
},
"memo": {
"description": "Transaction memo",
"type": "string"
},
"metadata": {
"description": "Token metadata",
"properties": {
"base": {
"type": "string"
},
"denomUnits": {
"items": {
"properties": {
"aliases": {
"items": {
"type": "string"
},
"type": "array"
},
"denom": {
"type": "string"
},
"exponent": {
"type": "number"
}
},
"required": [
"denom",
"exponent"
],
"type": "object"
},
"type": "array"
},
"description": {
"type": "string"
},
"display": {
"type": "string"
},
"name": {
"type": "string"
},
"symbol": {
"type": "string"
},
"uri": {
"type": "string"
},
"uriHash": {
"type": "string"
}
},
"required": [
"description",
"denomUnits",
"base",
"display",
"name",
"symbol"
],
"type": "object"
},
"mnemonic": {
"description": "BIP-39 mnemonic phrase for signing the transaction",
"type": "string"
}
},
"required": [
"mnemonic",
"denom",
"metadata"
],
"type": "object"
}