Token
LAPLACE
Where the token is told and where its figures live.
LAPLACE is the token of the Laplace network. It is tied to the protocol's share: the part of each finalized fee and of each lost bond that the program pays to the protocol's fee recipient. The token is told in full on Network, beside the live totals it follows.
Where its figures are read
Every figure of the token is a field of one response. GET /v1/network answers the Network shape, and its token object holds the token:
mintKey | null- The token's mint address.
venuestring | null- A link to where the token trades.
burnedAmount | null- The amount burned to date, in the mint's base units as a decimal string. The mint has 6 decimals.
nullwhilemintisnull. symbolstring- The symbol, LAPLACE.
supplystring- The fixed supply, in whole tokens, as a decimal string.
The share the token is tied to is the protocol object of the same response: feeRecipient, shareBps, slashWinnerBps, received and receivedLamports. The HTTP API reference defines each.
curl "$LAPLACE_API/v1/network"import { createApiClient } from '@laplace/sdk/api'
const { token, protocol } = await createApiClient(apiUrl).network()
console.log(token.symbol, token.supply, token.mint)
if (token.burned !== null) console.log('burned', BigInt(token.burned))
console.log(protocol.shareBps, 'bps of each finalized fee to', protocol.feeRecipient)$LAPLACE_API and apiUrl are the API address of the network, listed on Addresses.