SolKnife Create Mint API
The Create Mint API from SolKnife — 2 operation(s) for create mint.
The Create Mint API from SolKnife — 2 operation(s) for create mint.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/solknife-xyz:solknife-xyz-create-mint-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: SolKnife Create Mint API
description: 'Non-custodial Solana toolkit. Every UI action is reachable over JSON HTTP: the server builds unsigned transactions, the caller signs, the server submits. Also available as an MCP server at /api/mcp.'
version: 1.0.0
contact:
email: admin@solknife.xyz
x-guidance: 'Every write is a two-step, non-custodial flow: POST to a /build endpoint to get an unsigned base64 VersionedTransaction, sign it with your own key, then POST the signed tx to the matching /execute endpoint. The server never holds your keys. Reads are plain GETs. Paid endpoints answer 402 with an x402 v2 challenge: pay the `exact` entry in USDC and retry with the PAYMENT-SIGNATURE header.'
servers:
- url: https://solknife.xyz
tags:
- name: Create Mint
paths:
/api/create-mint/build:
post:
operationId: create_mint_build
summary: Generate an unsigned create-mint transaction
description: Build an unsigned create-mint tx (extensions incl. confidential transfer).
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
'402':
description: Payment Required — see the x402 challenge in the body and the PAYMENT-REQUIRED header.
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
payer:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
mint:
type: string
pattern: ^[1-9A-HJ-NP-Za-km-z]{32,44}$
description: A Solana address in base58, 32-44 chars.
program:
type: string
enum:
- spl-token
- token-2022
decimals:
type: integer
minimum: 0
maximum: 9
description: Decimal places for the new mint. 9 matches SOL, 6 matches USDC.
freezeAuthority:
type: boolean
description: Whether the new mint gets a freeze authority. False makes accounts unfreezable forever.
extensions:
default:
transferFeeBps: null
interestRateBps: null
closeAuthority: false
confidentialTransfer: false
description: 'Token-2022 extensions to enable. Omit entirely for program: spl-token.'
type: object
properties:
transferFeeBps:
anyOf:
- type: integer
minimum: 0
maximum: 10000
- type: 'null'
description: Token-2022 transfer fee in basis points (100 = 1%), or null for none.
interestRateBps:
anyOf:
- type: integer
minimum: -32768
maximum: 32767
- type: 'null'
description: Token-2022 interest rate in basis points; may be negative. Null for none.
closeAuthority:
type: boolean
description: Whether the mint may later be closed by its authority.
confidentialTransfer:
type: boolean
description: Whether to enable Token-2022 confidential transfers on the mint.
required:
- transferFeeBps
- interestRateBps
- closeAuthority
- confidentialTransfer
required:
- payer
- mint
- program
- decimals
- freezeAuthority
x-payment-info:
price:
mode: fixed
currency: USD
amount: '0.01'
protocols:
- x402: {}
tags:
- Create Mint
/api/create-mint/execute:
post:
operationId: create_mint_execute
summary: Submit the signed create-mint tx
description: Submit the signed create-mint tx.
security: []
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
requestBody:
required: true
content:
application/json:
schema:
$schema: https://json-schema.org/draft/2020-12/schema
type: object
properties:
signedTransaction:
type: string
minLength: 1
maxLength: 2500
description: The base64 VersionedTransaction returned by the matching /build call, signed with your key. Do not submit it yourself; this endpoint submits it.
lastValidBlockHeight:
type: integer
exclusiveMinimum: 0
maximum: 10000000000
description: The `lastValidBlockHeight` returned alongside the unsigned tx by /build. Past this block height the tx can no longer land.
required:
- signedTransaction
- lastValidBlockHeight
tags:
- Create Mint