Binance Smart Chain API
Introduction
Binance Smart Chain (BSC) is a high-performance blockchain designed for decentralized applications (dApps) and digital asset transactions. It supports smart contracts and offers lower transaction fees and faster confirmation times compared to Ethereum. BSC is compatible with the Ethereum Virtual Machine (EVM), allowing developers to migrate dApps and assets between Ethereum and BSC seamlessly. BSC has gained significant adoption, especially in the DeFi and NFT ecosystems.
Supported Networks
The Web3 Data API is available for the following Binance Smart Chain networks:
- Binance Smart Chain Mainnet
- Binance Smart Chain Testnet
Network Details
Network | Chain ID | EVM Chain |
---|---|---|
Binance Smart Chain Mainnet | 0x38 (56) | EvmChain.BSC |
Binance Smart Chain Testnet | 0x61 (97) | EvmChain.BSC_TESTNET |
Supported APIs
The following APIs are supported for Binance Smart Chain:
Wallet API
The Wallet API enables you to interact with wallet data on the Binance Smart Chain blockchain.
- Get Wallet History on BSC
- Get Wallet Token Balances on BSC
- Get Wallet Token Approvals on BSC
- Get Wallet NFT Balances on BSC
- Get Wallet DeFi Positions on BSC
- Get Wallet Net-worth on BSC
- Get Wallet PnL on BSC
- Get Wallet Details on BSC
- Get Wallet Domains on BSC
NFT API
The NFT API allows you to interact with NFT-related data on Binance Smart Chain. You can:
- Get NFTs on BSC
- Get NFT Metadata on BSC
- Get NFT Transfers on BSC
- Get NFT Collections on BSC
- Get NFT Owners on BSC
- Get NFT Prices on BSC
- Get NFT Trades on BSC
- Get NFT Stats on BSC
- Get NFT Traits and Rarity on BSC
Token API
The Token API provides methods for interacting with BEP-20 tokens on Binance Smart Chain. Choose from the following actions:
- Get Token Metadata on BSC
- Get Token Price on BSC
- Get Token Balances on BSC
- Get Token Approvals on BSC
- Get Token Transfers on BSC
- Get Token Top Traders on BSC
- Get Token Pairs & Liquidity on BSC
- Get Token Stats on BSC
- Get Token Owners on BSC
DeFi API
The DeFi API enables interaction with decentralized finance positions and data on Binance Smart Chain:
Entity API
The Entity API allows you to interact with various entities on Binance Smart Chain, such as exchanges or other organizations:
Price API
Retrieve price data for tokens and NFTs on Binance Smart Chain using the Price API:
Blockchain API
The Blockchain API gives access to blockchain-level data such as blocks, transactions, and logs:
- Get Blocks on BSC
- Get Transactions on BSC
- Get Logs on BSC
- Get Stats on BSC
- Get Latest Block Number on BSC
Unlock the Power of Binance Smart Chain with Moralis
Curious about how you can leverage the full potential of Binance Smart Chain? Check out our Binance Smart Chain page to see how Moralis can help you build faster and smarter. With features like easy access to on-chain data, token balances, and NFT management, Moralis simplifies Binance Smart Chain development for all kinds of dapps.
Discover more about what you can build on Binance Smart Chain with Moralis:
Learn more on our Binance Smart Chain page