Create a token type
This endpoint creates a token type for a contract.
Authorizations
Bearer authentication header of the form Bearer <API_KEY>
.
Path Parameters
The ID of the contract.
Body
The name of the token type. Two token types belonging to a same contract cannot have the same name.
The description of the token type.
The max supply of the token type.
The traits of the token type. The key is the name of the trait and the value is the value of the trait.
The image URL of the token type. Supported formats are PNG, JPEG, GIF or MP4.
Response
The ID of the token type.
The URI number of the token.
The ID of the contract.
The name of the token type.
The description of the token type.
The max supply of the token type.
The current supply for this token type.
The traits of the token type. The key is the name of the trait and the value is the value of the trait.
The image URL of the token type. Supported formats are PNG, JPEG, GIF or MP4.
The URL where this token types's metadata JSON is located.
The timestamp from when the token type was created.
The timestamp from when the token type was last updated.
Was this page helpful?