Transfer
Usage
Basic Transfer
const recipients = [{ address: 'recipient-address', amount: 2.55 }];
const wif = 'sender-wif-key';
const response = await mnee.transfer(recipients, wif);
console.log('Ticket ID:', response.ticketId);Multiple Recipients
const recipients = [
{ address: 'recipient-1-address', amount: 2.55 },
{ address: 'recipient-2-address', amount: 5 },
{ address: 'recipient-3-address', amount: 0.75 },
];
const wif = 'sender-wif-key';
const response = await mnee.transfer(recipients, wif);
console.log('Ticket ID:', response.ticketId);
// Check status of the transfer
const status = await mnee.getTxStatus(response.ticketId);
console.log('Status:', status);Create Without Broadcasting
Transfer with Webhook Callback
Parameters
Response
Common Use Cases
Simple Payment
Batch Payments
Two-Step Transfer with Validation
Transfer with Balance Check
Micro-Payment Channel
Error Handling
Important Notes
See Also
Last updated