pub fn tx_witness_data_length(index: u64) -> Option<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

  • [Option<64>] - 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).unwrap();
    log(witness_data_length);
}