sendBitcoin
Send BTC
Method
async function sendBitcoin(
toAddress: string,
satoshis: number,
options?: { feeRate: number }
): stringParams
toAddress— requiredstringthe address to sendsatoshis— requirednumberthe satoshis to sendoptions— optionalfeeRate— requirednumberthe network fee rate
Response
txid — string
Example
Demo
Last updated
Was this helpful?