Paying to another address#

In order to pay, you need to have an existing balance.
The below code will allow you to pay to a single address a specific amount of satoshis.

const Dash = require('dash');

const mnemonic = ''; // your mnemonic here.
const client = new Dash.Client({
  wallet: {

async function payToRecipient(account) {
  const transaction = account.createTransaction({
    recipient: 'yNPbcFfabtNmmxKdGwhHomdYfVs6gikbPf',
    satoshis: 10000,
  const transactionId = await account.broadcastTransaction(transaction);


See more on create transaction options here.