pub fn tx_witness_data<T>(index: u64) -> T 
Expand description

Get the witness data at index.

Arguments

  • index - The index of the witness to get the data for.

Returns

  • [T] - The witness data at index.

Examples

use std::tx::tx_witness_data;

fn foo() {
    let witness_data: u64 = tx_witness_data(0);
    log(witness_data);
}