1. Installation
Enboe SDK is available via npm and supports both ESM and CommonJS.
npm install @enboe/sdk
Minimum Node.js version required: 16.14.0
2. Quick Start
Initialize SDK
import { EnboeClient } from '@enboe/sdk';
const client = new EnboeClient({
network: 'mainnet',
apiKey: 'YOUR_API_KEY' // https://enboe.com/apikeys
});
Send Transaction
client.sendTransaction({
from: '0xYourAddress',
to: '0xRecipient',
amount: '1000000000000000000', // 1 ETH
chain: 'ethereum'
}).then(receipt => {
console.log('Transaction received:', receipt);
});
3. API Reference
sendTransaction()
sends a signed transaction to the appropriate blockchain network.
Parameters
- from String
- to String
- amount String
- chain "ethereum" | "solana" | "polkadot"
Returns
Promises a transaction receipt containing:
- transactionHash
- blockNumber
- from
- to
- value (in wei)