Versions in this module Expand all Collapse all v1 v1.1.1 May 12, 2024 Changes in this version + func BatchExtractSigFromTx(txns []*solana.Transaction) []solana.Signature + func BuildTransactionLinks(txns []solana.Signature, platform Platform) []string + func ConvertBatchProtobufPacketToTransaction(packets []*proto.Packet) ([]*solana.Transaction, error) + func ConvertBatchTransactionToProtobufPacket(transactions []*solana.Transaction) ([]*proto.Packet, error) + func ConvertProtobufPacketToTransaction(packet *proto.Packet) (*solana.Transaction, error) + func ConvertTransactionToProtobufPacket(transaction *solana.Transaction) (proto.Packet, error) + func CreateAndObserveGRPCConn(ctx context.Context, chErr chan error, target string, opts ...grpc.DialOption) (*grpc.ClientConn, error) + func ExtractSigFromTx(tx *solana.Transaction) solana.Signature + func LamportsToSol(lamports *big.Float) *big.Float + func StrSliceToByteSlice(s []string) [][]byte + func SubscribeTipStream(ctx context.Context) (<-chan *TipStreamInfo, <-chan error, error) + type AuthenticationService struct + AuthService proto.AuthServiceClient + BearerToken string + ErrChan chan error + ExpiresAt int64 + GrpcCtx context.Context + KeyPair *Keypair + func NewAuthenticationService(grpcConn *grpc.ClientConn, privateKey solana.PrivateKey) *AuthenticationService + func (as *AuthenticationService) AuthenticateAndRefresh(role proto.Role) error + type Keypair struct + PrivateKey solana.PrivateKey + PublicKey solana.PublicKey + func GenerateKeypair() *Keypair + func NewKeyPair(privateKey solana.PrivateKey) *Keypair + type Platform string + var SolanaBeach Platform = "https://solanabeach.io/transaction/" + var SolanaExplorer Platform = "https://explorer.solana.com/tx/" + var SolanaFM Platform = "https://solana.fm/tx/" + var Solscan Platform = "https://solscan.io/tx/" + var XRAY Platform = "https://xray.helius.xyz/tx/" + type TipStreamInfo struct + EmaLandedTips50ThPercentile float64 + LandedTips25ThPercentile float64 + LandedTips50ThPercentile float64 + LandedTips75ThPercentile float64 + LandedTips95ThPercentile float64 + LandedTips99ThPercentile float64 + Time time.Time