eqlabs / pathfinder

A Starknet full node written in Rust
https://eqlabs.github.io/pathfinder/
Other
631 stars 234 forks source link

`starknet_subscribePendingTransactions` #2218

Closed sistemd closed 1 month ago

sistemd commented 1 month ago

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).

sistemd commented 1 month ago

Closed via https://github.com/eqlabs/pathfinder/pull/2258.