pub fn tx_witness_limit() -> Option<u64> 
Expand description

Get the witness limit for the transaction, if it is set.

Returns

  • [Option] - The witness limit for the transaction.

Examples

use std::tx::tx_witness_limit;

fn foo() {
    let witness_limit = tx_witness_limit();
    log(witness_limit);
}