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