Documentation ¶
Index ¶
Constants ¶
View Source
const (
// IngestionQueueName is the events ingestion queue name
IngestionQueueName = "events-ingestion-queue"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Event ¶
type Event struct {
TransactionEvent *TransactionEvent `json:"transaction_event"`
}
Event is a top level event container for blockchain events.
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
Processor processes transactions as a history.Writer, and notifies webhooks about said transactions via a taskqueue.
func NewProcessor ¶
type SolanaEvent ¶ added in v0.2.3
type SolanaEvent struct { Transaction []byte `json:"transaction"` TransactionError string `json:"transaction_error"` TransactionErrorRaw []byte `json:"transaction_error_raw"` }
SolanaEvent is stellar specific data related to a transaction.
type StellarEvent ¶ added in v0.2.3
type StellarEvent struct { EnvelopeXDR []byte `json:"envelope_xdr"` ResultXDR []byte `json:"result_xdr"` }
StellarEvent is stellar specific data related to a transaction.
type TransactionEvent ¶
type TransactionEvent struct { KinVersion int `json:"kin_version"` TxHash []byte `json:"tx_hash"` TxID []byte `json:"tx_id"` InvoiceList *commonpb.InvoiceList `json:"invoice_list"` StellarEvent *StellarEvent `json:"stellar_event"` SolanaEvent *SolanaEvent `json:"solana_event"` }
TransactionEvent is an event containing transaction details.
Click to show internal directories.
Click to hide internal directories.