services
Get a key

library / Integrations

Chat and notifications

Chat and notifications in the Carbium Library: 11 working Solana examples, among them Email renewal reminders and Discord prize payout feed.

  • Email renewal reminders I0120

    Email customers a few days before a renewal date, saying whether their token balance on Solana covers the price, from a SQLite table and one RPC read.

  • Discord prize payout feed I0119

    Watch a prize payout wallet through Carbium RPC and post each token or SOL payout, with amount and recipient, to a Discord channel webhook.

  • WhatsApp low-balance alerts I0115

    Poll SOL balances with one getMultipleAccounts call on Carbium and send a WhatsApp template message when a wallet falls under your limit.

  • Teams network congestion card I0113

    Poll Carbium for recent TPS and priority fees every minute, then post a color-coded Adaptive Card to a Teams channel when network congestion changes.

  • Telegram invoice payment check I0112

    Check a Telegram invoice against Solana: find a transfer to your wallet with the invoice reference in its memo, then post the result to the chat.

  • Sentry decoded transaction errors I0069

    Decode an InstructionError from getTransaction into a Sentry event with the program id, a hex code and a fingerprint that groups one bug into one issue.

  • Subscription dead-man alert I0068

    Tell a refused, dead, quiet, dropping or flowing logsSubscribe apart with the acknowledgement, a slot heartbeat and signature history, and print a JSON alert.

  • Chain halt SMS alerts I0045

    Poll the newest Solana slot from Carbium every 2 seconds and send an SMS through your HTTP gateway after 10 seconds without a new block, and on recovery.

  • PagerDuty validator delinquency I0044

    Check a validator's RPC and slot lag from another machine against Carbium, then open a PagerDuty incident after three bad polls and resolve it on recovery.

  • NFT holder Discord roles I0009

    A Node watcher that reads each linked holder's NFT token account on Carbium and removes the Discord role once the NFT has left the wallet.

  • Slack slot-lag alerts I0001

    Compare the slot on your Carbium RPC with a reference RPC, post to a Slack webhook when the lag passes 2 slots, and write a health file your app can read.