Function zcash_client_sqlite::wallet::insert_sent_note [−][src]
pub fn insert_sent_note<'a, P: Parameters>(
stmts: &mut DataConnStmtCache<'a, P>,
tx_ref: i64,
output_index: usize,
account: AccountId,
to: &RecipientAddress,
value: Amount,
memo: Option<&MemoBytes>
) -> Result<(), SqliteClientError>
Expand description
Inserts a sent note into the wallet database.
output_index
is the index within the transaction that contains the recipient output:
- If
to
is a Sapling address, this is an index into the Sapling outputs of the transaction. - If
to
is a transparent address, this is an index into the transparent outputs of the transaction.