The starknet_subscribePendingTransactions method accepts a transaction_details boolean parameter and a sender_address array argument. It will stream transactions from the pending block to the client. If sender_address is specified, the results will only include transactions sent by one of the addresses in sender_address. If transaction_details is set to true (by default it is false), it will return full transactions (pathfinder_common::transaction::Transaction), otherwise it will only return transaction hashes (pathfinder_common::TransactionHash).
The
starknet_subscribePendingTransactions
method accepts atransaction_details
boolean parameter and asender_address
array argument. It will stream transactions from the pending block to the client. Ifsender_address
is specified, the results will only include transactions sent by one of the addresses insender_address
. Iftransaction_details
is set to true (by default it is false), it will return full transactions (pathfinder_common::transaction::Transaction
), otherwise it will only return transaction hashes (pathfinder_common::TransactionHash
).