Function std::tx::tx_witness_pointer
pub fn tx_witness_pointer(index: u64) -> u64
Expand description
Get a pointer to the witness at index index
for the transaction.
Arguments
index
- The index of the witness to get the pointer for.
Returns
- [u64] - The pointer to the witness at index
index
.
Examples
use std::tx::tx_witness_pointer;
fn foo() {
let witness_pointer = tx_witness_pointer(0);
log(witness_pointer);
}