wallet/createTransaction
Creates a raw transaction that is not posted.
This allows for the transaction to be posted using spending keys stored on a different node.
Creating a raw transaction does not require a spend key. They are not added to the wallet, mempool, or broadcast. The notes used in a raw transaction are not marked as spent.
Request
{
account: string
outputs: Array<{
publicAddress: string
amount: string
memo: string
assetId?: string
}>
mints?: Array<{
assetId?: string
name?: string
metadata?: string
value: string
}>
burns?: Array<{
assetId: string
value: string
}>
fee?: string | null
feeRate?: string | null
expiration?: number
expirationDelta?: number
confirmations?: number
notes?: Array<string>
}
Response
{
transaction: string;
}