MCPcopy Create free account
hub / github.com/enviodev/hypersync-client-python / TransactionSelection

Class TransactionSelection

hypersync/__init__.py:570–589  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

568
569@dataclass
570class TransactionSelection:
571 # Address the transaction should originate from. If transaction.from matches any of these, the transaction
572 # will be returned. Keep in mind that this has an and relationship with to filter, so each transaction should
573 # match both of them. Empty means match all.
574 from_: Optional[list[str]] = None
575 # Address the transaction should go to. If transaction.to matches any of these, the transaction will
576 # be returned. Keep in mind that this has an and relationship with from filter, so each transaction should
577 # match both of them. Empty means match all.
578 to: Optional[list[str]] = None
579 # If first 4 bytes of transaction input matches any of these, transaction will be returned. Empty means match all.
580 sighash: Optional[list[str]] = None
581 # If transaction.status matches this value, the transaction will be returned.
582 status: Optional[int] = None
583 # If transaction.type matches any of these values, the transaction will be returned
584 kind: Optional[list[str]] = None
585 # If transaction.contract_address matches any of these values, the transaction will be returned.
586 contract_address: Optional[list[str]] = None
587 # If transaction.hash matches any of these values the transaction will be returned.
588 # empty means match all.
589 hash: Optional[list[str]] = None
590
591
592@dataclass

Callers 3

mainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected