X402 Credits

Pay-per-scan with USDC on Base network. No subscription required. x402 credits let you pay for scans with USDC cryptocurrency instead of a monthly...

Last updated: January 14, 2026

x402 Credits

Pay-per-scan with USDC on Base network. No subscription required.

Overview

x402 credits let you pay for scans with USDC cryptocurrency instead of a monthly subscription. This is perfect for occasional users, DAOs, and crypto-native developers.

BlockSecOps is the only smart contract security platform offering crypto-native payments.

How It Works

  1. Connect Wallet - Link your MetaMask, WalletConnect, or other wallet
  2. Upload Code - Upload your contract or project
  3. Pay Per Scan - Pay USDC based on project size
  4. Get Results - Receive comprehensive scan results

No subscription required. Pay only for what you use.


Per-Scan Pricing

Pricing is based on file count and lines of code:

Tier File Count Max LoC Price (USDC)
Micro 1-5 files 4,000 $3.00
Small 6-25 files 20,000 $7.00
Medium 26-100 files 75,000 $15.00
Large 100+ files Unlimited $25.00

Value proposition: Pay similar to MythX for a single scanner, get 17+ scanners.


What's Included

Each credit includes:

  • Full access to all 17+ scanners
  • Intelligence layer (deduplication, risk scoring)
  • Dashboard access
  • Result exports (PDF, JSON, SARIF)

What's not included:

  • Team features (use subscription for teams)
  • API access (use subscription for automation)

x402 vs Subscription

Aspect x402 Pay-Per-Scan Subscription
Commitment None Monthly/Annual
Cost per scan $3.00-$25.00 ~$1.89-$4.89*
Payment method USDC on Base Credit card, ACH
Best for Occasional use Regular use
API access No Yes
Team features No Yes (Startup+)

*Based on Developer ($189/100 scans) or Startup ($489/500 scans).

When to Use Credits

  • You scan fewer than 50 contracts per month
  • You prefer paying with crypto
  • You don't need API access
  • You're a solo user
  • You're a DAO with treasury funds

When to Use Subscription

  • You scan regularly (100+ per month)
  • You need team collaboration
  • You need API/CI/CD integration
  • You want the best per-scan price

Purchasing Credits

Step 1: Connect Your Wallet

  1. Go to SettingsBilling or Pricing
  2. Click Connect Wallet
  3. Choose MetaMask, WalletConnect, or another wallet
  4. Approve the connection

Step 2: Select a Package

  1. Choose your credit package (Starter, Builder, Pro, or Bulk)
  2. Review the USDC amount
  3. Click Purchase

Step 3: Approve and Confirm

  1. Your wallet prompts for USDC approval (one-time per amount)
  2. Approve the USDC spend
  3. Confirm the transfer transaction
  4. Wait for on-chain confirmation (~30 seconds)

Step 4: Credits Added

  • Credits appear in your account immediately after confirmation
  • You'll see a success message
  • Check your balance on the dashboard

Network Details

Setting Value
Network Base Mainnet
Chain ID 8453
Token USDC
USDC Contract 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Getting USDC on Base

If you don't have USDC on Base:

  1. Bridge from Ethereum - Use the Base Bridge
  2. Buy directly - Use Coinbase or other exchanges
  3. Swap - Use Uniswap on Base

Using x402

How Per-Scan Payment Works

  1. You upload your code and start a scan
  2. System determines file count and LoC
  3. Price tier is calculated (Micro/Small/Medium/Large)
  4. You confirm USDC payment
  5. Scan runs and results are delivered

Important: Payment is only finalized for successful scans. Failed scans are refunded.

Checking Your Balance

  • Dashboard - Balance shown in top-right
  • Billing page - Full transaction history
  • API - GET /api/v1/payments/credits

Low Balance Alerts

You'll receive notifications:

  • 10 credits remaining - Email reminder
  • 5 credits remaining - Dashboard warning
  • 0 credits - Scan blocked with purchase prompt

Combining Credits with Subscription

You can use both credits and a subscription:

  1. Subscription scans are used first
  2. Credits are used when subscription limit reached
  3. Automatic fallback to credits

This is useful for:

  • Burst usage beyond subscription limits
  • Testing before committing to a higher tier
  • Backup capacity

Supported Wallets

Browser Extensions

  • MetaMask
  • Coinbase Wallet
  • Rainbow

WalletConnect

  • Trust Wallet
  • Argent
  • Ledger Live
  • Any WalletConnect-compatible wallet

Requirements

  • Any EIP-1193 compatible wallet
  • Support for Base network (Chain ID: 8453)
  • USDC balance on Base

FAQ

Q: How is the price determined?
A: Price is based on file count and lines of code. Micro ($3) for 1-5 files, up to Large ($25) for 100+ files.

Q: What if a scan fails?
A: Payment is only finalized for successful scans. Failed scans are refunded.

Q: Which wallets are supported?
A: MetaMask, WalletConnect (100+ wallets), Coinbase Wallet, and any EIP-1193 compatible wallet.

Q: What's the minimum scan cost?
A: $3.00 USDC for the Micro tier (1-5 files, up to 4,000 LoC).

Q: Can I combine x402 with a subscription?
A: Yes! Subscription scans are used first; x402 is available for additional scans.

Q: Can I use x402 from a DAO treasury?
A: Yes! This is a great use case. Connect the treasury wallet and pay per scan.


Next Steps