Generic request to transfer funds from a wallet.
Example:
let config1 = new MoneroTxConfig({
accountIndex: 0,
address: "59aZULsUF3YN...",
amount: 500000n,
priority: MoneroTxPriority.NORMAL,
relay: true
});
Optional
config: Partial<MoneroTxConfig>configures the transaction to create (optional)
Source account index to transfer funds from (required unless sweeping key image).
Single destination address (required unless destinations
provided).
Single destination amount (required unless `destinations provided).
For sweep requests, include outputs below this amount when sweeping wallet, account, subaddress, or all unlocked funds.
Allow funds to be transferred using multiple transactions if necessary (default false).
Multiple destinations to send funds to, if applicable.
Miner fee (calculated automatically).
For sweep requests, key image of the output to sweep.
Transaction note saved locally with the wallet (optional).
Payment ID for the transaction.
Transaction priority to adjust the miner fee (default MoneroTxPriority.NORMAL).
Recipient name saved locally with the wallet (optional).
Relay the transaction to peers to commit to the blockchain if true (default false).
Source subaddress index to send funds from (default all).
Source subaddresses to send funds from (default all).
List of destination indices to split the miner fee (optional).
For sweep requests, sweep each subaddress individually instead of together if true.
Optional
amount: bigintSet the address of a single-destination configuration.
the address to set for the single destination
this configuration for chaining
Set the amount of a single-destination configuration.
the amount to set for the single destination
this configuration for chaining
Set the key image hex of the output to sweep.
is the key image hex of the output to sweep
Generated using TypeDoc
Configures a transaction to send, sweep, or create a payment URI.