radiant_create_nft
Mint a Glyph NFT on Radiant using a two-transaction commit-reveal pattern. Provide NFT details and a WIF private key to receive transaction IDs and token reference.
Instructions
Mint a new Glyph Non-Fungible Token (NFT) on Radiant. Uses the 2-transaction commit+reveal pattern. Returns both transaction IDs and the token reference (tokenRef). Requires a WIF private key.
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": {
"name": "<name>"
},
"name": "radiant_create_nft"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wif | No | WIF-encoded private key of the minter (transient). Provide this OR key_alias. | |
| name | Yes | NFT name | |
| image | No | Image URL or IPFS CID | |
| key_alias | No | Alias of a key previously registered with radiant_register_key. Preferred. | |
| attributes | No | Arbitrary NFT attributes as a JSON object | |
| description | No | NFT description | |
| fee_per_byte | No | Fee rate in photons/byte (default: 10000, the mainnet V2 min-relay floor) | |
| change_address | No | Change address (defaults to minter address) |