DBC Documentation
Build powerful decentralized applications with our flexible, battle-tested blockchain infrastructure.
Get StartedEVM Compatible
Seamlessly integrate with Ethereum tools and infrastructure. Leverage thousands of existing dApps and developer resources.
High Performance
Process transactions faster than traditional blockchains with our advanced consensus architecture and sharding technology.
Enterprise Ready
Production-grade security features, private transaction options, and scalable infrastructure for business critical applications.
// Initialize web3 connection
const provider = new Web3.providers.HttpProvider('https://network.dbc');
const web3 = new Web3(provider);
// Sample contract interaction
const contractABI = [ ... ]; // Contract ABI
const contractAddress = '0x...'; // Contract address
const contract = new web3.eth.Contract(contractABI, contractAddress);
// Send transaction
contract.methods
.transfer('0xRecipientAddress', '1000000000000000000')
.send({ from: '0xYourAddress', gas: 200000 })
.on('transactionHash', (hash) => {
console.log('Transaction Hash:', hash);
});
API Reference
POST
/api/v1/block/
Get Block Information
Request Example
curl -X POST "https://api.dbc/block/"
-H "Authorization: Bearer YOUR_API_KEY"
-H "Content-Type: application/json"
-d '{"block_number": 1234567}':
Fetch detailed information about a specific blockchain block using its number.