pub fn tx_witnesses_count() -> u64 
Expand description

Get the transaction witnesses count for the transaction.

Returns

  • [u64] - The witnesses count for the transaction.

Examples

use std::tx::tx_witnesses_count;

fn foo() {
    let witnesses_count = tx_witnesses_count();
    log(witnesses_count);
}