Skip to main content

sendTransactionToWallet

Midnight.js API Reference v2.0.2


Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / sendTransactionToWallet

Function: sendTransactionToWallet()

sendTransactionToWallet(walletWithFunds, destination): Promise<void>

Sends a transaction from one wallet to another.

Parameters

walletWithFunds

MidnightWallet

The wallet to send funds from

destination

MidnightWallet

The destination wallet

Returns

Promise<void>