Tokenization
Mint tokens
Mint tokens and upload metadata
post/tokenization/collections/{id}/tokens/mint
Request
- Base URLhttps://api.fireblocks.io/v1
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring required
The collection link id
Headers
Idempotency-Keystring
A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Request body
Example request
{
"vaultAccountId": "0",
"to": "0x5503766D27d1ED4525f5053222E18b29C38eDdB2",
"tokenId": "1",
"amount": "1",
"metadataURI": "ipfs://QmP4P6f7mDHzikhdwLBVSCxCPEgmjwcWSVBHbtSyfBYzBC",
"metadata": {
"name": "DigitalArtTokens",
"description": "Digital representation of a piece of art",
"image": "https://some_domain.com/image_filepath",
"animation_url": "https://some_domain.com/gif_filepath",
"external_url": "https://some_domain.com/blob_filepath",
"attributes": [
{
"trait_type": "project_start",
"display_type": "date"
}
]
},
"externalId": "0192e4f5-924e-7bb9-8e5b-c748270feb38"
}Response
Tokens minted successfully
Example response
{
"txId": "fbfbfbfb-fbfb-fbfb-fbfb-fbfbfbfbfbfb"
}Changes
No recorded changes to this operation across all 1 revision of this API.