extract_operation_arg

function extract_operation_arg(gtx_transaction: gtx_transaction, op_name: text, arg: integer, verify_signers: boolean, require_anchored_proof: boolean, min_timestamp: integer, max_timestamp: integer, valid_source_blockchain_rids: set<byte_array>?): gtv(source)

Requires the presented transaction to be proved and extracts an argument from the specified operation

Parameters

gtx_transaction

The transaction to verify

op_name

Name of the operation to extract

arg

Index of the argument to be extracted (default: first argument)

verify_signers

Whether or not the signers must match current transaction signatures

require_anchored_proof

Whether or not we require inclusion of a proof that the block containing the transaction has been anchored in cluster anchoring chain

min_timestamp

Limit for how old the transaction is allowed to be, disabled if 0

max_timestamp

Limit for how new the transaction is allowed to be, disabled if 0

valid_source_blockchain_rids

Valid source blockchains for transaction