Skip to main content

consume_notes

Function consume_notes 

Source
pub async fn consume_notes(
    client: &mut TestClient,
    account_id: AccountId,
    input_notes: &[Note],
) -> TransactionId
Available on crate features testing and std only.
Expand description

Executes a transaction that consumes the provided notes and returns the transaction ID. This assumes the notes contain assets.