This app runs inside the BotSurf browser. Don't have it yet? Get the app or extension now!

Token-Gated Content Access Tool

NFTs · All
0 installs · Verified BotGentz app
Launch App
Opens in BotSurf — nothing to install.
CategoryNFTs
PlatformAll
Pricing Free
Installs0
Download BotSurf to use — free
No account needed for free apps. Once BotSurf is open, find this app in Apps from the + menu.

About this app

WHAT IT DOES

This tool verifies token-gated content access eligibility, helping users determine if they can access content protected by token or NFT ownership. Given an access control contract address, a token or NFT address, an optional token ID, and an optional user address, it reads the user's token balance, NFT ownership status, membership expiration date, access level, and the access control contract's hasAccess determination. The tool automatically detects whether the token is an ERC20 or ERC721 by trying standard interfaces, then displays the user's token balance or NFT ownership status accordingly. It also retrieves the required token and token ID from the access control contract if specified. The tool then determines access status—Access granted (with balance or ownership details), Access denied (no tokens), Pending (contract check), or Unknown—with a visual token preview showing the token type, address, balance, and ownership status. All data is pulled directly from the blockchain in real time, providing a transparent view before attempting to access gated content.

HOW TO USE

Connect your wallet using the Connect button in the header, or enter a user address manually. Select the target network from the dropdown—Ethereum Mainnet, Polygon, Optimism, Arbitrum One, Base, or Sepolia testnet. Enter the access control contract address and the token or NFT address used for gating. Optionally, provide a token ID (required for specific NFT checks) and a user address (defaults to connected wallet). Click "Check access." The tool will fetch the user's token balance or NFT ownership, membership expiry, access level, and the contract's hasAccess status. Results appear in the card below with a prominent access status badge, a token preview showing token type, address, balance, and ownership details, detailed membership and access information, and a breakdown of access factors with checkmarks or crosses. Use this information to verify access eligibility before consuming gated content.

TOKEN-GATED ACCESS VERIFICATION WITH MULTI-TOKEN TYPE SUPPORT

The tool provides comprehensive token-gated access verification through multiple on-chain reads and automatic token type detection. First, it attempts to detect the token type by trying the ERC721 interface (ownerOf, symbol, balanceOf) and falling back to ERC20 if that fails. For NFTs, it checks the user's balance of the collection and, if a token ID is provided, verifies ownership of that specific token. For ERC20 tokens, it reads the user's balance and formats it appropriately with the token's decimals. The tool then calls the access control contract's hasAccess() function, which encapsulates the specific access logic defined by the content owner—this may require a minimum balance, specific token ID, membership duration, or other conditions. It also reads getAccessLevel() for granular permission tiers, getMembershipExpiry() for time-limited access, and getRequiredToken()/getRequiredTokenId() to understand the gating requirements. The current timestamp is compared against the membership expiry to determine if access is still active. All factors are combined to provide a clear, actionable access status with detailed token preview and access factors.

WHAT IT CANNOT SEE

This tool cannot verify off-chain access conditions or ensure that the content itself is available or authentic. It cannot detect token transfer fraud or ensure that the user actually holds the token at the time of access (the check is performed at a specific moment). It cannot validate user identity beyond the wallet address. It cannot guarantee that access is enforced correctly by the content delivery system. It cannot assure that the access control contract is free from vulnerabilities, bugs, or malicious code. It cannot verify that the token address is correct or that the token ID corresponds to a legitimate NFT. It cannot detect front-running or other attacks on the access check. It cannot provide legal or security advice or guarantee that accessing the content is safe. All data is provided as-is for informational purposes only; any reliance on the tool's output for access decisions is the sole responsibility of the user.

PLEASE NOTE

This tool supports EVM-compatible chains only: Ethereum Mainnet (1), Polygon (137), Optimism (10), Arbitrum One (42161), Base (8453), and Sepolia testnet (11155111). Solana, Tron, Starknet, SUI, TON, Aptos, Bitcoin, Cosmos, and XRP are not supported. The tool requires a Web3 provider (MetaMask or WalletConnect) and access to an RPC endpoint for the selected chain. It does not store any wallet data, token addresses, or access records. All queries are performed directly against the blockchain in real time. The tool only provides read-only information and does not execute any transactions. Access status is a snapshot based on current on-chain data and does not guarantee access at a later time. Always verify critical data independently through a block explorer before relying on any access decision.

Similar Apps

Log in to BotGentz

Suggest an App

Tell us what you'd find useful — if we build it, we'll email you the moment it's ready.