Cambrian Token Mint/Burn Transactions API
GET /api/v1/solana/token-mint-burn-transactions
Token Mint/Burn Transactions
Overview
Returns a paginated list of mint and burn transactions for a specified Solana token, including transaction details, amounts, and timing. Use it to track changes in token supply and monitor for compliance.
Business Value
- Supply Monitoring: Track complete token supply changes through detailed mint and burn transaction history
- Compliance Auditing: Essential for regulatory compliance monitoring and token supply verification
- Risk Assessment: Monitor large supply changes and unusual mint/burn patterns that could indicate market risks
- Analytics Integration: Historical supply dynamics data for trading algorithms and market analysis tools
- Forensic Analysis: Complete transaction trail for investigating suspicious token activities and supply manipulation
Endpoint Details
URL:
https://api.cambrian.org/solana/token-mint-burn-transactions
Method: GET
Authentication: Required via X-API-Key header
Query Parameters
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| token_address | string | Yes | - | SPL token mint address (base58 format, 44 characters) |
| after_time | integer | Yes | - | Unix timestamp - only return transactions after this time |
| before_time | integer | Yes | - | Unix timestamp - only return transactions before this time |
| limit | integer | No | 100 | Limit the number of results. Minimum: 1. Maximum: 300. |
| offset | integer | No | 0 | Offset the results, allows you to skip a number of rows before starting to return rows. Minimum: 0. Maximum: 100000000. |
| order_asc | array | No | - | List of column names to order by in ascending order divided by comma. Leave empty items to combine with descending order |
| order_desc | array | No | - | List of column names to order by in descending order divided by comma. Leave empty items to combine with ascending order |
Response Field Descriptions
| Response Field | Type | Description |
|---|---|---|
| blockTime | Integer | Unix timestamp of the block containing the mint/burn transaction |
| blockNumber | Integer | Solana block number (slot) containing the transaction |
| txSignature | String | Transaction signature uniquely identifying the mint/burn transaction |
| tokenAddress | String | SPL token mint address the transaction applies to |
| operationType | String | Type of supply change operation (e.g., mint or burn) |
| accountCount | Integer | Number of accounts involved in the transaction |
| authority | String | Address of the mint/burn authority that signed the operation |
| amount | Integer | Raw (unscaled) amount minted or burned, in base units |
| amountUI | Float | Human-readable amount minted or burned, adjusted for token decimals |
| decimals | Integer | Number of decimal places used by the token |
Examples
1. Query mint/burn transactions for a token within a time window
This example retrieves mint and burn transactions for the USDC token (EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v) between two Unix timestamps, limited to 10 results.
curl -X GET "https://api.cambrian.org/solana/token-mint-burn-transactions?token_address=EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v&after_time=1752503691&before_time=1752523691&limit=10" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: application/json"
Response:
[
{
"columns": [],
"data": [],
"rows": 0
}
]
Note: Result collections are limited to 10 items. No mint or burn transactions were found for this token within the specified time window, so the response has an empty data array and rows: 0.
x402 Payment Option
This endpoint supports pay-per-use access via the x402 payment protocol (v2): pay $0.05 USDC per request using blockchain micropayments. No API key required.
Quick Start (TypeScript)
npm install @x402/fetch @x402/evm viem
import { x402Client } from "@x402/core/client";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const signer = privateKeyToAccount(process.env.EVM_PRIVATE_KEY as `0x${string}`);
const client = new x402Client();
client.register("eip155:*", new ExactEvmScheme(signer));
const fetchWithPayment = wrapFetchWithPayment(fetch, client);
const response = await fetchWithPayment(
"https://x402.cambrian.org/solana/token-mint-burn-transactions"
);
const data = await response.json();
Quick Start (Python)
pip install "x402[httpx]"
import asyncio, os
from eth_account import Account
from x402 import x402Client
from x402.http.clients import x402HttpxClient
from x402.mechanisms.evm import EthAccountSigner
from x402.mechanisms.evm.exact.register import register_exact_evm_client
async def main():
client = x402Client()
account = Account.from_key(os.getenv("EVM_PRIVATE_KEY"))
register_exact_evm_client(client, EthAccountSigner(account))
async with x402HttpxClient(client) as http:
response = await http.get("https://x402.cambrian.org/solana/token-mint-burn-transactions")
print(response.json())
asyncio.run(main())
Payment Flow
- Send a normal request to the endpoint (no API key needed)
- Server returns
402 Payment Requiredwith payment details - The x402 SDK automatically signs a payment authorization with your wallet
- The SDK resubmits the request with the signed payment
- Server verifies payment and returns the API response
The x402 SDK handles steps 2 through 5 automatically.
Network: Base (chain ID 8453) | Currency: USDC | Price: $0.05 per request