curl. The last step also shows a call in JavaScript (Node.js 18 or later).
The funds you can read today are the funds of Starke’s public beta, on Solana mainnet. They are offered only within the public beta program, for protocol testing and feedback, and are not an investment product.
1. Read a fund token’s metadata
Each fund has its own token, and each token has a symbol. Ask for the metadata ofrkBlueChip, the token of the rkShares Blue Chip Beta fund:
2. Find a fund’s address
The other fund reads take the fund’s address, its account on Solana. To find it, open the fund from the Starke app’s fund list: the fund page’s URL ends with it.<fund address>.
3. Get the fund token’s latest price
aum_usd: the fund’s value, in US dollars.supply: the number of fund tokens in circulation.price_usd: the price of one fund token, in US dollars.mint_id: the fund token’s address on Solana.
4. Get the price history
Add a time window and the spacing of the points:Z. granularity is 15mins, 1hour or 1day. The answer lists each fund’s price points, oldest first.
The same call in JavaScript:
When a call fails
Check the HTTP status first. A400 for a missing or invalid query parameter has a JSON body that names each parameter; every other error has a short plain-text body. Errors lists them all.
Next
- Architecture: where these numbers come from.
- Transaction model: how a deposit or a redemption reaches the chain, and how to tell when the API shows it.
- API reference: every read the API offers.