Integrations

Alchemy Integration: Read-Only On-Chain Quest Verification

By The Loyalty Stacker Team, Loyalty & engagement engineers at GizmolabReviewed by the Gizmolab product teamUpdated

Loyalty Stacker uses Alchemy as a read-only verification layer for supported EVM eligibility checks. It can read a connected wallet's current ERC-20 balance, identify ERC-721 or ERC-1155 holdings, and evaluate supported public contract state, then grant points, badges or access inside the loyalty program when the rule passes. It does not sign transactions, move funds or make automatic on-chain payouts. TON remains a separate chain integration rather than an Alchemy capability.

What Alchemy does inside Loyalty Stacker

Alchemy provides structured blockchain data and JSON-RPC access; Loyalty Stacker turns selected reads into campaign conditions. A marketer chooses the network, contract and threshold, while a member connects a wallet. At claim time, the program reads the relevant state and decides whether the member qualifies.

The cleanest native cases are current-state checks: holds at least one NFT from this collection, holds at least this amount of an ERC-20 token, or a public read-only contract function returns the expected boolean or number for this wallet. These checks are evidence, not payments. After a pass, Loyalty Stacker updates the member's in-program state. If the operator separately offers an NFT mint or another on-chain benefit, that needs its own member claim and transaction flow; it must not be described as an automatic Alchemy payout.

Eligibility questionData pathLoyalty Stacker scope
Does this EVM wallet hold the ERC-20 threshold?Alchemy Token API or current contract balance readRead current balance and grant an in-program reward on pass
Does it hold an ERC-721 or ERC-1155 asset?Alchemy NFT API / ownership dataRead current ownership for a selected collection or token condition
Is this wallet staked, allowlisted or above a tier?Public read-only function on the selected contractCall a compatible function and compare a boolean or number
What is lifetime trading volume or historical deposit total?Only direct if the contract exposes an aggregate; otherwise use the protocol's API, subgraph or indexerNot inferred by replaying the wallet's entire history in the native smart-contract quest
Did this wallet bridge, mint or transact in the past?May require Transfers API, event indexing or a custom API depending on the exact proofDo not promise as a generic native check until the event source and window are implemented and tested
Does a TON wallet qualify?TON-specific data provider and integrationSupported through Loyalty Stacker's separate TON path, not attributed to Alchemy
This source map separates native current-state reads from historical or chain-specific proofs that need another data path.

Configure a read-only eligibility check

  1. 1
    Choose the exact network

    Select the supported EVM network used by the asset or contract. Do not assume the same address represents the same asset on another chain.

  2. 2
    Paste and verify the contract

    Confirm the contract address, standard and expected asset metadata. For a custom function, use a verified interface where possible and inspect the return type.

  3. 3
    Define a current-state rule

    Choose a minimum balance, NFT count, true/false result or numeric threshold. Write the member-facing rule in the same units the contract returns.

  4. 4
    Test pass and fail wallets

    Run the check with at least one wallet that qualifies and one that does not. Confirm decimals, token IDs and edge cases before attaching a valuable reward.

  5. 5
    Grant the reward inside the program

    On a pass, issue program points, a badge or an unlock. Keep any separate blockchain transaction explicit and member-authorized.

Example: recognize current holders without a snapshot spreadsheet

An NFT project on Base creates a quest for wallets currently holding at least one token from its ERC-721 collection. The member connects an EVM wallet, Loyalty Stacker asks the Alchemy-backed data layer for current ownership, and the claim passes only when the configured collection condition is met. The member receives 250 program points and a Holder badge. The badge unlocks a merchandise item in the rewards shop.

If the member transfers the NFT later, a future gated check should read current state again rather than relying on the old claim as permanent ownership proof. If the project wants to reward a historical minter who no longer holds the asset, that is a different campaign: it requires a tested event-history or project API source and should not be labeled a current-holder quest. See the on-chain quest guide for the full specification template.

Hard product boundary: Alchemy is used for read-only EVM eligibility verification. Loyalty Stacker does not use it to custody a wallet, sign transactions or distribute automatic on-chain/token payouts. Rewards described on this page are program points, badges and access unless a separate, explicit member-authorized mint flow is configured.

Use the smallest reliable proof

A current balance or a single public contract value is easier to explain, test and audit than a vague instruction such as 'be active on-chain.' Start with the narrow rule that actually predicts customer value, then pair it with Discord membership, an API-backed product action or a referral if the campaign needs richer evidence.

Bring the chain, contract address, desired condition, two test wallets and the in-program reward. Contact Loyalty Stacker to confirm whether the condition fits a native read-only quest or needs a custom API/indexer before the campaign is promised publicly.

Launch your program under your own brand

Quests, referrals, points and wallet cards across Web2 and Web3.

Launch your program

Frequently asked questions

Does Loyalty Stacker use Alchemy to make on-chain payouts?+

No. Alchemy supports read-only eligibility verification. Loyalty Stacker grants points, badges or access inside the program; it does not automatically transfer tokens or funds.

Can it verify NFT ownership?+

Yes, for configured supported EVM collections and conditions. Alchemy's NFT API supports ERC-721 and ERC-1155 data, and the quest should test current ownership with known wallets before launch.

Can it verify an ERC-20 balance threshold?+

Yes. A current token balance can be compared with the configured minimum, with contract address and token decimals checked carefully.

Can it verify any historic transaction automatically?+

No blanket claim should be made. Historical transfers may need Alchemy's Transfers API, event indexing or a custom protocol API, and the exact event, chain and time window must be implemented and tested.

Does Alchemy provide the TON verification?+

No. Loyalty Stacker's TON support is a separate integration path; Alchemy powers only the supported EVM reads described here.

Sources

  1. Alchemy Token API overview (accessed July 12, 2026)
  2. Alchemy NFT API overview (accessed July 12, 2026)
  3. Alchemy Transfers API overview (accessed July 12, 2026)
  4. Alchemy Chain APIs overview (accessed July 12, 2026)
  5. TON NFT standard documentation (accessed July 12, 2026)

Loyalty Stacker is a Gizmolab product. Pricing and competitor details are sourced from public pages on the dates shown and can change. See our editorial & corrections policy.