prepare-create-token-factory-denom
Generates a transaction to create a new token factory denomination on the Osmosis blockchain, specifying the sender's address, subdenom, and optional metadata.
Instructions
Prepares a transaction to create a new token factory denomination
Input Schema
Name | Required | Description | Default |
---|---|---|---|
metadata | No | Optional token metadata | |
sender | Yes | The sender's Osmosis address (will be the creator) | |
subdenom | Yes | The subdenom to create (will become factory/{sender}/{subdenom}) |
Input Schema (JSON Schema)
{
"properties": {
"metadata": {
"description": "Optional token metadata",
"properties": {
"base": {
"description": "Base denomination",
"type": "string"
},
"description": {
"description": "Token description",
"type": "string"
},
"display": {
"description": "Display denomination",
"type": "string"
},
"name": {
"description": "Token name",
"type": "string"
},
"symbol": {
"description": "Token symbol",
"type": "string"
},
"uri": {
"description": "URI for additional metadata",
"type": "string"
},
"uriHash": {
"description": "Hash of the document at URI",
"type": "string"
}
},
"type": "object"
},
"sender": {
"description": "The sender's Osmosis address (will be the creator)",
"type": "string"
},
"subdenom": {
"description": "The subdenom to create (will become factory/{sender}/{subdenom})",
"type": "string"
}
},
"required": [
"sender",
"subdenom"
],
"type": "object"
}