Minter Endpoints¶
This section details the endpoints related to minting operations, including standard minting and any other related functionalities.
Standard Minting Operation¶
- POST /api/0/v2minter/standard¶
Mints a new token with the provided image and metadata. Authentication is required to use this endpoint.
Request Body
- Request JSON Object:
account (string) – The account to mint the token for.
policy (string) – The policy to use for minting.
image (file) – The image file to mint with the token.
metadata (object) – (Optional) Additional metadata for the token in JSON format.
Responses
- Status Codes:
200 OK – A successful minting operation. Returns the token ID and metadata hash.
400 Bad Request – Bad request, possibly due to missing file upload or insufficient credits.
500 Internal Server Error – Error during the minting process or internal server error.