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
A brief description of the token type.
The URL of the image representing the token type. Supported formats are PNG, JPEG, GIF, or MP4.
The maximum supply of the token type.
x < 2000000000
The name of the token type. Each token type within a contract must have a unique name.
A dictionary of traits for the token type, where the key is the trait name and the value is the trait value.
Response
The id of the contract to which the token type belongs.
The timestamp from when the token type was created.
The current supply of the token type.
A brief description of the token type.
The id of the token type.
The URL of the image representing the token type. Supported formats are PNG, JPEG, GIF, or MP4.
The maximum supply of the token type.
x < 2000000000
The URL where the metadata JSON of the token type is located.
The name of the token type.
A dictionary of traits for the token type, where the key is the trait name and the value is the trait value.
The timestamp from when the token type was last updated.
The URI number associated with the token type.
Was this page helpful?