5. Send a Private Transaction

To send a private transaction, call the send method. You need to specify the recipient's address, the amount, and the token symbol (e.g., 'SOL', 'USDC').

const transaction = await obscura.send({
  to: 'recipient-address',
  amount: 1.5,
  token: 'SOL'
});

console.log('Transaction hash:', transaction.hash);
console.log('Status:', transaction.status);

Last updated