API Documentation

VirBiCoin Explorer REST API Reference

Base URL:https://explorer.digitalregion.jp

Categories

Blockscout API - Account

Blockscout/Etherscan compatible Account API. Use ?module=account&action=<action> format.

GET
/api?module=account&action=balance&address=0x...

Get native token balance for address

GET
/api?module=account&action=balancemulti&address=0x...,0x...

Get balance for multiple addresses (max 20)

GET
/api?module=account&action=txlist&address=0x...

Get transactions for address

GET
/api?module=account&action=txlistinternal&address=0x...

Get internal transactions for address

GET
/api?module=account&action=tokentx&address=0x...

Get token transfers for address

GET
/api?module=account&action=tokenbalance&address=0x...&contractaddress=0x...

Get specific token balance for address

GET
/api?module=account&action=getminedblocks&address=0x...

Get blocks mined by address

Blockscout API - Block

Blockscout/Etherscan compatible Block API. Use ?module=block&action=<action> format.

GET
/api?module=block&action=getblockreward&blockno=12345

Get block reward information

GET
/api?module=block&action=getblocknobytime&timestamp=1609459200

Get block number by timestamp

Blockscout API - Transaction

Blockscout/Etherscan compatible Transaction API. Use ?module=transaction&action=<action> format.

GET
/api?module=transaction&action=gettxinfo&txhash=0x...

Get transaction details

GET
/api?module=transaction&action=gettxreceiptstatus&txhash=0x...

Get transaction receipt status

Blockscout API - Token

Blockscout/Etherscan compatible Token API. Use ?module=token&action=<action> format.

GET
/api?module=token&action=gettoken&contractaddress=0x...

Get token information

GET
/api?module=token&action=gettokenholders&contractaddress=0x...

Get token holders list

GET
/api?module=token&action=tokenlist

Get all tokens list

Blockscout API - Stats

Blockscout/Etherscan compatible Stats API. Use ?module=stats&action=<action> format.

GET
/api?module=stats&action=ethsupply

Get total native coin supply (in wei)

GET
/api?module=stats&action=tokensupply&contractaddress=0x...

Get token total supply

GET
/api?module=stats&action=ethprice

Get native coin price (placeholder)

GET
/api?module=stats&action=chainsize

Get chain size statistics

GET
/api?module=stats&action=dailytx

Get daily transaction count

Blockscout API - Contract

Blockscout/Etherscan compatible Contract API. Use ?module=contract&action=<action> format.

GET
/api?module=contract&action=getabi&address=0x...

Get contract ABI (verified contracts only)

GET
/api?module=contract&action=getsourcecode&address=0x...

Get contract source code (verified contracts only)

GET
/api?module=contract&action=getcontractcreation&contractaddresses=0x...,0x...

Get contract creation info (max 5)

Blockscout API - Logs

Blockscout/Etherscan compatible Logs API. Use ?module=logs&action=<action> format.

GET
/api?module=logs&action=getLogs

Get event logs

Blockscout API - Proxy (JSON-RPC)

JSON-RPC proxy endpoints. Use ?module=proxy&action=<action> format.

GET
/api?module=proxy&action=eth_blockNumber

Get current block number (hex)

GET
/api?module=proxy&action=eth_getBlockByNumber&tag=latest&boolean=true

Get block by number

GET
/api?module=proxy&action=eth_getTransactionByHash&txhash=0x...

Get transaction by hash

GET
/api?module=proxy&action=eth_getTransactionReceipt&txhash=0x...

Get transaction receipt

GET
/api?module=proxy&action=eth_call&to=0x...&data=0x...

Execute contract call (read-only)

GET
/api?module=proxy&action=eth_getCode&address=0x...

Get contract bytecode

GET
/api?module=proxy&action=eth_gasPrice

Get current gas price (hex)

GET
/api?module=proxy&action=eth_estimateGas&to=0x...

Estimate gas for transaction

Supply APIs

CoinGecko / CoinMarketCap compatible supply endpoints. Returns plain text numbers.

GET
/api/total_supply

Total supply of VBC (plain text number)

GET
/api/circulating_supply

Circulating supply of VBC (plain text number)

GET
/api/total_supply?debug=true

Detailed supply information (JSON)

Statistics APIs

Network statistics and blockchain metrics.

GET
/api/stats

Basic network statistics (blocks, transactions, difficulty)

GET
/api/blockheight

Current blockchain height

Block APIs

Block data and information.

GET
/api/blocks

Latest blocks with pagination

GET
/api/block/[number]

Specific block details by number

Transaction APIs

Transaction data and history.

GET
/api/transactions

Latest transactions with pagination

GET
/api/tx/[hash]

Transaction details by hash

Address APIs

Address information, balances, and transaction history.

GET
/api/address/[address]

Address details, balance, and transaction history

GET
/api/address/[address]/transactions

Transaction history for an address

GET
/api/address/[address]/mining

Mining history for an address

GET
/api/richlist

Wealth distribution and top addresses

Token APIs

ERC-20, ERC-721, and ERC-1155 token information.

GET
/api/tokens

List all tracked tokens

GET
/api/tokens/[address]

Token details, metadata, and holder information

GET
/api/tokens/[address]/balance

Token balance for a specific address

Contract APIs

Smart contract verification and interaction.

GET
/api/contract/[address]

Contract details and ABI

GET
/api/contract/status/[address]

Contract verification status

POST
/api/contract/verify

Submit contract source code for verification

POST
/api/contract/interact

Execute contract function calls (read-only)

DEX APIs

Decentralized exchange data and trading pairs.

GET
/api/dex/config

DEX configuration (router, factory, tokens)

GET
/api/dex/pairs

List all trading pairs with reserves

GET
/api/dex/tokens

List all DEX-tradable tokens

GET
/api/dex/chart/[pair]

Price chart data for a trading pair

CMC DEX APIs

CoinMarketCap-compatible DEX endpoints.

GET
/api/dex/cmc/summary

DEX summary with 24h volume and liquidity

GET
/api/dex/cmc/ticker

All trading pairs with price and volume

GET
/api/dex/cmc/assets

All assets listed on DEX

GET
/api/dex/cmc/orderbook/[pair]

Order book for a trading pair (AMM simulation)

GET
/api/dex/cmc/trades/[pair]

Recent trades for a trading pair

Search APIs

Search functionality across the blockchain.

GET
/api/search/blocks-by-miner

Search blocks mined by specific address

Utility APIs

Utility and configuration endpoints.

GET
/api/config

Explorer configuration

GET
/api/config/client

Client-side configuration (safe to expose)

POST
/api/web3relay

Web3 RPC relay for blockchain queries

POST
/api/compile

Compile Solidity source code

📝 Notes

  • • All endpoints return JSON unless otherwise specified (Supply APIs return plain text)
  • • Rate limiting: 100 requests per 15 minutes
  • • CORS is enabled for all endpoints
  • • Timestamps are in Unix format (seconds since epoch)
  • • All amounts are in wei (divide by 10^18 for VBC)