macro_rules! parse_pending_transactions_v4 { ($res:ident, $txns:expr) => { ... }; }
Expand description
This macro iterates over each transaction, assumes that transaction id’s are directly available and not encoded.
It constructs Transaction objects with transformations for address and token data from version 4 to version 2
using from_address_v4_to_v2
and from_token_v4_to_v2
.
Parameters:
$res
: A mutable reference to a collection where the parsed transactions will be stored.$txns
: A collection of transaction data to be parsed.