fix okx user
This commit is contained in:
21
internal/example/message.go
Normal file
21
internal/example/message.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package parser
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user