NOTE
- Lite URL:
https://lite-api.jup.ag/studio/v1: 100 requests per 5 minutes - Pro URL:
https://api.jup.ag/studio/v1: 10 requests per 10 seconds (for all Tiers)
Prerequisite
Dependencies
Dependencies
Wallet
Wallet
Set up Development WalletTo set up a development wallet via To set up a development wallet via a wallet generated via Solana CLI, you can use the following script.
NOTE
- You can paste in your private key for testing purposes but this is not recommended for production applications.
- If you want to store your private key in the project directly, you can do it via a
.envfile.
.env file, you can use the following script.Create Transaction
This endpoint helps you create a few key components to launch your token on Studio.transaction: A base64-encoded unsigned transaction.mint: The mint of the token that is being created.imagePresignedUrl: APUTrequest endpoint to upload your token image.metadataPresignedUrl: APUTrequest endpoint to upload your token metadata.imageUrl: The token’s static image url to be used in the metadata.
Token Metadata
The following 2 steps, are to upload your token image and metadata to the static URL, which will be the URI in the onchain metadata of your token. Example- URI/ Off-chain Metadata:
https://static-create.jup.ag/metadata/{mint}.json - Image:
https://static-create.jup.ag/images/{mint}
Upload Image
From the response of thecreate-tx endpoint, we will need the imagePresignedUrl to make a PUT request to the url provided, in order to upload the token image.
Upload Metadata
From the response of thecreate-tx endpoint, we will need the metadataPresignedUrl to make a PUT request to the url provided, in order to upload the token metadata.
Submit Transaction
After you have uploaded your token image and token metadata, you can proceed to signing and making a post request to thesubmit endpoint - this will allow Jupiter Studio to complete the transaction and submit it to the network on your behalf.
NOTE
- Do note that the endpoint expects the
requestBody’scontentto be inmultipart/form-dataformat. - Ensure the file types and size of the image file is manageable.
NOTEThe
content and headerImage refers to the Studio dedicated page’s token description and header image of the page, they are not on-chain metadata. This is meant for you to customize the Studio dedicated page as you wish - to include lore, story or just a nice looking banner!The content and headerImage are stored off-chain for our frontend to ingest and display.Do not confuse this with the uploading of token metadata, they are done separately.