Function std::tx::tx_script_data_length
pub fn tx_script_data_length() -> Option<u64>
Expand description
Get the script data length for the transaction.
Returns
- [u64] - The script data length for the transaction.
Examples
use std::tx::tx_script_data_length;
fn foo() {
let script_data_length = tx_script_data_length().unwrap();
assert(script_data_length > 0);
}