The following improvements have been made to the Glacier API:

EVM

👍

Remove Spam Tokens from Balances Endpoint

Users can now pass in an optional query parameter filterSpamTokens when getting balances for a particular address to filter out balances of tokens that we've determined to be spam. By default, the route will now filter spam tokens unless filterSpamTokens=false.

Try it out here!

Primary Network

👍

New sorting and filtering parameters in the List Validators endpoint

In the List Validators endpoint, users can now sort validators by Block Index, Delegation Capacity, Time Remaining, Delegation Fee, or Uptime Performance.

Users can also filter by validator uptime performance using minUptimePerformance and maxUptimePerformance and by fee percentage using minFeePercentage and maxFeePercentage

Webhooks

👍

Get addresses associated with a webhook

A new API endpoint has been added to enable users to list all addresses associated with a webhook

The new webhook service allows you to receive blockchain data in real-time. With Glacier Webhooks, you can monitor real-time events on the Avalanche C-chain and subnets. For example, you can monitor smart contract events, track NFT transfers, and observe wallet-to-wallet transactions.


Features:

  • Subnet enabled: Support for C-chain mainnet, testnet, and subnets within the Avalanche ecosystem, ensuring wide-ranging monitoring capabilities.
  • Real-time notifications: Receive immediate updates on specified on-chain activities without making many RPC calls.
  • Customizable: Specify the desired event type to listen for, customizing notifications according to individual requirements.
  • Secure: Employ shared secrets and signature-based verification to guarantee that notifications originate from a trusted source.

Use cases

  • NFTs: Get instant alerts for NFT minting, transfers, sales, and other marketplace activities, ensuring up-to-date data and immediate notifications for successful ERC721 and ERC1155 NFT transactions.
  • Wallets: Receive alerts when an address performs actions such as sending, receiving, or swapping assets.
    DeFi: Receive notifications for various DeFi activities such as liquidity provisioning, yield farming, borrowing, lending, and liquidations.
  • Smart contracts: Monitor your smart contract events by specifying contracts and on-chain events of interest. Add the contract address, to receive the necessary events, addresses, and internal transactions efficiently.

For further details, visit our: