services
Get a key

library / Blockchain ideas

Wallet watchers

Wallet watchers in the Carbium Library: 7 working Solana examples, among them Failed transaction fee tally, Fresh wallet detector and 30-day SOL balance chart.

  • Failed transaction fee tally BI0090

    Spec and runnable code for a tally of the fees a wallet paid on failed transactions: count, lamports lost and top error names, from two RPC methods.

  • Fresh wallet detector BI0062

    Read a Solana wallet's age from signature pages: first seen inside the 30-day index, older than the index, or no history, with the date and pages read.

  • 30-day SOL balance chart BI0060

    Spec and code for a wallet app chart of daily SOL balance over 30 days, rebuilt from each transaction's postBalances and anchored on getBalance.

  • Rent reclaim scanner BI0018

    Spec and runnable code that lists a wallet's empty token accounts, sums the rent each one holds and shows what closing them would return, read-only.

  • Token approval checker BI0017

    Spec and runnable code that lists the delegates and allowances on a wallet's SPL and Token-2022 token accounts with two read-only RPC calls.

  • Whale transfer alerts BI0016

    Spec and runnable code that watches chosen large wallets and prints an alert when a confirmed transaction moves more SOL than your threshold.

  • Wallet activity tracker BI0005

    Spec and runnable code for a tracker that lists every transaction that mentions one wallet, recent history first and then live, with its result and balance.