Function std::tx::tx_script_start_pointer
pub fn tx_script_start_pointer() -> raw_ptr
Expand description
Get the transaction script start pointer.
Returns
- [raw_ptr] - The transaction script start pointer.
Reverts
- When the transaction type is of type
Transaction::Create
.
Examples
use std::tx::tx_script_start_pointer;
fn foo() {
let script_start_pointer = tx_script_start_pointer();
log(script_start_pointer);
}