Optional Readonlyaddress?: stringAbsent for an output with no address, such as OP_RETURN.
ReadonlyamountBits: bigintAt most 0 for send (0 for OP_RETURN); at least 0 for every other category.
Readonlycategory: WalletTxCategoryWhat the entry is: sent, received, or mined (by maturity).
Optional ReadonlyfeeBits?: bigintOnly on send entries, and always on them. All outputs minus this wallet's
inputs, repeated on each of the transaction's send entries, so do not sum
it per entry. When every input is this wallet's, that is the fee, negative;
with inputs from other wallets it is not the fee, and it can be positive.
Optional Readonlylabel?: stringThe address book label of address; '' is the default label. Absent when the address has no entry.
Optional ReadonlyparentDescs?: readonly string[]Only on entries that receive: the descriptors of the output's script. Can be empty.
Readonlyvout: numberThe output's index.
Optional Readonlyaddress?: neverNever present: the entry is the transaction's, not an output's.
ReadonlyamountBits: bigintAlways 0n: only the fee left the wallet.
Readonlycategory: "send"Always send.
ReadonlyfeeBits: bigintThe fee, in bits, negative: every input is this wallet's.
Optional Readonlylabel?: neverNever present.
Optional ReadonlyparentDescs?: neverNever present.
Optional Readonlyvout?: neverNever present: no output of the transaction is listed.
Readonlyabandoned: booleanThe wallet abandoned the transaction (its inputs can be spent again), or its
coinbase was orphaned. At 0 confirmations, listSinceBlock lists it on
every call until it is mined after all (it confirms, abandoned false), a
conflict is mined (negative confirmations), or the orphaned block is
reconnected. An entry that stops being listed may have gone either way:
getTransaction tells which.
Readonlybip125Replaceable: "yes" | "no" | "unknown"Whether it or an unconfirmed ancestor signals BIP 125 replaceability;
unknown for an unconfirmed transaction outside the mempool whose
ancestors the wallet does not know.
Optional ReadonlyblockHash?: stringThe block holding the transaction. This and the next three are present exactly when confirmations is above 0.
Optional ReadonlyblockHeight?: numberThe height of the block holding the transaction.
Optional ReadonlyblockIndex?: numberThe transaction's position in that block.
Optional ReadonlyblockTime?: numberThat block's header time, Unix seconds, as the miner set it.
Optional Readonlycomment?: stringThe comment stored with the transaction, when not empty.
Readonlyconfirmations: number0 when unconfirmed. Negative when the transaction conflicted that many blocks ago.
Optional Readonlygenerated?: booleanTrue for a coinbase transaction.
ReadonlymempoolConflicts: readonly string[]txids of mempool transactions that conflict with this one or an ancestor.
Optional ReadonlyreplacedByTxid?: stringOn a replaced transaction's entries, when bumpfee replaced it; it is
never cleared, so the original keeps it even if the original is the one
mined. A replacement sent with sendRawTransaction (as after
psbtBumpFee) sets neither this nor replacesTxid: the transactions list
each other in walletConflicts (and in mempoolConflicts while in the
mempool). Count an original and its replacements as one payment: the mined
one once one is mined (the others then have negative confirmations),
and otherwise once, as pending.
Optional ReadonlyreplacesTxid?: stringOn a replacement's entries, when bumpfee made it: the transaction it replaces. See replacedByTxid.
Readonlytime: numberThe wallet's own time for the transaction, Unix seconds. Not a block time.
ReadonlytimeReceived: numberWhen this wallet first recorded the transaction, by the node's clock, Unix seconds.
Optional Readonlyto?: stringThe to comment stored with the transaction, when there is one.
Optional Readonlytrusted?: booleanWhether the wallet would spend from it. Present exactly when confirmations is 0 or negative.
Readonlytxid: stringThe transaction's txid.
ReadonlywalletConflicts: readonly string[]txids of wallet transactions spending the same inputs.
Readonlywtxid: stringThe transaction's witness txid (wtxid).
One
listsinceblockorlisttransactionsentry: one output of a wallet transaction, seen from one side, or the fee-onlysendentry of a change-only self-transfer. A payment to the wallet itself is asendand areceiveentry for the samevout. Amounts are signed bits.A change-only self-transfer (every input is this wallet's, every output is change, as in a consolidation or a cancel paid to a change address) has no output to list without
includeChange. If it pays a fee, qbit Core v1.0.1 and later list it as one fee-onlysendentry, the second member of the union and the transaction's only entry in the list:amountBits0n, the fee infeeBits, and novout,address,labelorparentDescs. v1.0.0 lists nothing for it. WithincludeChange, each of its outputs is asendand areceiveentry instead, and there is no fee-only entry. Checkvout !== undefined, or a category other thansend, before using an entry as an output: TypeScript then narrows it to the first member.