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

Get the length of the script for the transaction.

Returns

  • [Option] - The script length for the transaction.

Examples

use std::tx::tx_script_length;

fn foo() {
    let script_length = tx_script_length().unwrap();
    assert(script_length > 0);
}