23 lines
307 B
Go
23 lines
307 B
Go
package geyser
|
|
|
|
import (
|
|
"github.com/thloyi/pump-parser"
|
|
)
|
|
|
|
type BlockInfo struct {
|
|
Slot uint64
|
|
BlockTime int64
|
|
BlockHash string
|
|
Height uint64
|
|
}
|
|
|
|
type SubscriptionMessage struct {
|
|
EstimateDelaySecond int64
|
|
|
|
Reconnect bool
|
|
|
|
Block *BlockInfo
|
|
Tx *pump_parser.Tx
|
|
RawTx *pump_parser.RawTx
|
|
}
|