Comprehensive guides, API references, and tools to help you build the next generation of decentralized applications.
NECTAR's developer-friendly APIs and SDKs make it easy to integrate blockchain functionality into your applications.
import { NectarClient } from '@nectar/sdk';
const client = new NectarClient({
network: 'mainnet',
apiKey: 'your-api-key'
});
// Send a transaction
const tx = await client.sendTransaction({
to: '0x742d35Cc6634C0532925a3b8D',
value: '1000000000000000000', // 1 NECTAR
data: '0x'
});
console.log('Transaction hash:', tx.hash);