pub fn tx_witness_data_length(index: u64) -> u64 
Expand description

Get the length of the witness data at index.

Arguments

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

Returns

  • [u64] - The length of the witness data at index.

Examples

use std::tx::tx_witness_data_length;

fn foo() {
    let witness_data_length = tx_witness_data_length(0);
    log(witness_data_length);
}