Documentation ¶
Index ¶
- func BatchConvertBlockHash(geyserBlocks ...*geyser_pb.SubscribeUpdateBlock) []*rpc.GetBlockResult
- func BatchConvertTransaction(geyserTxns ...*geyser_pb.SubscribeUpdateTransaction) []*rpc.GetTransactionResult
- func ConvertBlockHash(geyserBlock *geyser_pb.SubscribeUpdateBlock) *rpc.GetBlockResult
- func ConvertTransaction(geyserTx *geyser_pb.SubscribeUpdateTransaction) (*rpc.GetTransactionResult, error)
- func New(ctx context.Context, grpcDialURL string, useGzipCompression bool, ...) (*client, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BatchConvertBlockHash ¶
func BatchConvertBlockHash(geyserBlocks ...*geyser_pb.SubscribeUpdateBlock) []*rpc.GetBlockResult
func BatchConvertTransaction ¶
func BatchConvertTransaction(geyserTxns ...*geyser_pb.SubscribeUpdateTransaction) []*rpc.GetTransactionResult
func ConvertBlockHash ¶
func ConvertBlockHash(geyserBlock *geyser_pb.SubscribeUpdateBlock) *rpc.GetBlockResult
ConvertBlockHash converts a Geyser type block to a github.com/gagliardetto/solana-go Solana block.
func ConvertTransaction ¶
func ConvertTransaction(geyserTx *geyser_pb.SubscribeUpdateTransaction) (*rpc.GetTransactionResult, error)
ConvertTransaction converts a Geyser parsed transaction into an rpc.GetTransactionResult format.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.