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)
API REFERENCETo fully utilize the Studio API, check out the Studio API Reference.
Prerequisite
Dependencies
Dependencies
RPC
RPC
Set up RPC
NOTESolana provides a default RPC endpoint. However, as your application grows, we recommend you to always use your own or provision a 3rd party provider’s RPC endpoint such as Helius or Triton.
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
.env
file.
.env
file, you can use the following script.Transaction Sending Example
Transaction Sending Example