blokboard/ Open app

Node reference

Mint token

Create a Token-2022 mint

Solana

Mint token creates a new Token-2022 mint and can issue an initial supply to an owner. It creates a token definition; it does not list that token on a trading venue.

Try it step by step#

  1. Use devnet with a funded test payer and choose the owner that should receive the initial supply.
  2. Set a test name and symbol, Decimals to 6, and Initial Supply to 10.
  3. Run once and inspect mint, tokenAccount, amountRaw, and transactionSignature. Use Token balance to read the created account.

What to expect#

With 6 decimals, an initial supply of 10 represents amountRaw: "10000000". The mint and token account addresses are created by this run.

Things to check#

  • Decimals controls the smallest representable fraction. The supplied amount cannot have more fractional digits than that.
  • URI points to token metadata; entering a URL does not upload a file for you.
  • Creating another run creates another mint. Save the returned mint address if you want to use that token later.

Keep learning#

Network setup: This node uses solana. See connections for RPC setup and Test mode for network selection.

Parameters#

SettingDefaultWhat it does
RPC URL{{global.chains.solana.rpcUrl}}Configured for Solana in workspace RPC settings.
CommitmentconfirmedHow far a Solana block must be confirmed before its data is used.
Payer Wallet{{global.main_wallet}}Signing wallet that pays the transaction and account-creation costs.
Initial Owner{{global.main_wallet}}Wallet that receives the initial supply of the new token.
Token Name—Display name for the token being created.
Symbol—Short token symbol shown with its metadata.
Metadata URI(empty)URL of the token metadata. This field does not upload the metadata for you.
Decimals6Number of fractional digits supported by the token. Use the mint’s actual value for transfers.
Initial Supply0Initial token quantity in display units, before conversion to the smallest units.
Enable Mint Close AuthorityfalseLets the payer close the mint after its supply is zero. Useful for disposable or lifecycle-managed mints.
Signing LayerautoSigning provider to use. Auto selects an available provider for this run.
Skip PreflightfalseSkip the RPC preflight check before sending. Keep this off while learning.
ConfirmfalseWait for transaction confirmation after submission.
On failurestopChoose whether a failed execution stops the workflow or only ends this path.
Retry attempts0How many additional attempts to make after the first failure.

RPC URL: Available under More options.

Commitment: Choices: Processed (processed), Confirmed (confirmed), Finalized (finalized). Available under More options.

Enable Mint Close Authority: Available under More options.

Signing Layer: Choices: Auto (auto), Application (executable), Extension (extension), Web Vault (web). Available under More options.

Skip Preflight: Available under More options.

Confirm: Available under More options.

On failure: Choices: Stop workflow (stop), Continue (continue). Available under More options.

Retry attempts: Available under More options. Limits: minimum 0.

Inputs#

PortValueDescription
inanyPayload to forward with the mint result.

Outputs#

PortValueDescription
outobjectCreated Token-2022 mint with on-mint metadata.

out fields#

FieldType
mintstring
tokenAccountstring
ownerstring
amountRawstring
transactionSignaturestring