Mint 1x1

Endpoint

POST /api/v1/ERC721F/{network}/mint-token-1x1

Executes minting of an ERC-721F token, enabling token creation based on the 1x1 tokenization model.

Check the Networks section for replacing the {network} text in the Endpoint URL.


Headers

Name
Value

Content-Type

application/json

Authorization


Body

Name
Type
Description

contractAddress

string

Address of the smart contract that will issue the token

tokenId

integer

Token unique identifier

mintCost

integer

Amount required to mint a token

tokenText

string

The text content that is stamped in the token output

metadata

string

The text content that is inserted in the token metadata, stored within its SVG file

walletPrivateKey

string

Deployer private key for authorizing transaction

background

string (optional), defaults to #000000

Hexadecimal color for the token output background

textColor

string (optional), defaults to #FFFFFF

Hexadecimal color for the token output text

fontFamily

string (optional), defaults to sans-serif

Font-family that is used in the token output text

borderRadius

integer (optional), defaults to 0

Border radius that is applied to the token output

showTrademark

boolean (optional), defaults to false

Xyxyx trademark displayed on the token output bottom right corner

showDeployerAddress

boolean (optional), defaults to false

Deployer address displayed on the token output bottom left corner

logo

string (SVG) (optional), defaults to null

1:1 SVG that is displayed on the top left corner of the token output

watermark

string (SVG) (optional), defaults to null

1:1 SVG that is displayed in the background of the token output (with 70% opacity)


Response

{
  "success": true,
  "status": "Token minted successfully at address: {contractAddress}`",
  "hash": "1x111..."
}

Last updated