Endpoints
| Environment | Paymaster URL |
|---|
| Mainnet | https://starknet.paymaster.avnu.fi |
| Sepolia Testnet | https://sepolia.paymaster.avnu.fi |
Supported Tokens (avnu Instance)
The avnu paymaster accepts the most liquid ERC-20 tokens on Starknet:
Stablecoins: USDC, USDT, DAI
Native: ETH, STRK
BTC Variants: WBTC, solvBTC, LBTC, xWBTC, xtBTC
DeFi: EKUBO, NSTR, LORDS
LST: wstETH, Endur derivatives
Token support is automatically updated based on trading volume and liquidity. Running your own instance gives you full control over accepted tokens.
Monitoring Your Usage
Track your sponsored transactions and gas costs using the Sponsor Activity API:
async function getSponsorActivity(apiKey: string) {
const startDate = new Date(Date.now() - 7 * 24 * 60 * 60 * 1000).toISOString();
const endDate = new Date().toISOString();
const params = new URLSearchParams({ startDate, endDate });
const response = await fetch(
`https://starknet.api.avnu.fi/paymaster/v1/sponsor-activity?${params}`,
{
headers: { 'api-key': apiKey }
}
);
const stats = await response.json();
console.log('Total transactions:', stats.txCount);
console.log('Successful:', stats.succeededTxCount);
console.log('Reverted:', stats.revertedTxCount);
console.log('STRK gas fees:', stats.strkGasFees);
console.log('Remaining STRK credits:', stats.remainingStrkCredits);
}
Set up alerts when remainingStrkCredits fall below a threshold to avoid service interruption.