Midnight.js API Reference v1.0.0
Midnight.js API Reference / @midnight-ntwrk/midnight-js-testing / sendTransactionToAddress
Function: sendTransactionToAddress()
sendTransactionToAddress(
walletWithFunds
,address
,outputValue
?):Promise
<void
>
Sends a transaction to a specific address.
Parameters
walletWithFunds
The wallet to send funds from
address
string
The recipient's address
outputValue?
bigint
= 100_000_000n
The amount to send
Returns
Promise
<void
>