package
0.0.0-20241114120545-4fc17d7a63ab
Repository: https://github.com/arnac-io/opentonapi.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
NewTraceDispatcher creates a new instance of TraceDispatcher.
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
BlockchainSliceEvent represents a notification about a new bunch of blocks in the blockchain.
BlockchainSource notifies about transactions in the TON blockchain.
BlockDispatcher tracks all subscribers and works as a fan-out queue: on receiving a new block, BlockDispatcher sends a notification about it to all subscribers.
BlockEvent represents a notification about a new block.
EmulationMessageEventData represents a notification about a new pending inbound message.
MemPool implements "MemPoolSource" interface and provides a method to subscribe to pending inbound messages.
MessageEventData represents a notification about a new pending inbound message.
SubscribeToBlockHeadersOptions configures subscription to block events.
No description provided by the author
SubscribeToMempoolOptions configures subscription to mempool events.
No description provided by the author
No description provided by the author
TraceDispatcher implements the fan-out pattern reading a TraceEvent from a single channel and delivering it to multiple subscribers.
TraceEventData represents a notification about a completed trace.
No description provided by the author
TransactionDispatcher implements the fan-out pattern reading a TransactionEvent from a single channel and delivering it to multiple subscribers.
TransactionEvent is a notification event about a new transaction between a TransactionSource instance and a dispatcher.
TransactionEventData represents a notification about a new transaction.
# Interfaces
BlockHeadersSource provides a method to subscribe to notifications about new blocks in the TON network.
No description provided by the author
MemPoolSource provides a method to subscribe to notifications about pending inbound messages.
No description provided by the author
TransactionSource provides a method to subscribe to notifications about new transactions from the blockchain.
# Type aliases
CancelFn has to be called to unsubscribe.
DeliveryFn describes a callback that will be triggered once an event happens.