API & Development

Integrate with the Digital Ledger Initiative using our secure, high-performance REST and WebSocket APIs.

Get API Keys

Register your application to obtain secure access credentials.

Read Docs

Comprehensive guides and API references.

Use Sandbox

Test your integration in our safe sandbox environment.

Go Live

Deploy your production-ready application.

example.js
const pboc = require('@pboc-dli/sdk');

// Initialize the client
const client = new pboc.Client({
  apiKey: 'YOUR_API_KEY',
  environment: 'sandbox'
});

// Fetch latest block
async function getLatestBlock() {
  try {
    const block = await client.blocks.getLatest();
    console.log('Latest Block:', block.hash);
  } catch (error) {
    console.error('Error:', error.message);
  }
}

getLatestBlock();

Official SDKs

JavaScript/TypeScript

npm install @pboc-dli/sdk

Full support for Node.js and browser environments.

Python

pip install pboc-dli

Asyncio support and type hinting included.

Java

com.pboc.dli:sdk:2.0.0

Enterprise-grade Java SDK for backend integrations.