Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterGeyserServer(s grpc.ServiceRegistrar, srv GeyserServer)
- type AccountUpdate
- func (*AccountUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *AccountUpdate) GetData() []byte
- func (x *AccountUpdate) GetIsExecutable() bool
- func (x *AccountUpdate) GetIsStartup() bool
- func (x *AccountUpdate) GetLamports() uint64
- func (x *AccountUpdate) GetOwner() []byte
- func (x *AccountUpdate) GetPubkey() []byte
- func (x *AccountUpdate) GetRentEpoch() uint64
- func (x *AccountUpdate) GetReplicaVersion() uint32
- func (x *AccountUpdate) GetSeq() uint64
- func (x *AccountUpdate) GetSlot() uint64
- func (x *AccountUpdate) GetTxSignature() string
- func (*AccountUpdate) ProtoMessage()
- func (x *AccountUpdate) ProtoReflect() protoreflect.Message
- func (x *AccountUpdate) Reset()
- func (x *AccountUpdate) String() string
- type BlockHeight
- type BlockUpdate
- func (*BlockUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *BlockUpdate) GetBlockHeight() uint64
- func (x *BlockUpdate) GetBlockTime() *timestamppb.Timestamp
- func (x *BlockUpdate) GetBlockhash() string
- func (x *BlockUpdate) GetEntryCount() uint64
- func (x *BlockUpdate) GetExecutedTransactionCount() uint64
- func (x *BlockUpdate) GetRewards() []*Reward
- func (x *BlockUpdate) GetSlot() uint64
- func (*BlockUpdate) ProtoMessage()
- func (x *BlockUpdate) ProtoReflect() protoreflect.Message
- func (x *BlockUpdate) Reset()
- func (x *BlockUpdate) String() string
- type CompiledInstruction
- func (*CompiledInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *CompiledInstruction) GetAccounts() []byte
- func (x *CompiledInstruction) GetData() []byte
- func (x *CompiledInstruction) GetProgramIdIndex() uint32
- func (*CompiledInstruction) ProtoMessage()
- func (x *CompiledInstruction) ProtoReflect() protoreflect.Message
- func (x *CompiledInstruction) Reset()
- func (x *CompiledInstruction) String() string
- type ConfirmedBlock
- func (*ConfirmedBlock) Descriptor() ([]byte, []int)deprecated
- func (x *ConfirmedBlock) GetBlockHeight() *BlockHeight
- func (x *ConfirmedBlock) GetBlockTime() *UnixTimestamp
- func (x *ConfirmedBlock) GetBlockhash() string
- func (x *ConfirmedBlock) GetNumPartitions() *NumPartitions
- func (x *ConfirmedBlock) GetParentSlot() uint64
- func (x *ConfirmedBlock) GetPreviousBlockhash() string
- func (x *ConfirmedBlock) GetRewards() []*Reward
- func (x *ConfirmedBlock) GetTransactions() []*ConfirmedTransaction
- func (*ConfirmedBlock) ProtoMessage()
- func (x *ConfirmedBlock) ProtoReflect() protoreflect.Message
- func (x *ConfirmedBlock) Reset()
- func (x *ConfirmedBlock) String() string
- type ConfirmedTransaction
- func (*ConfirmedTransaction) Descriptor() ([]byte, []int)deprecated
- func (x *ConfirmedTransaction) GetMeta() *TransactionStatusMeta
- func (x *ConfirmedTransaction) GetTransaction() *Transaction
- func (*ConfirmedTransaction) ProtoMessage()
- func (x *ConfirmedTransaction) ProtoReflect() protoreflect.Message
- func (x *ConfirmedTransaction) Reset()
- func (x *ConfirmedTransaction) String() string
- type CustomError
- type EmptyRequest
- type Entries
- type Entry
- func (*Entry) Descriptor() ([]byte, []int)deprecated
- func (x *Entry) GetHash() []byte
- func (x *Entry) GetIndex() uint32
- func (x *Entry) GetNumHashes() uint64
- func (x *Entry) GetNumTransactions() uint64
- func (x *Entry) GetStartingTransactionIndex() uint32
- func (*Entry) ProtoMessage()
- func (x *Entry) ProtoReflect() protoreflect.Message
- func (x *Entry) Reset()
- func (x *Entry) String() string
- type GetHeartbeatIntervalResponse
- func (*GetHeartbeatIntervalResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetHeartbeatIntervalResponse) GetHeartbeatIntervalMs() uint64
- func (*GetHeartbeatIntervalResponse) ProtoMessage()
- func (x *GetHeartbeatIntervalResponse) ProtoReflect() protoreflect.Message
- func (x *GetHeartbeatIntervalResponse) Reset()
- func (x *GetHeartbeatIntervalResponse) String() string
- type GeyserClient
- type GeyserServer
- type Geyser_SubscribeAccountUpdatesClient
- type Geyser_SubscribeAccountUpdatesServer
- type Geyser_SubscribeBlockUpdatesClient
- type Geyser_SubscribeBlockUpdatesServer
- type Geyser_SubscribePartialAccountUpdatesClient
- type Geyser_SubscribePartialAccountUpdatesServer
- type Geyser_SubscribeProgramUpdatesClient
- type Geyser_SubscribeProgramUpdatesServer
- type Geyser_SubscribeSlotEntryUpdatesClient
- type Geyser_SubscribeSlotEntryUpdatesServer
- type Geyser_SubscribeSlotUpdatesClient
- type Geyser_SubscribeSlotUpdatesServer
- type Geyser_SubscribeTransactionUpdatesClient
- type Geyser_SubscribeTransactionUpdatesServer
- type Heartbeat
- type InnerInstruction
- func (*InnerInstruction) Descriptor() ([]byte, []int)deprecated
- func (x *InnerInstruction) GetAccounts() []byte
- func (x *InnerInstruction) GetData() []byte
- func (x *InnerInstruction) GetProgramIdIndex() uint32
- func (x *InnerInstruction) GetStackHeight() uint32
- func (*InnerInstruction) ProtoMessage()
- func (x *InnerInstruction) ProtoReflect() protoreflect.Message
- func (x *InnerInstruction) Reset()
- func (x *InnerInstruction) String() string
- type InnerInstructions
- func (*InnerInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *InnerInstructions) GetIndex() uint32
- func (x *InnerInstructions) GetInstructions() []*InnerInstruction
- func (*InnerInstructions) ProtoMessage()
- func (x *InnerInstructions) ProtoReflect() protoreflect.Message
- func (x *InnerInstructions) Reset()
- func (x *InnerInstructions) String() string
- type InstructionError
- func (*InstructionError) Descriptor() ([]byte, []int)deprecated
- func (x *InstructionError) GetCustom() *CustomError
- func (x *InstructionError) GetError() InstructionErrorType
- func (x *InstructionError) GetIndex() uint32
- func (*InstructionError) ProtoMessage()
- func (x *InstructionError) ProtoReflect() protoreflect.Message
- func (x *InstructionError) Reset()
- func (x *InstructionError) String() string
- type InstructionErrorType
- func (InstructionErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x InstructionErrorType) Enum() *InstructionErrorType
- func (InstructionErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x InstructionErrorType) Number() protoreflect.EnumNumber
- func (x InstructionErrorType) String() string
- func (InstructionErrorType) Type() protoreflect.EnumType
- type MaybePartialAccountUpdate
- func (*MaybePartialAccountUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *MaybePartialAccountUpdate) GetHb() *Heartbeat
- func (m *MaybePartialAccountUpdate) GetMsg() isMaybePartialAccountUpdate_Msg
- func (x *MaybePartialAccountUpdate) GetPartialAccountUpdate() *PartialAccountUpdate
- func (*MaybePartialAccountUpdate) ProtoMessage()
- func (x *MaybePartialAccountUpdate) ProtoReflect() protoreflect.Message
- func (x *MaybePartialAccountUpdate) Reset()
- func (x *MaybePartialAccountUpdate) String() string
- type MaybePartialAccountUpdate_Hb
- type MaybePartialAccountUpdate_PartialAccountUpdate
- type Memo
- type Message
- func (*Message) Descriptor() ([]byte, []int)deprecated
- func (x *Message) GetAccountKeys() [][]byte
- func (x *Message) GetAddressTableLookups() []*MessageAddressTableLookup
- func (x *Message) GetHeader() *MessageHeader
- func (x *Message) GetInstructions() []*CompiledInstruction
- func (x *Message) GetRecentBlockhash() []byte
- func (x *Message) GetVersioned() bool
- func (*Message) ProtoMessage()
- func (x *Message) ProtoReflect() protoreflect.Message
- func (x *Message) Reset()
- func (x *Message) String() string
- type MessageAddressTableLookup
- func (*MessageAddressTableLookup) Descriptor() ([]byte, []int)deprecated
- func (x *MessageAddressTableLookup) GetAccountKey() []byte
- func (x *MessageAddressTableLookup) GetReadonlyIndexes() []byte
- func (x *MessageAddressTableLookup) GetWritableIndexes() []byte
- func (*MessageAddressTableLookup) ProtoMessage()
- func (x *MessageAddressTableLookup) ProtoReflect() protoreflect.Message
- func (x *MessageAddressTableLookup) Reset()
- func (x *MessageAddressTableLookup) String() string
- type MessageHeader
- func (*MessageHeader) Descriptor() ([]byte, []int)deprecated
- func (x *MessageHeader) GetNumReadonlySignedAccounts() uint32
- func (x *MessageHeader) GetNumReadonlyUnsignedAccounts() uint32
- func (x *MessageHeader) GetNumRequiredSignatures() uint32
- func (*MessageHeader) ProtoMessage()
- func (x *MessageHeader) ProtoReflect() protoreflect.Message
- func (x *MessageHeader) Reset()
- func (x *MessageHeader) String() string
- type NumPartitions
- type PartialAccountUpdate
- func (*PartialAccountUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *PartialAccountUpdate) GetIsStartup() bool
- func (x *PartialAccountUpdate) GetOwner() []byte
- func (x *PartialAccountUpdate) GetPubkey() []byte
- func (x *PartialAccountUpdate) GetReplicaVersion() uint32
- func (x *PartialAccountUpdate) GetSeq() uint64
- func (x *PartialAccountUpdate) GetSlot() uint64
- func (x *PartialAccountUpdate) GetTxSignature() string
- func (*PartialAccountUpdate) ProtoMessage()
- func (x *PartialAccountUpdate) ProtoReflect() protoreflect.Message
- func (x *PartialAccountUpdate) Reset()
- func (x *PartialAccountUpdate) String() string
- type ReturnData
- type Reward
- func (*Reward) Descriptor() ([]byte, []int)deprecated
- func (x *Reward) GetCommission() string
- func (x *Reward) GetLamports() int64
- func (x *Reward) GetPostBalance() uint64
- func (x *Reward) GetPubkey() string
- func (x *Reward) GetRewardType() RewardType
- func (*Reward) ProtoMessage()
- func (x *Reward) ProtoReflect() protoreflect.Message
- func (x *Reward) Reset()
- func (x *Reward) String() string
- type RewardType
- type Rewards
- type SlotEntryUpdate
- func (*SlotEntryUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *SlotEntryUpdate) GetExecutedTransactionCount() uint64
- func (x *SlotEntryUpdate) GetIndex() uint64
- func (x *SlotEntryUpdate) GetSlot() uint64
- func (*SlotEntryUpdate) ProtoMessage()
- func (x *SlotEntryUpdate) ProtoReflect() protoreflect.Message
- func (x *SlotEntryUpdate) Reset()
- func (x *SlotEntryUpdate) String() string
- type SlotUpdate
- func (*SlotUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *SlotUpdate) GetParentSlot() uint64
- func (x *SlotUpdate) GetSlot() uint64
- func (x *SlotUpdate) GetStatus() SlotUpdateStatus
- func (*SlotUpdate) ProtoMessage()
- func (x *SlotUpdate) ProtoReflect() protoreflect.Message
- func (x *SlotUpdate) Reset()
- func (x *SlotUpdate) String() string
- type SlotUpdateStatus
- func (SlotUpdateStatus) Descriptor() protoreflect.EnumDescriptor
- func (x SlotUpdateStatus) Enum() *SlotUpdateStatus
- func (SlotUpdateStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x SlotUpdateStatus) Number() protoreflect.EnumNumber
- func (x SlotUpdateStatus) String() string
- func (SlotUpdateStatus) Type() protoreflect.EnumType
- type SubscribeAccountUpdatesRequest
- func (*SubscribeAccountUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeAccountUpdatesRequest) GetAccounts() [][]byte
- func (*SubscribeAccountUpdatesRequest) ProtoMessage()
- func (x *SubscribeAccountUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeAccountUpdatesRequest) Reset()
- func (x *SubscribeAccountUpdatesRequest) String() string
- type SubscribeBlockUpdatesRequest
- func (*SubscribeBlockUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeBlockUpdatesRequest) ProtoMessage()
- func (x *SubscribeBlockUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeBlockUpdatesRequest) Reset()
- func (x *SubscribeBlockUpdatesRequest) String() string
- type SubscribePartialAccountUpdatesRequest
- func (*SubscribePartialAccountUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribePartialAccountUpdatesRequest) GetSkipVoteAccounts() bool
- func (*SubscribePartialAccountUpdatesRequest) ProtoMessage()
- func (x *SubscribePartialAccountUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribePartialAccountUpdatesRequest) Reset()
- func (x *SubscribePartialAccountUpdatesRequest) String() string
- type SubscribeProgramsUpdatesRequest
- func (*SubscribeProgramsUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubscribeProgramsUpdatesRequest) GetPrograms() [][]byte
- func (*SubscribeProgramsUpdatesRequest) ProtoMessage()
- func (x *SubscribeProgramsUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeProgramsUpdatesRequest) Reset()
- func (x *SubscribeProgramsUpdatesRequest) String() string
- type SubscribeSlotEntryUpdateRequest
- func (*SubscribeSlotEntryUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeSlotEntryUpdateRequest) ProtoMessage()
- func (x *SubscribeSlotEntryUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeSlotEntryUpdateRequest) Reset()
- func (x *SubscribeSlotEntryUpdateRequest) String() string
- type SubscribeSlotUpdateRequest
- type SubscribeTransactionUpdatesRequest
- func (*SubscribeTransactionUpdatesRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeTransactionUpdatesRequest) ProtoMessage()
- func (x *SubscribeTransactionUpdatesRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeTransactionUpdatesRequest) Reset()
- func (x *SubscribeTransactionUpdatesRequest) String() string
- type TimestampedAccountUpdate
- func (*TimestampedAccountUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedAccountUpdate) GetAccountUpdate() *AccountUpdate
- func (x *TimestampedAccountUpdate) GetTs() *timestamppb.Timestamp
- func (*TimestampedAccountUpdate) ProtoMessage()
- func (x *TimestampedAccountUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedAccountUpdate) Reset()
- func (x *TimestampedAccountUpdate) String() string
- type TimestampedBlockUpdate
- func (*TimestampedBlockUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedBlockUpdate) GetBlockUpdate() *BlockUpdate
- func (x *TimestampedBlockUpdate) GetTs() *timestamppb.Timestamp
- func (*TimestampedBlockUpdate) ProtoMessage()
- func (x *TimestampedBlockUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedBlockUpdate) Reset()
- func (x *TimestampedBlockUpdate) String() string
- type TimestampedSlotEntryUpdate
- func (*TimestampedSlotEntryUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedSlotEntryUpdate) GetEntryUpdate() *SlotEntryUpdate
- func (x *TimestampedSlotEntryUpdate) GetTs() uint32
- func (*TimestampedSlotEntryUpdate) ProtoMessage()
- func (x *TimestampedSlotEntryUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedSlotEntryUpdate) Reset()
- func (x *TimestampedSlotEntryUpdate) String() string
- type TimestampedSlotUpdate
- func (*TimestampedSlotUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedSlotUpdate) GetSlotUpdate() *SlotUpdate
- func (x *TimestampedSlotUpdate) GetTs() *timestamppb.Timestamp
- func (*TimestampedSlotUpdate) ProtoMessage()
- func (x *TimestampedSlotUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedSlotUpdate) Reset()
- func (x *TimestampedSlotUpdate) String() string
- type TimestampedTransactionUpdate
- func (*TimestampedTransactionUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedTransactionUpdate) GetTransaction() *TransactionUpdate
- func (x *TimestampedTransactionUpdate) GetTs() *timestamppb.Timestamp
- func (*TimestampedTransactionUpdate) ProtoMessage()
- func (x *TimestampedTransactionUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedTransactionUpdate) Reset()
- func (x *TimestampedTransactionUpdate) String() string
- type TokenBalance
- func (*TokenBalance) Descriptor() ([]byte, []int)deprecated
- func (x *TokenBalance) GetAccountIndex() uint32
- func (x *TokenBalance) GetMint() string
- func (x *TokenBalance) GetOwner() string
- func (x *TokenBalance) GetProgramId() string
- func (x *TokenBalance) GetUiTokenAmount() *UiTokenAmount
- func (*TokenBalance) ProtoMessage()
- func (x *TokenBalance) ProtoReflect() protoreflect.Message
- func (x *TokenBalance) Reset()
- func (x *TokenBalance) String() string
- type Transaction
- func (*Transaction) Descriptor() ([]byte, []int)deprecated
- func (x *Transaction) GetMessage() *Message
- func (x *Transaction) GetSignatures() [][]byte
- func (*Transaction) ProtoMessage()
- func (x *Transaction) ProtoReflect() protoreflect.Message
- func (x *Transaction) Reset()
- func (x *Transaction) String() string
- type TransactionByAddr
- func (*TransactionByAddr) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionByAddr) GetTxByAddrs() []*TransactionByAddrInfo
- func (*TransactionByAddr) ProtoMessage()
- func (x *TransactionByAddr) ProtoReflect() protoreflect.Message
- func (x *TransactionByAddr) Reset()
- func (x *TransactionByAddr) String() string
- type TransactionByAddrInfo
- func (*TransactionByAddrInfo) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionByAddrInfo) GetBlockTime() *UnixTimestamp
- func (x *TransactionByAddrInfo) GetErr() *TransactionError
- func (x *TransactionByAddrInfo) GetIndex() uint32
- func (x *TransactionByAddrInfo) GetMemo() *Memo
- func (x *TransactionByAddrInfo) GetSignature() []byte
- func (*TransactionByAddrInfo) ProtoMessage()
- func (x *TransactionByAddrInfo) ProtoReflect() protoreflect.Message
- func (x *TransactionByAddrInfo) Reset()
- func (x *TransactionByAddrInfo) String() string
- type TransactionDetails
- func (*TransactionDetails) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionDetails) GetIndex() uint32
- func (*TransactionDetails) ProtoMessage()
- func (x *TransactionDetails) ProtoReflect() protoreflect.Message
- func (x *TransactionDetails) Reset()
- func (x *TransactionDetails) String() string
- type TransactionError
- type TransactionErrorDup
- func (*TransactionErrorDup) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionErrorDup) GetInstructionError() *InstructionError
- func (x *TransactionErrorDup) GetTransactionDetails() *TransactionDetails
- func (x *TransactionErrorDup) GetTransactionError() TransactionErrorType
- func (*TransactionErrorDup) ProtoMessage()
- func (x *TransactionErrorDup) ProtoReflect() protoreflect.Message
- func (x *TransactionErrorDup) Reset()
- func (x *TransactionErrorDup) String() string
- type TransactionErrorType
- func (TransactionErrorType) Descriptor() protoreflect.EnumDescriptor
- func (x TransactionErrorType) Enum() *TransactionErrorType
- func (TransactionErrorType) EnumDescriptor() ([]byte, []int)deprecated
- func (x TransactionErrorType) Number() protoreflect.EnumNumber
- func (x TransactionErrorType) String() string
- func (TransactionErrorType) Type() protoreflect.EnumType
- type TransactionStatusMeta
- func (*TransactionStatusMeta) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionStatusMeta) GetComputeUnitsConsumed() uint64
- func (x *TransactionStatusMeta) GetErr() *TransactionError
- func (x *TransactionStatusMeta) GetFee() uint64
- func (x *TransactionStatusMeta) GetInnerInstructions() []*InnerInstructions
- func (x *TransactionStatusMeta) GetInnerInstructionsNone() bool
- func (x *TransactionStatusMeta) GetLoadedReadonlyAddresses() [][]byte
- func (x *TransactionStatusMeta) GetLoadedWritableAddresses() [][]byte
- func (x *TransactionStatusMeta) GetLogMessages() []string
- func (x *TransactionStatusMeta) GetLogMessagesNone() bool
- func (x *TransactionStatusMeta) GetPostBalances() []uint64
- func (x *TransactionStatusMeta) GetPostTokenBalances() []*TokenBalance
- func (x *TransactionStatusMeta) GetPreBalances() []uint64
- func (x *TransactionStatusMeta) GetPreTokenBalances() []*TokenBalance
- func (x *TransactionStatusMeta) GetReturnData() *ReturnData
- func (x *TransactionStatusMeta) GetReturnDataNone() bool
- func (x *TransactionStatusMeta) GetRewards() []*Reward
- func (*TransactionStatusMeta) ProtoMessage()
- func (x *TransactionStatusMeta) ProtoReflect() protoreflect.Message
- func (x *TransactionStatusMeta) Reset()
- func (x *TransactionStatusMeta) String() string
- type TransactionUpdate
- func (*TransactionUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionUpdate) GetIsVote() bool
- func (x *TransactionUpdate) GetSignature() string
- func (x *TransactionUpdate) GetSlot() uint64
- func (x *TransactionUpdate) GetTx() *ConfirmedTransaction
- func (x *TransactionUpdate) GetTxIdx() uint64
- func (*TransactionUpdate) ProtoMessage()
- func (x *TransactionUpdate) ProtoReflect() protoreflect.Message
- func (x *TransactionUpdate) Reset()
- func (x *TransactionUpdate) String() string
- type UiTokenAmount
- func (*UiTokenAmount) Descriptor() ([]byte, []int)deprecated
- func (x *UiTokenAmount) GetAmount() string
- func (x *UiTokenAmount) GetDecimals() uint32
- func (x *UiTokenAmount) GetUiAmount() float64
- func (x *UiTokenAmount) GetUiAmountString() string
- func (*UiTokenAmount) ProtoMessage()
- func (x *UiTokenAmount) ProtoReflect() protoreflect.Message
- func (x *UiTokenAmount) Reset()
- func (x *UiTokenAmount) String() string
- type UnimplementedGeyserServer
- func (UnimplementedGeyserServer) GetHeartbeatInterval(context.Context, *EmptyRequest) (*GetHeartbeatIntervalResponse, error)
- func (UnimplementedGeyserServer) SubscribeAccountUpdates(*SubscribeAccountUpdatesRequest, ...) error
- func (UnimplementedGeyserServer) SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, ...) error
- func (UnimplementedGeyserServer) SubscribePartialAccountUpdates(*SubscribePartialAccountUpdatesRequest, ...) error
- func (UnimplementedGeyserServer) SubscribeProgramUpdates(*SubscribeProgramsUpdatesRequest, ...) error
- func (UnimplementedGeyserServer) SubscribeSlotEntryUpdates(*SubscribeSlotEntryUpdateRequest, ...) error
- func (UnimplementedGeyserServer) SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, grpc.ServerStreamingServer[TimestampedSlotUpdate]) error
- func (UnimplementedGeyserServer) SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, ...) error
- type UnixTimestamp
- type UnsafeGeyserServer
Constants ¶
const ( Geyser_GetHeartbeatInterval_FullMethodName = "/solana.geyser.Geyser/GetHeartbeatInterval" Geyser_SubscribeAccountUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeAccountUpdates" Geyser_SubscribeProgramUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeProgramUpdates" Geyser_SubscribePartialAccountUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribePartialAccountUpdates" Geyser_SubscribeSlotUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeSlotUpdates" Geyser_SubscribeTransactionUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeTransactionUpdates" Geyser_SubscribeBlockUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeBlockUpdates" Geyser_SubscribeSlotEntryUpdates_FullMethodName = "/solana.geyser.Geyser/SubscribeSlotEntryUpdates" )
Variables ¶
var ( RewardType_name = map[int32]string{ 0: "Unspecified", 1: "Fee", 2: "Rent", 3: "Staking", 4: "Voting", } RewardType_value = map[string]int32{ "Unspecified": 0, "Fee": 1, "Rent": 2, "Staking": 3, "Voting": 4, } )
Enum value maps for RewardType.
var ( SlotUpdateStatus_name = map[int32]string{ 0: "CONFIRMED", 1: "PROCESSED", 2: "ROOTED", } SlotUpdateStatus_value = map[string]int32{ "CONFIRMED": 0, "PROCESSED": 1, "ROOTED": 2, } )
Enum value maps for SlotUpdateStatus.
var ( TransactionErrorType_name = map[int32]string{ 0: "ACCOUNT_IN_USE", 1: "ACCOUNT_LOADED_TWICE", 2: "ACCOUNT_NOT_FOUND", 3: "PROGRAM_ACCOUNT_NOT_FOUND", 4: "INSUFFICIENT_FUNDS_FOR_FEE", 5: "INVALID_ACCOUNT_FOR_FEE", 6: "ALREADY_PROCESSED", 7: "BLOCKHASH_NOT_FOUND", 8: "INSTRUCTION_ERROR", 9: "CALL_CHAIN_TOO_DEEP", 10: "MISSING_SIGNATURE_FOR_FEE", 11: "INVALID_ACCOUNT_INDEX", 12: "SIGNATURE_FAILURE", 13: "INVALID_PROGRAM_FOR_EXECUTION", 14: "SANITIZE_FAILURE", 15: "CLUSTER_MAINTENANCE", 16: "ACCOUNT_BORROW_OUTSTANDING_TX", 17: "WOULD_EXCEED_MAX_BLOCK_COST_LIMIT", 18: "UNSUPPORTED_VERSION", 19: "INVALID_WRITABLE_ACCOUNT", 20: "WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT", 21: "WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT", 22: "TOO_MANY_ACCOUNT_LOCKS", 23: "ADDRESS_LOOKUP_TABLE_NOT_FOUND", 24: "INVALID_ADDRESS_LOOKUP_TABLE_OWNER", 25: "INVALID_ADDRESS_LOOKUP_TABLE_DATA", 26: "INVALID_ADDRESS_LOOKUP_TABLE_INDEX", 27: "INVALID_RENT_PAYING_ACCOUNT", 28: "WOULD_EXCEED_MAX_VOTE_COST_LIMIT", 29: "WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT", 30: "DUPLICATE_INSTRUCTION", 31: "INSUFFICIENT_FUNDS_FOR_RENT", 32: "MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED", 33: "INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT", 34: "RESANITIZATION_NEEDED", 35: "PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED", 36: "UNBALANCED_TRANSACTION", 37: "PROGRAM_CACHE_HIT_MAX_LIMIT", } TransactionErrorType_value = map[string]int32{ "ACCOUNT_IN_USE": 0, "ACCOUNT_LOADED_TWICE": 1, "ACCOUNT_NOT_FOUND": 2, "PROGRAM_ACCOUNT_NOT_FOUND": 3, "INSUFFICIENT_FUNDS_FOR_FEE": 4, "INVALID_ACCOUNT_FOR_FEE": 5, "ALREADY_PROCESSED": 6, "BLOCKHASH_NOT_FOUND": 7, "INSTRUCTION_ERROR": 8, "CALL_CHAIN_TOO_DEEP": 9, "MISSING_SIGNATURE_FOR_FEE": 10, "INVALID_ACCOUNT_INDEX": 11, "SIGNATURE_FAILURE": 12, "INVALID_PROGRAM_FOR_EXECUTION": 13, "SANITIZE_FAILURE": 14, "CLUSTER_MAINTENANCE": 15, "ACCOUNT_BORROW_OUTSTANDING_TX": 16, "WOULD_EXCEED_MAX_BLOCK_COST_LIMIT": 17, "UNSUPPORTED_VERSION": 18, "INVALID_WRITABLE_ACCOUNT": 19, "WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT": 20, "WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT": 21, "TOO_MANY_ACCOUNT_LOCKS": 22, "ADDRESS_LOOKUP_TABLE_NOT_FOUND": 23, "INVALID_ADDRESS_LOOKUP_TABLE_OWNER": 24, "INVALID_ADDRESS_LOOKUP_TABLE_DATA": 25, "INVALID_ADDRESS_LOOKUP_TABLE_INDEX": 26, "INVALID_RENT_PAYING_ACCOUNT": 27, "WOULD_EXCEED_MAX_VOTE_COST_LIMIT": 28, "WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT": 29, "DUPLICATE_INSTRUCTION": 30, "INSUFFICIENT_FUNDS_FOR_RENT": 31, "MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED": 32, "INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT": 33, "RESANITIZATION_NEEDED": 34, "PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED": 35, "UNBALANCED_TRANSACTION": 36, "PROGRAM_CACHE_HIT_MAX_LIMIT": 37, } )
Enum value maps for TransactionErrorType.
var ( InstructionErrorType_name = map[int32]string{ 0: "GENERIC_ERROR", 1: "INVALID_ARGUMENT", 2: "INVALID_INSTRUCTION_DATA", 3: "INVALID_ACCOUNT_DATA", 4: "ACCOUNT_DATA_TOO_SMALL", 5: "INSUFFICIENT_FUNDS", 6: "INCORRECT_PROGRAM_ID", 7: "MISSING_REQUIRED_SIGNATURE", 8: "ACCOUNT_ALREADY_INITIALIZED", 9: "UNINITIALIZED_ACCOUNT", 10: "UNBALANCED_INSTRUCTION", 11: "MODIFIED_PROGRAM_ID", 12: "EXTERNAL_ACCOUNT_LAMPORT_SPEND", 13: "EXTERNAL_ACCOUNT_DATA_MODIFIED", 14: "READONLY_LAMPORT_CHANGE", 15: "READONLY_DATA_MODIFIED", 16: "DUPLICATE_ACCOUNT_INDEX", 17: "EXECUTABLE_MODIFIED", 18: "RENT_EPOCH_MODIFIED", 19: "NOT_ENOUGH_ACCOUNT_KEYS", 20: "ACCOUNT_DATA_SIZE_CHANGED", 21: "ACCOUNT_NOT_EXECUTABLE", 22: "ACCOUNT_BORROW_FAILED", 23: "ACCOUNT_BORROW_OUTSTANDING", 24: "DUPLICATE_ACCOUNT_OUT_OF_SYNC", 25: "CUSTOM", 26: "INVALID_ERROR", 27: "EXECUTABLE_DATA_MODIFIED", 28: "EXECUTABLE_LAMPORT_CHANGE", 29: "EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT", 30: "UNSUPPORTED_PROGRAM_ID", 31: "CALL_DEPTH", 32: "MISSING_ACCOUNT", 33: "REENTRANCY_NOT_ALLOWED", 34: "MAX_SEED_LENGTH_EXCEEDED", 35: "INVALID_SEEDS", 36: "INVALID_REALLOC", 37: "COMPUTATIONAL_BUDGET_EXCEEDED", 38: "PRIVILEGE_ESCALATION", 39: "PROGRAM_ENVIRONMENT_SETUP_FAILURE", 40: "PROGRAM_FAILED_TO_COMPLETE", 41: "PROGRAM_FAILED_TO_COMPILE", 42: "IMMUTABLE", 43: "INCORRECT_AUTHORITY", 44: "BORSH_IO_ERROR", 45: "ACCOUNT_NOT_RENT_EXEMPT", 46: "INVALID_ACCOUNT_OWNER", 47: "ARITHMETIC_OVERFLOW", 48: "UNSUPPORTED_SYSVAR", 49: "ILLEGAL_OWNER", 50: "MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED", 51: "MAX_ACCOUNTS_EXCEEDED", 52: "MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED", 53: "BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS", } InstructionErrorType_value = map[string]int32{ "GENERIC_ERROR": 0, "INVALID_ARGUMENT": 1, "INVALID_INSTRUCTION_DATA": 2, "INVALID_ACCOUNT_DATA": 3, "ACCOUNT_DATA_TOO_SMALL": 4, "INSUFFICIENT_FUNDS": 5, "INCORRECT_PROGRAM_ID": 6, "MISSING_REQUIRED_SIGNATURE": 7, "ACCOUNT_ALREADY_INITIALIZED": 8, "UNINITIALIZED_ACCOUNT": 9, "UNBALANCED_INSTRUCTION": 10, "MODIFIED_PROGRAM_ID": 11, "EXTERNAL_ACCOUNT_LAMPORT_SPEND": 12, "EXTERNAL_ACCOUNT_DATA_MODIFIED": 13, "READONLY_LAMPORT_CHANGE": 14, "READONLY_DATA_MODIFIED": 15, "DUPLICATE_ACCOUNT_INDEX": 16, "EXECUTABLE_MODIFIED": 17, "RENT_EPOCH_MODIFIED": 18, "NOT_ENOUGH_ACCOUNT_KEYS": 19, "ACCOUNT_DATA_SIZE_CHANGED": 20, "ACCOUNT_NOT_EXECUTABLE": 21, "ACCOUNT_BORROW_FAILED": 22, "ACCOUNT_BORROW_OUTSTANDING": 23, "DUPLICATE_ACCOUNT_OUT_OF_SYNC": 24, "CUSTOM": 25, "INVALID_ERROR": 26, "EXECUTABLE_DATA_MODIFIED": 27, "EXECUTABLE_LAMPORT_CHANGE": 28, "EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT": 29, "UNSUPPORTED_PROGRAM_ID": 30, "CALL_DEPTH": 31, "MISSING_ACCOUNT": 32, "REENTRANCY_NOT_ALLOWED": 33, "MAX_SEED_LENGTH_EXCEEDED": 34, "INVALID_SEEDS": 35, "INVALID_REALLOC": 36, "COMPUTATIONAL_BUDGET_EXCEEDED": 37, "PRIVILEGE_ESCALATION": 38, "PROGRAM_ENVIRONMENT_SETUP_FAILURE": 39, "PROGRAM_FAILED_TO_COMPLETE": 40, "PROGRAM_FAILED_TO_COMPILE": 41, "IMMUTABLE": 42, "INCORRECT_AUTHORITY": 43, "BORSH_IO_ERROR": 44, "ACCOUNT_NOT_RENT_EXEMPT": 45, "INVALID_ACCOUNT_OWNER": 46, "ARITHMETIC_OVERFLOW": 47, "UNSUPPORTED_SYSVAR": 48, "ILLEGAL_OWNER": 49, "MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED": 50, "MAX_ACCOUNTS_EXCEEDED": 51, "MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED": 52, "BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS": 53, } )
Enum value maps for InstructionErrorType.
var File_confirmed_block_proto protoreflect.FileDescriptor
var File_entries_proto protoreflect.FileDescriptor
var File_geyser_proto protoreflect.FileDescriptor
var File_transaction_by_addr_proto protoreflect.FileDescriptor
var Geyser_ServiceDesc = grpc.ServiceDesc{ ServiceName: "solana.geyser.Geyser", HandlerType: (*GeyserServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetHeartbeatInterval", Handler: _Geyser_GetHeartbeatInterval_Handler, }, }, Streams: []grpc.StreamDesc{ { StreamName: "SubscribeAccountUpdates", Handler: _Geyser_SubscribeAccountUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribeProgramUpdates", Handler: _Geyser_SubscribeProgramUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribePartialAccountUpdates", Handler: _Geyser_SubscribePartialAccountUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribeSlotUpdates", Handler: _Geyser_SubscribeSlotUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribeTransactionUpdates", Handler: _Geyser_SubscribeTransactionUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribeBlockUpdates", Handler: _Geyser_SubscribeBlockUpdates_Handler, ServerStreams: true, }, { StreamName: "SubscribeSlotEntryUpdates", Handler: _Geyser_SubscribeSlotEntryUpdates_Handler, ServerStreams: true, }, }, Metadata: "geyser.proto", }
Geyser_ServiceDesc is the grpc.ServiceDesc for Geyser service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterGeyserServer ¶
func RegisterGeyserServer(s grpc.ServiceRegistrar, srv GeyserServer)
Types ¶
type AccountUpdate ¶
type AccountUpdate struct { // Slot this update occurred. Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // Account's pubkey. Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // Account's lamports post update. Lamports uint64 `protobuf:"varint,3,opt,name=lamports,proto3" json:"lamports,omitempty"` // Account's owner. Owner []byte `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` // Flags whether an account is executable. IsExecutable bool `protobuf:"varint,5,opt,name=is_executable,json=isExecutable,proto3" json:"is_executable,omitempty"` // The epoch at which this account will next owe rent. RentEpoch uint64 `protobuf:"varint,6,opt,name=rent_epoch,json=rentEpoch,proto3" json:"rent_epoch,omitempty"` // Account's data post update. Data []byte `protobuf:"bytes,7,opt,name=data,proto3" json:"data,omitempty"` // A monotonically increasing number specifying the order of this update. // Can be used to determine what the latest update for an account was at // a given slot, assuming there were multiple updates. Seq uint64 `protobuf:"varint,8,opt,name=seq,proto3" json:"seq,omitempty"` // Flags whether this update was streamed as part of startup i.e. not a real-time update. IsStartup bool `protobuf:"varint,9,opt,name=is_startup,json=isStartup,proto3" json:"is_startup,omitempty"` // Transaction signature that caused this update. TxSignature *string `protobuf:"bytes,10,opt,name=tx_signature,json=txSignature,proto3,oneof" json:"tx_signature,omitempty"` // AccountReplica version. ReplicaVersion uint32 `protobuf:"varint,11,opt,name=replica_version,json=replicaVersion,proto3" json:"replica_version,omitempty"` // contains filtered or unexported fields }
func (*AccountUpdate) Descriptor
deprecated
func (*AccountUpdate) Descriptor() ([]byte, []int)
Deprecated: Use AccountUpdate.ProtoReflect.Descriptor instead.
func (*AccountUpdate) GetData ¶
func (x *AccountUpdate) GetData() []byte
func (*AccountUpdate) GetIsExecutable ¶
func (x *AccountUpdate) GetIsExecutable() bool
func (*AccountUpdate) GetIsStartup ¶
func (x *AccountUpdate) GetIsStartup() bool
func (*AccountUpdate) GetLamports ¶
func (x *AccountUpdate) GetLamports() uint64
func (*AccountUpdate) GetOwner ¶
func (x *AccountUpdate) GetOwner() []byte
func (*AccountUpdate) GetPubkey ¶
func (x *AccountUpdate) GetPubkey() []byte
func (*AccountUpdate) GetRentEpoch ¶
func (x *AccountUpdate) GetRentEpoch() uint64
func (*AccountUpdate) GetReplicaVersion ¶
func (x *AccountUpdate) GetReplicaVersion() uint32
func (*AccountUpdate) GetSeq ¶
func (x *AccountUpdate) GetSeq() uint64
func (*AccountUpdate) GetSlot ¶
func (x *AccountUpdate) GetSlot() uint64
func (*AccountUpdate) GetTxSignature ¶
func (x *AccountUpdate) GetTxSignature() string
func (*AccountUpdate) ProtoMessage ¶
func (*AccountUpdate) ProtoMessage()
func (*AccountUpdate) ProtoReflect ¶
func (x *AccountUpdate) ProtoReflect() protoreflect.Message
func (*AccountUpdate) Reset ¶
func (x *AccountUpdate) Reset()
func (*AccountUpdate) String ¶
func (x *AccountUpdate) String() string
type BlockHeight ¶
type BlockHeight struct { BlockHeight uint64 `protobuf:"varint,1,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` // contains filtered or unexported fields }
func (*BlockHeight) Descriptor
deprecated
func (*BlockHeight) Descriptor() ([]byte, []int)
Deprecated: Use BlockHeight.ProtoReflect.Descriptor instead.
func (*BlockHeight) GetBlockHeight ¶
func (x *BlockHeight) GetBlockHeight() uint64
func (*BlockHeight) ProtoMessage ¶
func (*BlockHeight) ProtoMessage()
func (*BlockHeight) ProtoReflect ¶
func (x *BlockHeight) ProtoReflect() protoreflect.Message
func (*BlockHeight) Reset ¶
func (x *BlockHeight) Reset()
func (*BlockHeight) String ¶
func (x *BlockHeight) String() string
type BlockUpdate ¶
type BlockUpdate struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` Rewards []*Reward `protobuf:"bytes,3,rep,name=rewards,proto3" json:"rewards,omitempty"` BlockTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` BlockHeight *uint64 `protobuf:"varint,5,opt,name=block_height,json=blockHeight,proto3,oneof" json:"block_height,omitempty"` ExecutedTransactionCount *uint64 `` /* 142-byte string literal not displayed */ EntryCount *uint64 `protobuf:"varint,7,opt,name=entry_count,json=entryCount,proto3,oneof" json:"entry_count,omitempty"` // contains filtered or unexported fields }
func (*BlockUpdate) Descriptor
deprecated
func (*BlockUpdate) Descriptor() ([]byte, []int)
Deprecated: Use BlockUpdate.ProtoReflect.Descriptor instead.
func (*BlockUpdate) GetBlockHeight ¶
func (x *BlockUpdate) GetBlockHeight() uint64
func (*BlockUpdate) GetBlockTime ¶
func (x *BlockUpdate) GetBlockTime() *timestamppb.Timestamp
func (*BlockUpdate) GetBlockhash ¶
func (x *BlockUpdate) GetBlockhash() string
func (*BlockUpdate) GetEntryCount ¶
func (x *BlockUpdate) GetEntryCount() uint64
func (*BlockUpdate) GetExecutedTransactionCount ¶
func (x *BlockUpdate) GetExecutedTransactionCount() uint64
func (*BlockUpdate) GetRewards ¶
func (x *BlockUpdate) GetRewards() []*Reward
func (*BlockUpdate) GetSlot ¶
func (x *BlockUpdate) GetSlot() uint64
func (*BlockUpdate) ProtoMessage ¶
func (*BlockUpdate) ProtoMessage()
func (*BlockUpdate) ProtoReflect ¶
func (x *BlockUpdate) ProtoReflect() protoreflect.Message
func (*BlockUpdate) Reset ¶
func (x *BlockUpdate) Reset()
func (*BlockUpdate) String ¶
func (x *BlockUpdate) String() string
type CompiledInstruction ¶
type CompiledInstruction struct { ProgramIdIndex uint32 `protobuf:"varint,1,opt,name=program_id_index,json=programIdIndex,proto3" json:"program_id_index,omitempty"` Accounts []byte `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*CompiledInstruction) Descriptor
deprecated
func (*CompiledInstruction) Descriptor() ([]byte, []int)
Deprecated: Use CompiledInstruction.ProtoReflect.Descriptor instead.
func (*CompiledInstruction) GetAccounts ¶
func (x *CompiledInstruction) GetAccounts() []byte
func (*CompiledInstruction) GetData ¶
func (x *CompiledInstruction) GetData() []byte
func (*CompiledInstruction) GetProgramIdIndex ¶
func (x *CompiledInstruction) GetProgramIdIndex() uint32
func (*CompiledInstruction) ProtoMessage ¶
func (*CompiledInstruction) ProtoMessage()
func (*CompiledInstruction) ProtoReflect ¶
func (x *CompiledInstruction) ProtoReflect() protoreflect.Message
func (*CompiledInstruction) Reset ¶
func (x *CompiledInstruction) Reset()
func (*CompiledInstruction) String ¶
func (x *CompiledInstruction) String() string
type ConfirmedBlock ¶
type ConfirmedBlock struct { PreviousBlockhash string `protobuf:"bytes,1,opt,name=previous_blockhash,json=previousBlockhash,proto3" json:"previous_blockhash,omitempty"` Blockhash string `protobuf:"bytes,2,opt,name=blockhash,proto3" json:"blockhash,omitempty"` ParentSlot uint64 `protobuf:"varint,3,opt,name=parent_slot,json=parentSlot,proto3" json:"parent_slot,omitempty"` Transactions []*ConfirmedTransaction `protobuf:"bytes,4,rep,name=transactions,proto3" json:"transactions,omitempty"` Rewards []*Reward `protobuf:"bytes,5,rep,name=rewards,proto3" json:"rewards,omitempty"` BlockTime *UnixTimestamp `protobuf:"bytes,6,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` BlockHeight *BlockHeight `protobuf:"bytes,7,opt,name=block_height,json=blockHeight,proto3" json:"block_height,omitempty"` NumPartitions *NumPartitions `protobuf:"bytes,8,opt,name=num_partitions,json=numPartitions,proto3" json:"num_partitions,omitempty"` // contains filtered or unexported fields }
func (*ConfirmedBlock) Descriptor
deprecated
func (*ConfirmedBlock) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmedBlock.ProtoReflect.Descriptor instead.
func (*ConfirmedBlock) GetBlockHeight ¶
func (x *ConfirmedBlock) GetBlockHeight() *BlockHeight
func (*ConfirmedBlock) GetBlockTime ¶
func (x *ConfirmedBlock) GetBlockTime() *UnixTimestamp
func (*ConfirmedBlock) GetBlockhash ¶
func (x *ConfirmedBlock) GetBlockhash() string
func (*ConfirmedBlock) GetNumPartitions ¶
func (x *ConfirmedBlock) GetNumPartitions() *NumPartitions
func (*ConfirmedBlock) GetParentSlot ¶
func (x *ConfirmedBlock) GetParentSlot() uint64
func (*ConfirmedBlock) GetPreviousBlockhash ¶
func (x *ConfirmedBlock) GetPreviousBlockhash() string
func (*ConfirmedBlock) GetRewards ¶
func (x *ConfirmedBlock) GetRewards() []*Reward
func (*ConfirmedBlock) GetTransactions ¶
func (x *ConfirmedBlock) GetTransactions() []*ConfirmedTransaction
func (*ConfirmedBlock) ProtoMessage ¶
func (*ConfirmedBlock) ProtoMessage()
func (*ConfirmedBlock) ProtoReflect ¶
func (x *ConfirmedBlock) ProtoReflect() protoreflect.Message
func (*ConfirmedBlock) Reset ¶
func (x *ConfirmedBlock) Reset()
func (*ConfirmedBlock) String ¶
func (x *ConfirmedBlock) String() string
type ConfirmedTransaction ¶
type ConfirmedTransaction struct { Transaction *Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` Meta *TransactionStatusMeta `protobuf:"bytes,2,opt,name=meta,proto3" json:"meta,omitempty"` // contains filtered or unexported fields }
func (*ConfirmedTransaction) Descriptor
deprecated
func (*ConfirmedTransaction) Descriptor() ([]byte, []int)
Deprecated: Use ConfirmedTransaction.ProtoReflect.Descriptor instead.
func (*ConfirmedTransaction) GetMeta ¶
func (x *ConfirmedTransaction) GetMeta() *TransactionStatusMeta
func (*ConfirmedTransaction) GetTransaction ¶
func (x *ConfirmedTransaction) GetTransaction() *Transaction
func (*ConfirmedTransaction) ProtoMessage ¶
func (*ConfirmedTransaction) ProtoMessage()
func (*ConfirmedTransaction) ProtoReflect ¶
func (x *ConfirmedTransaction) ProtoReflect() protoreflect.Message
func (*ConfirmedTransaction) Reset ¶
func (x *ConfirmedTransaction) Reset()
func (*ConfirmedTransaction) String ¶
func (x *ConfirmedTransaction) String() string
type CustomError ¶
type CustomError struct { Custom uint32 `protobuf:"varint,1,opt,name=custom,proto3" json:"custom,omitempty"` // contains filtered or unexported fields }
func (*CustomError) Descriptor
deprecated
func (*CustomError) Descriptor() ([]byte, []int)
Deprecated: Use CustomError.ProtoReflect.Descriptor instead.
func (*CustomError) GetCustom ¶
func (x *CustomError) GetCustom() uint32
func (*CustomError) ProtoMessage ¶
func (*CustomError) ProtoMessage()
func (*CustomError) ProtoReflect ¶
func (x *CustomError) ProtoReflect() protoreflect.Message
func (*CustomError) Reset ¶
func (x *CustomError) Reset()
func (*CustomError) String ¶
func (x *CustomError) String() string
type EmptyRequest ¶
type EmptyRequest struct {
// contains filtered or unexported fields
}
func (*EmptyRequest) Descriptor
deprecated
func (*EmptyRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmptyRequest.ProtoReflect.Descriptor instead.
func (*EmptyRequest) ProtoMessage ¶
func (*EmptyRequest) ProtoMessage()
func (*EmptyRequest) ProtoReflect ¶
func (x *EmptyRequest) ProtoReflect() protoreflect.Message
func (*EmptyRequest) Reset ¶
func (x *EmptyRequest) Reset()
func (*EmptyRequest) String ¶
func (x *EmptyRequest) String() string
type Entries ¶
type Entries struct { Entries []*Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // contains filtered or unexported fields }
func (*Entries) Descriptor
deprecated
func (*Entries) GetEntries ¶
func (*Entries) ProtoMessage ¶
func (*Entries) ProtoMessage()
func (*Entries) ProtoReflect ¶
func (x *Entries) ProtoReflect() protoreflect.Message
type Entry ¶
type Entry struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` NumHashes uint64 `protobuf:"varint,2,opt,name=num_hashes,json=numHashes,proto3" json:"num_hashes,omitempty"` Hash []byte `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"` NumTransactions uint64 `protobuf:"varint,4,opt,name=num_transactions,json=numTransactions,proto3" json:"num_transactions,omitempty"` StartingTransactionIndex uint32 `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Entry) Descriptor
deprecated
func (*Entry) GetNumHashes ¶
func (*Entry) GetNumTransactions ¶
func (*Entry) GetStartingTransactionIndex ¶
func (*Entry) ProtoMessage ¶
func (*Entry) ProtoMessage()
func (*Entry) ProtoReflect ¶
func (x *Entry) ProtoReflect() protoreflect.Message
type GetHeartbeatIntervalResponse ¶
type GetHeartbeatIntervalResponse struct { HeartbeatIntervalMs uint64 `protobuf:"varint,1,opt,name=heartbeat_interval_ms,json=heartbeatIntervalMs,proto3" json:"heartbeat_interval_ms,omitempty"` // contains filtered or unexported fields }
func (*GetHeartbeatIntervalResponse) Descriptor
deprecated
func (*GetHeartbeatIntervalResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetHeartbeatIntervalResponse.ProtoReflect.Descriptor instead.
func (*GetHeartbeatIntervalResponse) GetHeartbeatIntervalMs ¶
func (x *GetHeartbeatIntervalResponse) GetHeartbeatIntervalMs() uint64
func (*GetHeartbeatIntervalResponse) ProtoMessage ¶
func (*GetHeartbeatIntervalResponse) ProtoMessage()
func (*GetHeartbeatIntervalResponse) ProtoReflect ¶
func (x *GetHeartbeatIntervalResponse) ProtoReflect() protoreflect.Message
func (*GetHeartbeatIntervalResponse) Reset ¶
func (x *GetHeartbeatIntervalResponse) Reset()
func (*GetHeartbeatIntervalResponse) String ¶
func (x *GetHeartbeatIntervalResponse) String() string
type GeyserClient ¶
type GeyserClient interface { // Invoke to get the expected heartbeat interval. GetHeartbeatInterval(ctx context.Context, in *EmptyRequest, opts ...grpc.CallOption) (*GetHeartbeatIntervalResponse, error) // Subscribes to account updates in the accounts database; additionally pings clients with empty heartbeats. // Upon initially connecting the client can expect a `highest_write_slot` set in the http headers. // Subscribe to account updates SubscribeAccountUpdates(ctx context.Context, in *SubscribeAccountUpdatesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedAccountUpdate], error) // Subscribes to updates given a list of program IDs. When an account update comes in that's owned by a provided // program id, one will receive an update SubscribeProgramUpdates(ctx context.Context, in *SubscribeProgramsUpdatesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedAccountUpdate], error) // Functions similarly to `SubscribeAccountUpdates`, but consumes less bandwidth. // Returns the highest slot seen thus far in the http headers named `highest-write-slot`. SubscribePartialAccountUpdates(ctx context.Context, in *SubscribePartialAccountUpdatesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[MaybePartialAccountUpdate], error) // Subscribes to slot updates. // Returns the highest slot seen thus far in the http headers named `highest-write-slot`. SubscribeSlotUpdates(ctx context.Context, in *SubscribeSlotUpdateRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedSlotUpdate], error) // Subscribes to transaction updates. SubscribeTransactionUpdates(ctx context.Context, in *SubscribeTransactionUpdatesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedTransactionUpdate], error) // Subscribes to block updates. SubscribeBlockUpdates(ctx context.Context, in *SubscribeBlockUpdatesRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedBlockUpdate], error) // Subscribes to entry updates. // Returns the highest slot seen thus far and the entry index corresponding to the tick SubscribeSlotEntryUpdates(ctx context.Context, in *SubscribeSlotEntryUpdateRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[TimestampedSlotEntryUpdate], error) }
GeyserClient is the client API for Geyser service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
The following __must__ be assumed:
- Clients may receive data for slots out of order.
- Clients may receive account updates for a given slot out of order.
func NewGeyserClient ¶
func NewGeyserClient(cc grpc.ClientConnInterface) GeyserClient
type GeyserServer ¶
type GeyserServer interface { // Invoke to get the expected heartbeat interval. GetHeartbeatInterval(context.Context, *EmptyRequest) (*GetHeartbeatIntervalResponse, error) // Subscribes to account updates in the accounts database; additionally pings clients with empty heartbeats. // Upon initially connecting the client can expect a `highest_write_slot` set in the http headers. // Subscribe to account updates SubscribeAccountUpdates(*SubscribeAccountUpdatesRequest, grpc.ServerStreamingServer[TimestampedAccountUpdate]) error // Subscribes to updates given a list of program IDs. When an account update comes in that's owned by a provided // program id, one will receive an update SubscribeProgramUpdates(*SubscribeProgramsUpdatesRequest, grpc.ServerStreamingServer[TimestampedAccountUpdate]) error // Functions similarly to `SubscribeAccountUpdates`, but consumes less bandwidth. // Returns the highest slot seen thus far in the http headers named `highest-write-slot`. SubscribePartialAccountUpdates(*SubscribePartialAccountUpdatesRequest, grpc.ServerStreamingServer[MaybePartialAccountUpdate]) error // Subscribes to slot updates. // Returns the highest slot seen thus far in the http headers named `highest-write-slot`. SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, grpc.ServerStreamingServer[TimestampedSlotUpdate]) error // Subscribes to transaction updates. SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, grpc.ServerStreamingServer[TimestampedTransactionUpdate]) error // Subscribes to block updates. SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, grpc.ServerStreamingServer[TimestampedBlockUpdate]) error // Subscribes to entry updates. // Returns the highest slot seen thus far and the entry index corresponding to the tick SubscribeSlotEntryUpdates(*SubscribeSlotEntryUpdateRequest, grpc.ServerStreamingServer[TimestampedSlotEntryUpdate]) error // contains filtered or unexported methods }
GeyserServer is the server API for Geyser service. All implementations must embed UnimplementedGeyserServer for forward compatibility.
The following __must__ be assumed:
- Clients may receive data for slots out of order.
- Clients may receive account updates for a given slot out of order.
type Geyser_SubscribeAccountUpdatesClient ¶
type Geyser_SubscribeAccountUpdatesClient = grpc.ServerStreamingClient[TimestampedAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeAccountUpdatesServer ¶
type Geyser_SubscribeAccountUpdatesServer = grpc.ServerStreamingServer[TimestampedAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeBlockUpdatesClient ¶
type Geyser_SubscribeBlockUpdatesClient = grpc.ServerStreamingClient[TimestampedBlockUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeBlockUpdatesServer ¶
type Geyser_SubscribeBlockUpdatesServer = grpc.ServerStreamingServer[TimestampedBlockUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribePartialAccountUpdatesClient ¶
type Geyser_SubscribePartialAccountUpdatesClient = grpc.ServerStreamingClient[MaybePartialAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribePartialAccountUpdatesServer ¶
type Geyser_SubscribePartialAccountUpdatesServer = grpc.ServerStreamingServer[MaybePartialAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeProgramUpdatesClient ¶
type Geyser_SubscribeProgramUpdatesClient = grpc.ServerStreamingClient[TimestampedAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeProgramUpdatesServer ¶
type Geyser_SubscribeProgramUpdatesServer = grpc.ServerStreamingServer[TimestampedAccountUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeSlotEntryUpdatesClient ¶
type Geyser_SubscribeSlotEntryUpdatesClient = grpc.ServerStreamingClient[TimestampedSlotEntryUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeSlotEntryUpdatesServer ¶
type Geyser_SubscribeSlotEntryUpdatesServer = grpc.ServerStreamingServer[TimestampedSlotEntryUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeSlotUpdatesClient ¶
type Geyser_SubscribeSlotUpdatesClient = grpc.ServerStreamingClient[TimestampedSlotUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeSlotUpdatesServer ¶
type Geyser_SubscribeSlotUpdatesServer = grpc.ServerStreamingServer[TimestampedSlotUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeTransactionUpdatesClient ¶
type Geyser_SubscribeTransactionUpdatesClient = grpc.ServerStreamingClient[TimestampedTransactionUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Geyser_SubscribeTransactionUpdatesServer ¶
type Geyser_SubscribeTransactionUpdatesServer = grpc.ServerStreamingServer[TimestampedTransactionUpdate]
This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.
type Heartbeat ¶
type Heartbeat struct {
// contains filtered or unexported fields
}
func (*Heartbeat) Descriptor
deprecated
func (*Heartbeat) ProtoMessage ¶
func (*Heartbeat) ProtoMessage()
func (*Heartbeat) ProtoReflect ¶
func (x *Heartbeat) ProtoReflect() protoreflect.Message
type InnerInstruction ¶
type InnerInstruction struct { ProgramIdIndex uint32 `protobuf:"varint,1,opt,name=program_id_index,json=programIdIndex,proto3" json:"program_id_index,omitempty"` Accounts []byte `protobuf:"bytes,2,opt,name=accounts,proto3" json:"accounts,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` // Invocation stack height of an inner instruction. // Available since Solana v1.14.6 // Set to `None` for txs executed on earlier versions. StackHeight *uint32 `protobuf:"varint,4,opt,name=stack_height,json=stackHeight,proto3,oneof" json:"stack_height,omitempty"` // contains filtered or unexported fields }
func (*InnerInstruction) Descriptor
deprecated
func (*InnerInstruction) Descriptor() ([]byte, []int)
Deprecated: Use InnerInstruction.ProtoReflect.Descriptor instead.
func (*InnerInstruction) GetAccounts ¶
func (x *InnerInstruction) GetAccounts() []byte
func (*InnerInstruction) GetData ¶
func (x *InnerInstruction) GetData() []byte
func (*InnerInstruction) GetProgramIdIndex ¶
func (x *InnerInstruction) GetProgramIdIndex() uint32
func (*InnerInstruction) GetStackHeight ¶
func (x *InnerInstruction) GetStackHeight() uint32
func (*InnerInstruction) ProtoMessage ¶
func (*InnerInstruction) ProtoMessage()
func (*InnerInstruction) ProtoReflect ¶
func (x *InnerInstruction) ProtoReflect() protoreflect.Message
func (*InnerInstruction) Reset ¶
func (x *InnerInstruction) Reset()
func (*InnerInstruction) String ¶
func (x *InnerInstruction) String() string
type InnerInstructions ¶
type InnerInstructions struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Instructions []*InnerInstruction `protobuf:"bytes,2,rep,name=instructions,proto3" json:"instructions,omitempty"` // contains filtered or unexported fields }
func (*InnerInstructions) Descriptor
deprecated
func (*InnerInstructions) Descriptor() ([]byte, []int)
Deprecated: Use InnerInstructions.ProtoReflect.Descriptor instead.
func (*InnerInstructions) GetIndex ¶
func (x *InnerInstructions) GetIndex() uint32
func (*InnerInstructions) GetInstructions ¶
func (x *InnerInstructions) GetInstructions() []*InnerInstruction
func (*InnerInstructions) ProtoMessage ¶
func (*InnerInstructions) ProtoMessage()
func (*InnerInstructions) ProtoReflect ¶
func (x *InnerInstructions) ProtoReflect() protoreflect.Message
func (*InnerInstructions) Reset ¶
func (x *InnerInstructions) Reset()
func (*InnerInstructions) String ¶
func (x *InnerInstructions) String() string
type InstructionError ¶
type InstructionError struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Error InstructionErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=solana.storage.TransactionByAddr.InstructionErrorType" json:"error,omitempty"` Custom *CustomError `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"` // contains filtered or unexported fields }
func (*InstructionError) Descriptor
deprecated
func (*InstructionError) Descriptor() ([]byte, []int)
Deprecated: Use InstructionError.ProtoReflect.Descriptor instead.
func (*InstructionError) GetCustom ¶
func (x *InstructionError) GetCustom() *CustomError
func (*InstructionError) GetError ¶
func (x *InstructionError) GetError() InstructionErrorType
func (*InstructionError) GetIndex ¶
func (x *InstructionError) GetIndex() uint32
func (*InstructionError) ProtoMessage ¶
func (*InstructionError) ProtoMessage()
func (*InstructionError) ProtoReflect ¶
func (x *InstructionError) ProtoReflect() protoreflect.Message
func (*InstructionError) Reset ¶
func (x *InstructionError) Reset()
func (*InstructionError) String ¶
func (x *InstructionError) String() string
type InstructionErrorType ¶
type InstructionErrorType int32
const ( InstructionErrorType_GENERIC_ERROR InstructionErrorType = 0 InstructionErrorType_INVALID_ARGUMENT InstructionErrorType = 1 InstructionErrorType_INVALID_INSTRUCTION_DATA InstructionErrorType = 2 InstructionErrorType_INVALID_ACCOUNT_DATA InstructionErrorType = 3 InstructionErrorType_ACCOUNT_DATA_TOO_SMALL InstructionErrorType = 4 InstructionErrorType_INSUFFICIENT_FUNDS InstructionErrorType = 5 InstructionErrorType_INCORRECT_PROGRAM_ID InstructionErrorType = 6 InstructionErrorType_MISSING_REQUIRED_SIGNATURE InstructionErrorType = 7 InstructionErrorType_ACCOUNT_ALREADY_INITIALIZED InstructionErrorType = 8 InstructionErrorType_UNINITIALIZED_ACCOUNT InstructionErrorType = 9 InstructionErrorType_UNBALANCED_INSTRUCTION InstructionErrorType = 10 InstructionErrorType_MODIFIED_PROGRAM_ID InstructionErrorType = 11 InstructionErrorType_EXTERNAL_ACCOUNT_LAMPORT_SPEND InstructionErrorType = 12 InstructionErrorType_EXTERNAL_ACCOUNT_DATA_MODIFIED InstructionErrorType = 13 InstructionErrorType_READONLY_LAMPORT_CHANGE InstructionErrorType = 14 InstructionErrorType_READONLY_DATA_MODIFIED InstructionErrorType = 15 InstructionErrorType_DUPLICATE_ACCOUNT_INDEX InstructionErrorType = 16 InstructionErrorType_EXECUTABLE_MODIFIED InstructionErrorType = 17 InstructionErrorType_RENT_EPOCH_MODIFIED InstructionErrorType = 18 InstructionErrorType_NOT_ENOUGH_ACCOUNT_KEYS InstructionErrorType = 19 InstructionErrorType_ACCOUNT_DATA_SIZE_CHANGED InstructionErrorType = 20 InstructionErrorType_ACCOUNT_NOT_EXECUTABLE InstructionErrorType = 21 InstructionErrorType_ACCOUNT_BORROW_FAILED InstructionErrorType = 22 InstructionErrorType_ACCOUNT_BORROW_OUTSTANDING InstructionErrorType = 23 InstructionErrorType_DUPLICATE_ACCOUNT_OUT_OF_SYNC InstructionErrorType = 24 InstructionErrorType_CUSTOM InstructionErrorType = 25 InstructionErrorType_INVALID_ERROR InstructionErrorType = 26 InstructionErrorType_EXECUTABLE_DATA_MODIFIED InstructionErrorType = 27 InstructionErrorType_EXECUTABLE_LAMPORT_CHANGE InstructionErrorType = 28 InstructionErrorType_EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT InstructionErrorType = 29 InstructionErrorType_UNSUPPORTED_PROGRAM_ID InstructionErrorType = 30 InstructionErrorType_CALL_DEPTH InstructionErrorType = 31 InstructionErrorType_MISSING_ACCOUNT InstructionErrorType = 32 InstructionErrorType_REENTRANCY_NOT_ALLOWED InstructionErrorType = 33 InstructionErrorType_MAX_SEED_LENGTH_EXCEEDED InstructionErrorType = 34 InstructionErrorType_INVALID_SEEDS InstructionErrorType = 35 InstructionErrorType_INVALID_REALLOC InstructionErrorType = 36 InstructionErrorType_COMPUTATIONAL_BUDGET_EXCEEDED InstructionErrorType = 37 InstructionErrorType_PRIVILEGE_ESCALATION InstructionErrorType = 38 InstructionErrorType_PROGRAM_ENVIRONMENT_SETUP_FAILURE InstructionErrorType = 39 InstructionErrorType_PROGRAM_FAILED_TO_COMPLETE InstructionErrorType = 40 InstructionErrorType_PROGRAM_FAILED_TO_COMPILE InstructionErrorType = 41 InstructionErrorType_IMMUTABLE InstructionErrorType = 42 InstructionErrorType_INCORRECT_AUTHORITY InstructionErrorType = 43 InstructionErrorType_BORSH_IO_ERROR InstructionErrorType = 44 InstructionErrorType_ACCOUNT_NOT_RENT_EXEMPT InstructionErrorType = 45 InstructionErrorType_INVALID_ACCOUNT_OWNER InstructionErrorType = 46 InstructionErrorType_ARITHMETIC_OVERFLOW InstructionErrorType = 47 InstructionErrorType_UNSUPPORTED_SYSVAR InstructionErrorType = 48 InstructionErrorType_ILLEGAL_OWNER InstructionErrorType = 49 InstructionErrorType_MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED InstructionErrorType = 50 InstructionErrorType_MAX_ACCOUNTS_EXCEEDED InstructionErrorType = 51 InstructionErrorType_MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED InstructionErrorType = 52 InstructionErrorType_BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS InstructionErrorType = 53 )
func (InstructionErrorType) Descriptor ¶
func (InstructionErrorType) Descriptor() protoreflect.EnumDescriptor
func (InstructionErrorType) Enum ¶
func (x InstructionErrorType) Enum() *InstructionErrorType
func (InstructionErrorType) EnumDescriptor
deprecated
func (InstructionErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use InstructionErrorType.Descriptor instead.
func (InstructionErrorType) Number ¶
func (x InstructionErrorType) Number() protoreflect.EnumNumber
func (InstructionErrorType) String ¶
func (x InstructionErrorType) String() string
func (InstructionErrorType) Type ¶
func (InstructionErrorType) Type() protoreflect.EnumType
type MaybePartialAccountUpdate ¶
type MaybePartialAccountUpdate struct { // Types that are assignable to Msg: // // *MaybePartialAccountUpdate_PartialAccountUpdate // *MaybePartialAccountUpdate_Hb Msg isMaybePartialAccountUpdate_Msg `protobuf_oneof:"msg"` // contains filtered or unexported fields }
func (*MaybePartialAccountUpdate) Descriptor
deprecated
func (*MaybePartialAccountUpdate) Descriptor() ([]byte, []int)
Deprecated: Use MaybePartialAccountUpdate.ProtoReflect.Descriptor instead.
func (*MaybePartialAccountUpdate) GetHb ¶
func (x *MaybePartialAccountUpdate) GetHb() *Heartbeat
func (*MaybePartialAccountUpdate) GetMsg ¶
func (m *MaybePartialAccountUpdate) GetMsg() isMaybePartialAccountUpdate_Msg
func (*MaybePartialAccountUpdate) GetPartialAccountUpdate ¶
func (x *MaybePartialAccountUpdate) GetPartialAccountUpdate() *PartialAccountUpdate
func (*MaybePartialAccountUpdate) ProtoMessage ¶
func (*MaybePartialAccountUpdate) ProtoMessage()
func (*MaybePartialAccountUpdate) ProtoReflect ¶
func (x *MaybePartialAccountUpdate) ProtoReflect() protoreflect.Message
func (*MaybePartialAccountUpdate) Reset ¶
func (x *MaybePartialAccountUpdate) Reset()
func (*MaybePartialAccountUpdate) String ¶
func (x *MaybePartialAccountUpdate) String() string
type MaybePartialAccountUpdate_Hb ¶
type MaybePartialAccountUpdate_Hb struct {
Hb *Heartbeat `protobuf:"bytes,2,opt,name=hb,proto3,oneof"`
}
type MaybePartialAccountUpdate_PartialAccountUpdate ¶
type MaybePartialAccountUpdate_PartialAccountUpdate struct {
PartialAccountUpdate *PartialAccountUpdate `protobuf:"bytes,1,opt,name=partial_account_update,json=partialAccountUpdate,proto3,oneof"`
}
type Memo ¶
type Memo struct { Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"` // contains filtered or unexported fields }
func (*Memo) Descriptor
deprecated
func (*Memo) ProtoMessage ¶
func (*Memo) ProtoMessage()
func (*Memo) ProtoReflect ¶
func (x *Memo) ProtoReflect() protoreflect.Message
type Message ¶
type Message struct { Header *MessageHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` AccountKeys [][]byte `protobuf:"bytes,2,rep,name=account_keys,json=accountKeys,proto3" json:"account_keys,omitempty"` RecentBlockhash []byte `protobuf:"bytes,3,opt,name=recent_blockhash,json=recentBlockhash,proto3" json:"recent_blockhash,omitempty"` Instructions []*CompiledInstruction `protobuf:"bytes,4,rep,name=instructions,proto3" json:"instructions,omitempty"` Versioned bool `protobuf:"varint,5,opt,name=versioned,proto3" json:"versioned,omitempty"` AddressTableLookups []*MessageAddressTableLookup `protobuf:"bytes,6,rep,name=address_table_lookups,json=addressTableLookups,proto3" json:"address_table_lookups,omitempty"` // contains filtered or unexported fields }
func (*Message) Descriptor
deprecated
func (*Message) GetAccountKeys ¶
func (*Message) GetAddressTableLookups ¶
func (x *Message) GetAddressTableLookups() []*MessageAddressTableLookup
func (*Message) GetHeader ¶
func (x *Message) GetHeader() *MessageHeader
func (*Message) GetInstructions ¶
func (x *Message) GetInstructions() []*CompiledInstruction
func (*Message) GetRecentBlockhash ¶
func (*Message) GetVersioned ¶
func (*Message) ProtoMessage ¶
func (*Message) ProtoMessage()
func (*Message) ProtoReflect ¶
func (x *Message) ProtoReflect() protoreflect.Message
type MessageAddressTableLookup ¶
type MessageAddressTableLookup struct { AccountKey []byte `protobuf:"bytes,1,opt,name=account_key,json=accountKey,proto3" json:"account_key,omitempty"` WritableIndexes []byte `protobuf:"bytes,2,opt,name=writable_indexes,json=writableIndexes,proto3" json:"writable_indexes,omitempty"` ReadonlyIndexes []byte `protobuf:"bytes,3,opt,name=readonly_indexes,json=readonlyIndexes,proto3" json:"readonly_indexes,omitempty"` // contains filtered or unexported fields }
func (*MessageAddressTableLookup) Descriptor
deprecated
func (*MessageAddressTableLookup) Descriptor() ([]byte, []int)
Deprecated: Use MessageAddressTableLookup.ProtoReflect.Descriptor instead.
func (*MessageAddressTableLookup) GetAccountKey ¶
func (x *MessageAddressTableLookup) GetAccountKey() []byte
func (*MessageAddressTableLookup) GetReadonlyIndexes ¶
func (x *MessageAddressTableLookup) GetReadonlyIndexes() []byte
func (*MessageAddressTableLookup) GetWritableIndexes ¶
func (x *MessageAddressTableLookup) GetWritableIndexes() []byte
func (*MessageAddressTableLookup) ProtoMessage ¶
func (*MessageAddressTableLookup) ProtoMessage()
func (*MessageAddressTableLookup) ProtoReflect ¶
func (x *MessageAddressTableLookup) ProtoReflect() protoreflect.Message
func (*MessageAddressTableLookup) Reset ¶
func (x *MessageAddressTableLookup) Reset()
func (*MessageAddressTableLookup) String ¶
func (x *MessageAddressTableLookup) String() string
type MessageHeader ¶
type MessageHeader struct { NumRequiredSignatures uint32 `` /* 127-byte string literal not displayed */ NumReadonlySignedAccounts uint32 `` /* 141-byte string literal not displayed */ NumReadonlyUnsignedAccounts uint32 `` /* 147-byte string literal not displayed */ // contains filtered or unexported fields }
func (*MessageHeader) Descriptor
deprecated
func (*MessageHeader) Descriptor() ([]byte, []int)
Deprecated: Use MessageHeader.ProtoReflect.Descriptor instead.
func (*MessageHeader) GetNumReadonlySignedAccounts ¶
func (x *MessageHeader) GetNumReadonlySignedAccounts() uint32
func (*MessageHeader) GetNumReadonlyUnsignedAccounts ¶
func (x *MessageHeader) GetNumReadonlyUnsignedAccounts() uint32
func (*MessageHeader) GetNumRequiredSignatures ¶
func (x *MessageHeader) GetNumRequiredSignatures() uint32
func (*MessageHeader) ProtoMessage ¶
func (*MessageHeader) ProtoMessage()
func (*MessageHeader) ProtoReflect ¶
func (x *MessageHeader) ProtoReflect() protoreflect.Message
func (*MessageHeader) Reset ¶
func (x *MessageHeader) Reset()
func (*MessageHeader) String ¶
func (x *MessageHeader) String() string
type NumPartitions ¶
type NumPartitions struct { NumPartitions uint64 `protobuf:"varint,1,opt,name=num_partitions,json=numPartitions,proto3" json:"num_partitions,omitempty"` // contains filtered or unexported fields }
func (*NumPartitions) Descriptor
deprecated
func (*NumPartitions) Descriptor() ([]byte, []int)
Deprecated: Use NumPartitions.ProtoReflect.Descriptor instead.
func (*NumPartitions) GetNumPartitions ¶
func (x *NumPartitions) GetNumPartitions() uint64
func (*NumPartitions) ProtoMessage ¶
func (*NumPartitions) ProtoMessage()
func (*NumPartitions) ProtoReflect ¶
func (x *NumPartitions) ProtoReflect() protoreflect.Message
func (*NumPartitions) Reset ¶
func (x *NumPartitions) Reset()
func (*NumPartitions) String ¶
func (x *NumPartitions) String() string
type PartialAccountUpdate ¶
type PartialAccountUpdate struct { // Slot this update occurred. Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // Account's pubkey. Pubkey []byte `protobuf:"bytes,2,opt,name=pubkey,proto3" json:"pubkey,omitempty"` // Account's owner. Owner []byte `protobuf:"bytes,3,opt,name=owner,proto3" json:"owner,omitempty"` // Flags whether this update was streamed as part of startup, hence not a realtime update. IsStartup bool `protobuf:"varint,4,opt,name=is_startup,json=isStartup,proto3" json:"is_startup,omitempty"` // A monotonically increasing number specifying the order of this update. // Can be used to determine what the latest update for an account was at // a given slot, assuming there were multiple updates. Seq uint64 `protobuf:"varint,5,opt,name=seq,proto3" json:"seq,omitempty"` // Transaction signature that caused this update. TxSignature *string `protobuf:"bytes,6,opt,name=tx_signature,json=txSignature,proto3,oneof" json:"tx_signature,omitempty"` // AccountReplica version. ReplicaVersion uint32 `protobuf:"varint,7,opt,name=replica_version,json=replicaVersion,proto3" json:"replica_version,omitempty"` // contains filtered or unexported fields }
func (*PartialAccountUpdate) Descriptor
deprecated
func (*PartialAccountUpdate) Descriptor() ([]byte, []int)
Deprecated: Use PartialAccountUpdate.ProtoReflect.Descriptor instead.
func (*PartialAccountUpdate) GetIsStartup ¶
func (x *PartialAccountUpdate) GetIsStartup() bool
func (*PartialAccountUpdate) GetOwner ¶
func (x *PartialAccountUpdate) GetOwner() []byte
func (*PartialAccountUpdate) GetPubkey ¶
func (x *PartialAccountUpdate) GetPubkey() []byte
func (*PartialAccountUpdate) GetReplicaVersion ¶
func (x *PartialAccountUpdate) GetReplicaVersion() uint32
func (*PartialAccountUpdate) GetSeq ¶
func (x *PartialAccountUpdate) GetSeq() uint64
func (*PartialAccountUpdate) GetSlot ¶
func (x *PartialAccountUpdate) GetSlot() uint64
func (*PartialAccountUpdate) GetTxSignature ¶
func (x *PartialAccountUpdate) GetTxSignature() string
func (*PartialAccountUpdate) ProtoMessage ¶
func (*PartialAccountUpdate) ProtoMessage()
func (*PartialAccountUpdate) ProtoReflect ¶
func (x *PartialAccountUpdate) ProtoReflect() protoreflect.Message
func (*PartialAccountUpdate) Reset ¶
func (x *PartialAccountUpdate) Reset()
func (*PartialAccountUpdate) String ¶
func (x *PartialAccountUpdate) String() string
type ReturnData ¶
type ReturnData struct { ProgramId []byte `protobuf:"bytes,1,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"` Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // contains filtered or unexported fields }
func (*ReturnData) Descriptor
deprecated
func (*ReturnData) Descriptor() ([]byte, []int)
Deprecated: Use ReturnData.ProtoReflect.Descriptor instead.
func (*ReturnData) GetData ¶
func (x *ReturnData) GetData() []byte
func (*ReturnData) GetProgramId ¶
func (x *ReturnData) GetProgramId() []byte
func (*ReturnData) ProtoMessage ¶
func (*ReturnData) ProtoMessage()
func (*ReturnData) ProtoReflect ¶
func (x *ReturnData) ProtoReflect() protoreflect.Message
func (*ReturnData) Reset ¶
func (x *ReturnData) Reset()
func (*ReturnData) String ¶
func (x *ReturnData) String() string
type Reward ¶
type Reward struct { Pubkey string `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"` Lamports int64 `protobuf:"varint,2,opt,name=lamports,proto3" json:"lamports,omitempty"` PostBalance uint64 `protobuf:"varint,3,opt,name=post_balance,json=postBalance,proto3" json:"post_balance,omitempty"` RewardType RewardType `` /* 138-byte string literal not displayed */ Commission string `protobuf:"bytes,5,opt,name=commission,proto3" json:"commission,omitempty"` // contains filtered or unexported fields }
func (*Reward) Descriptor
deprecated
func (*Reward) GetCommission ¶
func (*Reward) GetLamports ¶
func (*Reward) GetPostBalance ¶
func (*Reward) GetRewardType ¶
func (x *Reward) GetRewardType() RewardType
func (*Reward) ProtoMessage ¶
func (*Reward) ProtoMessage()
func (*Reward) ProtoReflect ¶
func (x *Reward) ProtoReflect() protoreflect.Message
type RewardType ¶
type RewardType int32
const ( RewardType_Unspecified RewardType = 0 RewardType_Fee RewardType = 1 RewardType_Rent RewardType = 2 RewardType_Staking RewardType = 3 RewardType_Voting RewardType = 4 )
func (RewardType) Descriptor ¶
func (RewardType) Descriptor() protoreflect.EnumDescriptor
func (RewardType) Enum ¶
func (x RewardType) Enum() *RewardType
func (RewardType) EnumDescriptor
deprecated
func (RewardType) EnumDescriptor() ([]byte, []int)
Deprecated: Use RewardType.Descriptor instead.
func (RewardType) Number ¶
func (x RewardType) Number() protoreflect.EnumNumber
func (RewardType) String ¶
func (x RewardType) String() string
func (RewardType) Type ¶
func (RewardType) Type() protoreflect.EnumType
type Rewards ¶
type Rewards struct { Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` NumPartitions *NumPartitions `protobuf:"bytes,2,opt,name=num_partitions,json=numPartitions,proto3" json:"num_partitions,omitempty"` // contains filtered or unexported fields }
func (*Rewards) Descriptor
deprecated
func (*Rewards) GetNumPartitions ¶
func (x *Rewards) GetNumPartitions() *NumPartitions
func (*Rewards) GetRewards ¶
func (*Rewards) ProtoMessage ¶
func (*Rewards) ProtoMessage()
func (*Rewards) ProtoReflect ¶
func (x *Rewards) ProtoReflect() protoreflect.Message
type SlotEntryUpdate ¶
type SlotEntryUpdate struct { // The slot number of the block containing this Entry Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` // The Entry's index in the block Index uint64 `protobuf:"varint,2,opt,name=index,proto3" json:"index,omitempty"` // The number of executed transactions in the Entry // If this number is zero, we can assume its a tick entry ExecutedTransactionCount uint64 `` /* 136-byte string literal not displayed */ // contains filtered or unexported fields }
/ Modelled based off of https://github.com/solana-labs/solana/blob/v2.0/geyser-plugin-interface/src/geyser_plugin_interface.rs#L210 / If more details are needed can extend this structure.
func (*SlotEntryUpdate) Descriptor
deprecated
func (*SlotEntryUpdate) Descriptor() ([]byte, []int)
Deprecated: Use SlotEntryUpdate.ProtoReflect.Descriptor instead.
func (*SlotEntryUpdate) GetExecutedTransactionCount ¶
func (x *SlotEntryUpdate) GetExecutedTransactionCount() uint64
func (*SlotEntryUpdate) GetIndex ¶
func (x *SlotEntryUpdate) GetIndex() uint64
func (*SlotEntryUpdate) GetSlot ¶
func (x *SlotEntryUpdate) GetSlot() uint64
func (*SlotEntryUpdate) ProtoMessage ¶
func (*SlotEntryUpdate) ProtoMessage()
func (*SlotEntryUpdate) ProtoReflect ¶
func (x *SlotEntryUpdate) ProtoReflect() protoreflect.Message
func (*SlotEntryUpdate) Reset ¶
func (x *SlotEntryUpdate) Reset()
func (*SlotEntryUpdate) String ¶
func (x *SlotEntryUpdate) String() string
type SlotUpdate ¶
type SlotUpdate struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` ParentSlot *uint64 `protobuf:"varint,2,opt,name=parent_slot,json=parentSlot,proto3,oneof" json:"parent_slot,omitempty"` Status SlotUpdateStatus `protobuf:"varint,3,opt,name=status,proto3,enum=solana.geyser.SlotUpdateStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*SlotUpdate) Descriptor
deprecated
func (*SlotUpdate) Descriptor() ([]byte, []int)
Deprecated: Use SlotUpdate.ProtoReflect.Descriptor instead.
func (*SlotUpdate) GetParentSlot ¶
func (x *SlotUpdate) GetParentSlot() uint64
func (*SlotUpdate) GetSlot ¶
func (x *SlotUpdate) GetSlot() uint64
func (*SlotUpdate) GetStatus ¶
func (x *SlotUpdate) GetStatus() SlotUpdateStatus
func (*SlotUpdate) ProtoMessage ¶
func (*SlotUpdate) ProtoMessage()
func (*SlotUpdate) ProtoReflect ¶
func (x *SlotUpdate) ProtoReflect() protoreflect.Message
func (*SlotUpdate) Reset ¶
func (x *SlotUpdate) Reset()
func (*SlotUpdate) String ¶
func (x *SlotUpdate) String() string
type SlotUpdateStatus ¶
type SlotUpdateStatus int32
const ( SlotUpdateStatus_CONFIRMED SlotUpdateStatus = 0 SlotUpdateStatus_PROCESSED SlotUpdateStatus = 1 SlotUpdateStatus_ROOTED SlotUpdateStatus = 2 )
func (SlotUpdateStatus) Descriptor ¶
func (SlotUpdateStatus) Descriptor() protoreflect.EnumDescriptor
func (SlotUpdateStatus) Enum ¶
func (x SlotUpdateStatus) Enum() *SlotUpdateStatus
func (SlotUpdateStatus) EnumDescriptor
deprecated
func (SlotUpdateStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use SlotUpdateStatus.Descriptor instead.
func (SlotUpdateStatus) Number ¶
func (x SlotUpdateStatus) Number() protoreflect.EnumNumber
func (SlotUpdateStatus) String ¶
func (x SlotUpdateStatus) String() string
func (SlotUpdateStatus) Type ¶
func (SlotUpdateStatus) Type() protoreflect.EnumType
type SubscribeAccountUpdatesRequest ¶
type SubscribeAccountUpdatesRequest struct { Accounts [][]byte `protobuf:"bytes,1,rep,name=accounts,proto3" json:"accounts,omitempty"` // contains filtered or unexported fields }
func (*SubscribeAccountUpdatesRequest) Descriptor
deprecated
func (*SubscribeAccountUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeAccountUpdatesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeAccountUpdatesRequest) GetAccounts ¶
func (x *SubscribeAccountUpdatesRequest) GetAccounts() [][]byte
func (*SubscribeAccountUpdatesRequest) ProtoMessage ¶
func (*SubscribeAccountUpdatesRequest) ProtoMessage()
func (*SubscribeAccountUpdatesRequest) ProtoReflect ¶
func (x *SubscribeAccountUpdatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeAccountUpdatesRequest) Reset ¶
func (x *SubscribeAccountUpdatesRequest) Reset()
func (*SubscribeAccountUpdatesRequest) String ¶
func (x *SubscribeAccountUpdatesRequest) String() string
type SubscribeBlockUpdatesRequest ¶
type SubscribeBlockUpdatesRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeBlockUpdatesRequest) Descriptor
deprecated
func (*SubscribeBlockUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeBlockUpdatesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeBlockUpdatesRequest) ProtoMessage ¶
func (*SubscribeBlockUpdatesRequest) ProtoMessage()
func (*SubscribeBlockUpdatesRequest) ProtoReflect ¶
func (x *SubscribeBlockUpdatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeBlockUpdatesRequest) Reset ¶
func (x *SubscribeBlockUpdatesRequest) Reset()
func (*SubscribeBlockUpdatesRequest) String ¶
func (x *SubscribeBlockUpdatesRequest) String() string
type SubscribePartialAccountUpdatesRequest ¶
type SubscribePartialAccountUpdatesRequest struct { // If true, will not stream vote account updates. SkipVoteAccounts bool `protobuf:"varint,1,opt,name=skip_vote_accounts,json=skipVoteAccounts,proto3" json:"skip_vote_accounts,omitempty"` // contains filtered or unexported fields }
func (*SubscribePartialAccountUpdatesRequest) Descriptor
deprecated
func (*SubscribePartialAccountUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribePartialAccountUpdatesRequest.ProtoReflect.Descriptor instead.
func (*SubscribePartialAccountUpdatesRequest) GetSkipVoteAccounts ¶
func (x *SubscribePartialAccountUpdatesRequest) GetSkipVoteAccounts() bool
func (*SubscribePartialAccountUpdatesRequest) ProtoMessage ¶
func (*SubscribePartialAccountUpdatesRequest) ProtoMessage()
func (*SubscribePartialAccountUpdatesRequest) ProtoReflect ¶
func (x *SubscribePartialAccountUpdatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribePartialAccountUpdatesRequest) Reset ¶
func (x *SubscribePartialAccountUpdatesRequest) Reset()
func (*SubscribePartialAccountUpdatesRequest) String ¶
func (x *SubscribePartialAccountUpdatesRequest) String() string
type SubscribeProgramsUpdatesRequest ¶
type SubscribeProgramsUpdatesRequest struct { Programs [][]byte `protobuf:"bytes,1,rep,name=programs,proto3" json:"programs,omitempty"` // contains filtered or unexported fields }
func (*SubscribeProgramsUpdatesRequest) Descriptor
deprecated
func (*SubscribeProgramsUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeProgramsUpdatesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeProgramsUpdatesRequest) GetPrograms ¶
func (x *SubscribeProgramsUpdatesRequest) GetPrograms() [][]byte
func (*SubscribeProgramsUpdatesRequest) ProtoMessage ¶
func (*SubscribeProgramsUpdatesRequest) ProtoMessage()
func (*SubscribeProgramsUpdatesRequest) ProtoReflect ¶
func (x *SubscribeProgramsUpdatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeProgramsUpdatesRequest) Reset ¶
func (x *SubscribeProgramsUpdatesRequest) Reset()
func (*SubscribeProgramsUpdatesRequest) String ¶
func (x *SubscribeProgramsUpdatesRequest) String() string
type SubscribeSlotEntryUpdateRequest ¶
type SubscribeSlotEntryUpdateRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeSlotEntryUpdateRequest) Descriptor
deprecated
func (*SubscribeSlotEntryUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeSlotEntryUpdateRequest.ProtoReflect.Descriptor instead.
func (*SubscribeSlotEntryUpdateRequest) ProtoMessage ¶
func (*SubscribeSlotEntryUpdateRequest) ProtoMessage()
func (*SubscribeSlotEntryUpdateRequest) ProtoReflect ¶
func (x *SubscribeSlotEntryUpdateRequest) ProtoReflect() protoreflect.Message
func (*SubscribeSlotEntryUpdateRequest) Reset ¶
func (x *SubscribeSlotEntryUpdateRequest) Reset()
func (*SubscribeSlotEntryUpdateRequest) String ¶
func (x *SubscribeSlotEntryUpdateRequest) String() string
type SubscribeSlotUpdateRequest ¶
type SubscribeSlotUpdateRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeSlotUpdateRequest) Descriptor
deprecated
func (*SubscribeSlotUpdateRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeSlotUpdateRequest.ProtoReflect.Descriptor instead.
func (*SubscribeSlotUpdateRequest) ProtoMessage ¶
func (*SubscribeSlotUpdateRequest) ProtoMessage()
func (*SubscribeSlotUpdateRequest) ProtoReflect ¶
func (x *SubscribeSlotUpdateRequest) ProtoReflect() protoreflect.Message
func (*SubscribeSlotUpdateRequest) Reset ¶
func (x *SubscribeSlotUpdateRequest) Reset()
func (*SubscribeSlotUpdateRequest) String ¶
func (x *SubscribeSlotUpdateRequest) String() string
type SubscribeTransactionUpdatesRequest ¶
type SubscribeTransactionUpdatesRequest struct {
// contains filtered or unexported fields
}
func (*SubscribeTransactionUpdatesRequest) Descriptor
deprecated
func (*SubscribeTransactionUpdatesRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubscribeTransactionUpdatesRequest.ProtoReflect.Descriptor instead.
func (*SubscribeTransactionUpdatesRequest) ProtoMessage ¶
func (*SubscribeTransactionUpdatesRequest) ProtoMessage()
func (*SubscribeTransactionUpdatesRequest) ProtoReflect ¶
func (x *SubscribeTransactionUpdatesRequest) ProtoReflect() protoreflect.Message
func (*SubscribeTransactionUpdatesRequest) Reset ¶
func (x *SubscribeTransactionUpdatesRequest) Reset()
func (*SubscribeTransactionUpdatesRequest) String ¶
func (x *SubscribeTransactionUpdatesRequest) String() string
type TimestampedAccountUpdate ¶
type TimestampedAccountUpdate struct { // Time at which the message was generated Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // Account update AccountUpdate *AccountUpdate `protobuf:"bytes,2,opt,name=account_update,json=accountUpdate,proto3" json:"account_update,omitempty"` // contains filtered or unexported fields }
func (*TimestampedAccountUpdate) Descriptor
deprecated
func (*TimestampedAccountUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedAccountUpdate.ProtoReflect.Descriptor instead.
func (*TimestampedAccountUpdate) GetAccountUpdate ¶
func (x *TimestampedAccountUpdate) GetAccountUpdate() *AccountUpdate
func (*TimestampedAccountUpdate) GetTs ¶
func (x *TimestampedAccountUpdate) GetTs() *timestamppb.Timestamp
func (*TimestampedAccountUpdate) ProtoMessage ¶
func (*TimestampedAccountUpdate) ProtoMessage()
func (*TimestampedAccountUpdate) ProtoReflect ¶
func (x *TimestampedAccountUpdate) ProtoReflect() protoreflect.Message
func (*TimestampedAccountUpdate) Reset ¶
func (x *TimestampedAccountUpdate) Reset()
func (*TimestampedAccountUpdate) String ¶
func (x *TimestampedAccountUpdate) String() string
type TimestampedBlockUpdate ¶
type TimestampedBlockUpdate struct { // Time at which the message was generated Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // Block contents BlockUpdate *BlockUpdate `protobuf:"bytes,2,opt,name=block_update,json=blockUpdate,proto3" json:"block_update,omitempty"` // contains filtered or unexported fields }
func (*TimestampedBlockUpdate) Descriptor
deprecated
func (*TimestampedBlockUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedBlockUpdate.ProtoReflect.Descriptor instead.
func (*TimestampedBlockUpdate) GetBlockUpdate ¶
func (x *TimestampedBlockUpdate) GetBlockUpdate() *BlockUpdate
func (*TimestampedBlockUpdate) GetTs ¶
func (x *TimestampedBlockUpdate) GetTs() *timestamppb.Timestamp
func (*TimestampedBlockUpdate) ProtoMessage ¶
func (*TimestampedBlockUpdate) ProtoMessage()
func (*TimestampedBlockUpdate) ProtoReflect ¶
func (x *TimestampedBlockUpdate) ProtoReflect() protoreflect.Message
func (*TimestampedBlockUpdate) Reset ¶
func (x *TimestampedBlockUpdate) Reset()
func (*TimestampedBlockUpdate) String ¶
func (x *TimestampedBlockUpdate) String() string
type TimestampedSlotEntryUpdate ¶
type TimestampedSlotEntryUpdate struct { // Time at which the message was generated // Send relative timestamp in micros using u32 to reduce overhead. Provides ~71 mins of accuracy between sender and receiver // See [compact_timestamp::to_system_time] Ts uint32 `protobuf:"varint,1,opt,name=ts,proto3" json:"ts,omitempty"` // SlotEntryUpdate update EntryUpdate *SlotEntryUpdate `protobuf:"bytes,2,opt,name=entry_update,json=entryUpdate,proto3" json:"entry_update,omitempty"` // contains filtered or unexported fields }
func (*TimestampedSlotEntryUpdate) Descriptor
deprecated
func (*TimestampedSlotEntryUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedSlotEntryUpdate.ProtoReflect.Descriptor instead.
func (*TimestampedSlotEntryUpdate) GetEntryUpdate ¶
func (x *TimestampedSlotEntryUpdate) GetEntryUpdate() *SlotEntryUpdate
func (*TimestampedSlotEntryUpdate) GetTs ¶
func (x *TimestampedSlotEntryUpdate) GetTs() uint32
func (*TimestampedSlotEntryUpdate) ProtoMessage ¶
func (*TimestampedSlotEntryUpdate) ProtoMessage()
func (*TimestampedSlotEntryUpdate) ProtoReflect ¶
func (x *TimestampedSlotEntryUpdate) ProtoReflect() protoreflect.Message
func (*TimestampedSlotEntryUpdate) Reset ¶
func (x *TimestampedSlotEntryUpdate) Reset()
func (*TimestampedSlotEntryUpdate) String ¶
func (x *TimestampedSlotEntryUpdate) String() string
type TimestampedSlotUpdate ¶
type TimestampedSlotUpdate struct { // Time at which the message was generated Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` // Slot update SlotUpdate *SlotUpdate `protobuf:"bytes,2,opt,name=slot_update,json=slotUpdate,proto3" json:"slot_update,omitempty"` // contains filtered or unexported fields }
func (*TimestampedSlotUpdate) Descriptor
deprecated
func (*TimestampedSlotUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedSlotUpdate.ProtoReflect.Descriptor instead.
func (*TimestampedSlotUpdate) GetSlotUpdate ¶
func (x *TimestampedSlotUpdate) GetSlotUpdate() *SlotUpdate
func (*TimestampedSlotUpdate) GetTs ¶
func (x *TimestampedSlotUpdate) GetTs() *timestamppb.Timestamp
func (*TimestampedSlotUpdate) ProtoMessage ¶
func (*TimestampedSlotUpdate) ProtoMessage()
func (*TimestampedSlotUpdate) ProtoReflect ¶
func (x *TimestampedSlotUpdate) ProtoReflect() protoreflect.Message
func (*TimestampedSlotUpdate) Reset ¶
func (x *TimestampedSlotUpdate) Reset()
func (*TimestampedSlotUpdate) String ¶
func (x *TimestampedSlotUpdate) String() string
type TimestampedTransactionUpdate ¶
type TimestampedTransactionUpdate struct { Ts *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=ts,proto3" json:"ts,omitempty"` Transaction *TransactionUpdate `protobuf:"bytes,2,opt,name=transaction,proto3" json:"transaction,omitempty"` // contains filtered or unexported fields }
func (*TimestampedTransactionUpdate) Descriptor
deprecated
func (*TimestampedTransactionUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TimestampedTransactionUpdate.ProtoReflect.Descriptor instead.
func (*TimestampedTransactionUpdate) GetTransaction ¶
func (x *TimestampedTransactionUpdate) GetTransaction() *TransactionUpdate
func (*TimestampedTransactionUpdate) GetTs ¶
func (x *TimestampedTransactionUpdate) GetTs() *timestamppb.Timestamp
func (*TimestampedTransactionUpdate) ProtoMessage ¶
func (*TimestampedTransactionUpdate) ProtoMessage()
func (*TimestampedTransactionUpdate) ProtoReflect ¶
func (x *TimestampedTransactionUpdate) ProtoReflect() protoreflect.Message
func (*TimestampedTransactionUpdate) Reset ¶
func (x *TimestampedTransactionUpdate) Reset()
func (*TimestampedTransactionUpdate) String ¶
func (x *TimestampedTransactionUpdate) String() string
type TokenBalance ¶
type TokenBalance struct { AccountIndex uint32 `protobuf:"varint,1,opt,name=account_index,json=accountIndex,proto3" json:"account_index,omitempty"` Mint string `protobuf:"bytes,2,opt,name=mint,proto3" json:"mint,omitempty"` UiTokenAmount *UiTokenAmount `protobuf:"bytes,3,opt,name=ui_token_amount,json=uiTokenAmount,proto3" json:"ui_token_amount,omitempty"` Owner string `protobuf:"bytes,4,opt,name=owner,proto3" json:"owner,omitempty"` ProgramId string `protobuf:"bytes,5,opt,name=program_id,json=programId,proto3" json:"program_id,omitempty"` // contains filtered or unexported fields }
func (*TokenBalance) Descriptor
deprecated
func (*TokenBalance) Descriptor() ([]byte, []int)
Deprecated: Use TokenBalance.ProtoReflect.Descriptor instead.
func (*TokenBalance) GetAccountIndex ¶
func (x *TokenBalance) GetAccountIndex() uint32
func (*TokenBalance) GetMint ¶
func (x *TokenBalance) GetMint() string
func (*TokenBalance) GetOwner ¶
func (x *TokenBalance) GetOwner() string
func (*TokenBalance) GetProgramId ¶
func (x *TokenBalance) GetProgramId() string
func (*TokenBalance) GetUiTokenAmount ¶
func (x *TokenBalance) GetUiTokenAmount() *UiTokenAmount
func (*TokenBalance) ProtoMessage ¶
func (*TokenBalance) ProtoMessage()
func (*TokenBalance) ProtoReflect ¶
func (x *TokenBalance) ProtoReflect() protoreflect.Message
func (*TokenBalance) Reset ¶
func (x *TokenBalance) Reset()
func (*TokenBalance) String ¶
func (x *TokenBalance) String() string
type Transaction ¶
type Transaction struct { Signatures [][]byte `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"` Message *Message `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*Transaction) Descriptor
deprecated
func (*Transaction) Descriptor() ([]byte, []int)
Deprecated: Use Transaction.ProtoReflect.Descriptor instead.
func (*Transaction) GetMessage ¶
func (x *Transaction) GetMessage() *Message
func (*Transaction) GetSignatures ¶
func (x *Transaction) GetSignatures() [][]byte
func (*Transaction) ProtoMessage ¶
func (*Transaction) ProtoMessage()
func (*Transaction) ProtoReflect ¶
func (x *Transaction) ProtoReflect() protoreflect.Message
func (*Transaction) Reset ¶
func (x *Transaction) Reset()
func (*Transaction) String ¶
func (x *Transaction) String() string
type TransactionByAddr ¶
type TransactionByAddr struct { TxByAddrs []*TransactionByAddrInfo `protobuf:"bytes,1,rep,name=tx_by_addrs,json=txByAddrs,proto3" json:"tx_by_addrs,omitempty"` // contains filtered or unexported fields }
func (*TransactionByAddr) Descriptor
deprecated
func (*TransactionByAddr) Descriptor() ([]byte, []int)
Deprecated: Use TransactionByAddr.ProtoReflect.Descriptor instead.
func (*TransactionByAddr) GetTxByAddrs ¶
func (x *TransactionByAddr) GetTxByAddrs() []*TransactionByAddrInfo
func (*TransactionByAddr) ProtoMessage ¶
func (*TransactionByAddr) ProtoMessage()
func (*TransactionByAddr) ProtoReflect ¶
func (x *TransactionByAddr) ProtoReflect() protoreflect.Message
func (*TransactionByAddr) Reset ¶
func (x *TransactionByAddr) Reset()
func (*TransactionByAddr) String ¶
func (x *TransactionByAddr) String() string
type TransactionByAddrInfo ¶
type TransactionByAddrInfo struct { Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"` Err *TransactionError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"` Index uint32 `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"` Memo *Memo `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"` BlockTime *UnixTimestamp `protobuf:"bytes,5,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"` // contains filtered or unexported fields }
func (*TransactionByAddrInfo) Descriptor
deprecated
func (*TransactionByAddrInfo) Descriptor() ([]byte, []int)
Deprecated: Use TransactionByAddrInfo.ProtoReflect.Descriptor instead.
func (*TransactionByAddrInfo) GetBlockTime ¶
func (x *TransactionByAddrInfo) GetBlockTime() *UnixTimestamp
func (*TransactionByAddrInfo) GetErr ¶
func (x *TransactionByAddrInfo) GetErr() *TransactionError
func (*TransactionByAddrInfo) GetIndex ¶
func (x *TransactionByAddrInfo) GetIndex() uint32
func (*TransactionByAddrInfo) GetMemo ¶
func (x *TransactionByAddrInfo) GetMemo() *Memo
func (*TransactionByAddrInfo) GetSignature ¶
func (x *TransactionByAddrInfo) GetSignature() []byte
func (*TransactionByAddrInfo) ProtoMessage ¶
func (*TransactionByAddrInfo) ProtoMessage()
func (*TransactionByAddrInfo) ProtoReflect ¶
func (x *TransactionByAddrInfo) ProtoReflect() protoreflect.Message
func (*TransactionByAddrInfo) Reset ¶
func (x *TransactionByAddrInfo) Reset()
func (*TransactionByAddrInfo) String ¶
func (x *TransactionByAddrInfo) String() string
type TransactionDetails ¶
type TransactionDetails struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` // contains filtered or unexported fields }
func (*TransactionDetails) Descriptor
deprecated
func (*TransactionDetails) Descriptor() ([]byte, []int)
Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.
func (*TransactionDetails) GetIndex ¶
func (x *TransactionDetails) GetIndex() uint32
func (*TransactionDetails) ProtoMessage ¶
func (*TransactionDetails) ProtoMessage()
func (*TransactionDetails) ProtoReflect ¶
func (x *TransactionDetails) ProtoReflect() protoreflect.Message
func (*TransactionDetails) Reset ¶
func (x *TransactionDetails) Reset()
func (*TransactionDetails) String ¶
func (x *TransactionDetails) String() string
type TransactionError ¶
type TransactionError struct { Err []byte `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` // contains filtered or unexported fields }
func (*TransactionError) Descriptor
deprecated
func (*TransactionError) Descriptor() ([]byte, []int)
Deprecated: Use TransactionError.ProtoReflect.Descriptor instead.
func (*TransactionError) GetErr ¶
func (x *TransactionError) GetErr() []byte
func (*TransactionError) ProtoMessage ¶
func (*TransactionError) ProtoMessage()
func (*TransactionError) ProtoReflect ¶
func (x *TransactionError) ProtoReflect() protoreflect.Message
func (*TransactionError) Reset ¶
func (x *TransactionError) Reset()
func (*TransactionError) String ¶
func (x *TransactionError) String() string
type TransactionErrorDup ¶
type TransactionErrorDup struct { TransactionError TransactionErrorType `` /* 169-byte string literal not displayed */ InstructionError *InstructionError `protobuf:"bytes,2,opt,name=instruction_error,json=instructionError,proto3" json:"instruction_error,omitempty"` TransactionDetails *TransactionDetails `protobuf:"bytes,3,opt,name=transaction_details,json=transactionDetails,proto3" json:"transaction_details,omitempty"` // contains filtered or unexported fields }
func (*TransactionErrorDup) Descriptor
deprecated
func (*TransactionErrorDup) Descriptor() ([]byte, []int)
Deprecated: Use TransactionError.ProtoReflect.Descriptor instead.
func (*TransactionErrorDup) GetInstructionError ¶
func (x *TransactionErrorDup) GetInstructionError() *InstructionError
func (*TransactionErrorDup) GetTransactionDetails ¶
func (x *TransactionErrorDup) GetTransactionDetails() *TransactionDetails
func (*TransactionErrorDup) GetTransactionError ¶
func (x *TransactionErrorDup) GetTransactionError() TransactionErrorType
func (*TransactionErrorDup) ProtoMessage ¶
func (*TransactionErrorDup) ProtoMessage()
func (*TransactionErrorDup) ProtoReflect ¶
func (x *TransactionErrorDup) ProtoReflect() protoreflect.Message
func (*TransactionErrorDup) Reset ¶
func (x *TransactionErrorDup) Reset()
func (*TransactionErrorDup) String ¶
func (x *TransactionErrorDup) String() string
type TransactionErrorType ¶
type TransactionErrorType int32
const ( TransactionErrorType_ACCOUNT_IN_USE TransactionErrorType = 0 TransactionErrorType_ACCOUNT_LOADED_TWICE TransactionErrorType = 1 TransactionErrorType_ACCOUNT_NOT_FOUND TransactionErrorType = 2 TransactionErrorType_PROGRAM_ACCOUNT_NOT_FOUND TransactionErrorType = 3 TransactionErrorType_INSUFFICIENT_FUNDS_FOR_FEE TransactionErrorType = 4 TransactionErrorType_INVALID_ACCOUNT_FOR_FEE TransactionErrorType = 5 TransactionErrorType_ALREADY_PROCESSED TransactionErrorType = 6 TransactionErrorType_BLOCKHASH_NOT_FOUND TransactionErrorType = 7 TransactionErrorType_INSTRUCTION_ERROR TransactionErrorType = 8 TransactionErrorType_CALL_CHAIN_TOO_DEEP TransactionErrorType = 9 TransactionErrorType_MISSING_SIGNATURE_FOR_FEE TransactionErrorType = 10 TransactionErrorType_INVALID_ACCOUNT_INDEX TransactionErrorType = 11 TransactionErrorType_SIGNATURE_FAILURE TransactionErrorType = 12 TransactionErrorType_INVALID_PROGRAM_FOR_EXECUTION TransactionErrorType = 13 TransactionErrorType_SANITIZE_FAILURE TransactionErrorType = 14 TransactionErrorType_CLUSTER_MAINTENANCE TransactionErrorType = 15 TransactionErrorType_ACCOUNT_BORROW_OUTSTANDING_TX TransactionErrorType = 16 TransactionErrorType_WOULD_EXCEED_MAX_BLOCK_COST_LIMIT TransactionErrorType = 17 TransactionErrorType_UNSUPPORTED_VERSION TransactionErrorType = 18 TransactionErrorType_INVALID_WRITABLE_ACCOUNT TransactionErrorType = 19 TransactionErrorType_WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT TransactionErrorType = 20 TransactionErrorType_WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT TransactionErrorType = 21 TransactionErrorType_TOO_MANY_ACCOUNT_LOCKS TransactionErrorType = 22 TransactionErrorType_ADDRESS_LOOKUP_TABLE_NOT_FOUND TransactionErrorType = 23 TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_OWNER TransactionErrorType = 24 TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_DATA TransactionErrorType = 25 TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_INDEX TransactionErrorType = 26 TransactionErrorType_INVALID_RENT_PAYING_ACCOUNT TransactionErrorType = 27 TransactionErrorType_WOULD_EXCEED_MAX_VOTE_COST_LIMIT TransactionErrorType = 28 TransactionErrorType_WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT TransactionErrorType = 29 TransactionErrorType_DUPLICATE_INSTRUCTION TransactionErrorType = 30 TransactionErrorType_INSUFFICIENT_FUNDS_FOR_RENT TransactionErrorType = 31 TransactionErrorType_MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED TransactionErrorType = 32 TransactionErrorType_INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT TransactionErrorType = 33 TransactionErrorType_RESANITIZATION_NEEDED TransactionErrorType = 34 TransactionErrorType_PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED TransactionErrorType = 35 TransactionErrorType_UNBALANCED_TRANSACTION TransactionErrorType = 36 TransactionErrorType_PROGRAM_CACHE_HIT_MAX_LIMIT TransactionErrorType = 37 )
func (TransactionErrorType) Descriptor ¶
func (TransactionErrorType) Descriptor() protoreflect.EnumDescriptor
func (TransactionErrorType) Enum ¶
func (x TransactionErrorType) Enum() *TransactionErrorType
func (TransactionErrorType) EnumDescriptor
deprecated
func (TransactionErrorType) EnumDescriptor() ([]byte, []int)
Deprecated: Use TransactionErrorType.Descriptor instead.
func (TransactionErrorType) Number ¶
func (x TransactionErrorType) Number() protoreflect.EnumNumber
func (TransactionErrorType) String ¶
func (x TransactionErrorType) String() string
func (TransactionErrorType) Type ¶
func (TransactionErrorType) Type() protoreflect.EnumType
type TransactionStatusMeta ¶
type TransactionStatusMeta struct { Err *TransactionError `protobuf:"bytes,1,opt,name=err,proto3" json:"err,omitempty"` Fee uint64 `protobuf:"varint,2,opt,name=fee,proto3" json:"fee,omitempty"` PreBalances []uint64 `protobuf:"varint,3,rep,packed,name=pre_balances,json=preBalances,proto3" json:"pre_balances,omitempty"` PostBalances []uint64 `protobuf:"varint,4,rep,packed,name=post_balances,json=postBalances,proto3" json:"post_balances,omitempty"` InnerInstructions []*InnerInstructions `protobuf:"bytes,5,rep,name=inner_instructions,json=innerInstructions,proto3" json:"inner_instructions,omitempty"` InnerInstructionsNone bool `` /* 128-byte string literal not displayed */ LogMessages []string `protobuf:"bytes,6,rep,name=log_messages,json=logMessages,proto3" json:"log_messages,omitempty"` LogMessagesNone bool `protobuf:"varint,11,opt,name=log_messages_none,json=logMessagesNone,proto3" json:"log_messages_none,omitempty"` PreTokenBalances []*TokenBalance `protobuf:"bytes,7,rep,name=pre_token_balances,json=preTokenBalances,proto3" json:"pre_token_balances,omitempty"` PostTokenBalances []*TokenBalance `protobuf:"bytes,8,rep,name=post_token_balances,json=postTokenBalances,proto3" json:"post_token_balances,omitempty"` Rewards []*Reward `protobuf:"bytes,9,rep,name=rewards,proto3" json:"rewards,omitempty"` LoadedWritableAddresses [][]byte `` /* 133-byte string literal not displayed */ LoadedReadonlyAddresses [][]byte `` /* 133-byte string literal not displayed */ ReturnData *ReturnData `protobuf:"bytes,14,opt,name=return_data,json=returnData,proto3" json:"return_data,omitempty"` ReturnDataNone bool `protobuf:"varint,15,opt,name=return_data_none,json=returnDataNone,proto3" json:"return_data_none,omitempty"` // Sum of compute units consumed by all instructions. // Available since Solana v1.10.35 / v1.11.6. // Set to `None` for txs executed on earlier versions. ComputeUnitsConsumed *uint64 `` /* 131-byte string literal not displayed */ // contains filtered or unexported fields }
func (*TransactionStatusMeta) Descriptor
deprecated
func (*TransactionStatusMeta) Descriptor() ([]byte, []int)
Deprecated: Use TransactionStatusMeta.ProtoReflect.Descriptor instead.
func (*TransactionStatusMeta) GetComputeUnitsConsumed ¶
func (x *TransactionStatusMeta) GetComputeUnitsConsumed() uint64
func (*TransactionStatusMeta) GetErr ¶
func (x *TransactionStatusMeta) GetErr() *TransactionError
func (*TransactionStatusMeta) GetFee ¶
func (x *TransactionStatusMeta) GetFee() uint64
func (*TransactionStatusMeta) GetInnerInstructions ¶
func (x *TransactionStatusMeta) GetInnerInstructions() []*InnerInstructions
func (*TransactionStatusMeta) GetInnerInstructionsNone ¶
func (x *TransactionStatusMeta) GetInnerInstructionsNone() bool
func (*TransactionStatusMeta) GetLoadedReadonlyAddresses ¶
func (x *TransactionStatusMeta) GetLoadedReadonlyAddresses() [][]byte
func (*TransactionStatusMeta) GetLoadedWritableAddresses ¶
func (x *TransactionStatusMeta) GetLoadedWritableAddresses() [][]byte
func (*TransactionStatusMeta) GetLogMessages ¶
func (x *TransactionStatusMeta) GetLogMessages() []string
func (*TransactionStatusMeta) GetLogMessagesNone ¶
func (x *TransactionStatusMeta) GetLogMessagesNone() bool
func (*TransactionStatusMeta) GetPostBalances ¶
func (x *TransactionStatusMeta) GetPostBalances() []uint64
func (*TransactionStatusMeta) GetPostTokenBalances ¶
func (x *TransactionStatusMeta) GetPostTokenBalances() []*TokenBalance
func (*TransactionStatusMeta) GetPreBalances ¶
func (x *TransactionStatusMeta) GetPreBalances() []uint64
func (*TransactionStatusMeta) GetPreTokenBalances ¶
func (x *TransactionStatusMeta) GetPreTokenBalances() []*TokenBalance
func (*TransactionStatusMeta) GetReturnData ¶
func (x *TransactionStatusMeta) GetReturnData() *ReturnData
func (*TransactionStatusMeta) GetReturnDataNone ¶
func (x *TransactionStatusMeta) GetReturnDataNone() bool
func (*TransactionStatusMeta) GetRewards ¶
func (x *TransactionStatusMeta) GetRewards() []*Reward
func (*TransactionStatusMeta) ProtoMessage ¶
func (*TransactionStatusMeta) ProtoMessage()
func (*TransactionStatusMeta) ProtoReflect ¶
func (x *TransactionStatusMeta) ProtoReflect() protoreflect.Message
func (*TransactionStatusMeta) Reset ¶
func (x *TransactionStatusMeta) Reset()
func (*TransactionStatusMeta) String ¶
func (x *TransactionStatusMeta) String() string
type TransactionUpdate ¶
type TransactionUpdate struct { Slot uint64 `protobuf:"varint,1,opt,name=slot,proto3" json:"slot,omitempty"` Signature string `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` IsVote bool `protobuf:"varint,3,opt,name=is_vote,json=isVote,proto3" json:"is_vote,omitempty"` TxIdx uint64 `protobuf:"varint,4,opt,name=tx_idx,json=txIdx,proto3" json:"tx_idx,omitempty"` Tx *ConfirmedTransaction `protobuf:"bytes,5,opt,name=tx,proto3" json:"tx,omitempty"` // contains filtered or unexported fields }
func (*TransactionUpdate) Descriptor
deprecated
func (*TransactionUpdate) Descriptor() ([]byte, []int)
Deprecated: Use TransactionUpdate.ProtoReflect.Descriptor instead.
func (*TransactionUpdate) GetIsVote ¶
func (x *TransactionUpdate) GetIsVote() bool
func (*TransactionUpdate) GetSignature ¶
func (x *TransactionUpdate) GetSignature() string
func (*TransactionUpdate) GetSlot ¶
func (x *TransactionUpdate) GetSlot() uint64
func (*TransactionUpdate) GetTx ¶
func (x *TransactionUpdate) GetTx() *ConfirmedTransaction
func (*TransactionUpdate) GetTxIdx ¶
func (x *TransactionUpdate) GetTxIdx() uint64
func (*TransactionUpdate) ProtoMessage ¶
func (*TransactionUpdate) ProtoMessage()
func (*TransactionUpdate) ProtoReflect ¶
func (x *TransactionUpdate) ProtoReflect() protoreflect.Message
func (*TransactionUpdate) Reset ¶
func (x *TransactionUpdate) Reset()
func (*TransactionUpdate) String ¶
func (x *TransactionUpdate) String() string
type UiTokenAmount ¶
type UiTokenAmount struct { UiAmount float64 `protobuf:"fixed64,1,opt,name=ui_amount,json=uiAmount,proto3" json:"ui_amount,omitempty"` Decimals uint32 `protobuf:"varint,2,opt,name=decimals,proto3" json:"decimals,omitempty"` Amount string `protobuf:"bytes,3,opt,name=amount,proto3" json:"amount,omitempty"` UiAmountString string `protobuf:"bytes,4,opt,name=ui_amount_string,json=uiAmountString,proto3" json:"ui_amount_string,omitempty"` // contains filtered or unexported fields }
func (*UiTokenAmount) Descriptor
deprecated
func (*UiTokenAmount) Descriptor() ([]byte, []int)
Deprecated: Use UiTokenAmount.ProtoReflect.Descriptor instead.
func (*UiTokenAmount) GetAmount ¶
func (x *UiTokenAmount) GetAmount() string
func (*UiTokenAmount) GetDecimals ¶
func (x *UiTokenAmount) GetDecimals() uint32
func (*UiTokenAmount) GetUiAmount ¶
func (x *UiTokenAmount) GetUiAmount() float64
func (*UiTokenAmount) GetUiAmountString ¶
func (x *UiTokenAmount) GetUiAmountString() string
func (*UiTokenAmount) ProtoMessage ¶
func (*UiTokenAmount) ProtoMessage()
func (*UiTokenAmount) ProtoReflect ¶
func (x *UiTokenAmount) ProtoReflect() protoreflect.Message
func (*UiTokenAmount) Reset ¶
func (x *UiTokenAmount) Reset()
func (*UiTokenAmount) String ¶
func (x *UiTokenAmount) String() string
type UnimplementedGeyserServer ¶
type UnimplementedGeyserServer struct{}
UnimplementedGeyserServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedGeyserServer) GetHeartbeatInterval ¶
func (UnimplementedGeyserServer) GetHeartbeatInterval(context.Context, *EmptyRequest) (*GetHeartbeatIntervalResponse, error)
func (UnimplementedGeyserServer) SubscribeAccountUpdates ¶
func (UnimplementedGeyserServer) SubscribeAccountUpdates(*SubscribeAccountUpdatesRequest, grpc.ServerStreamingServer[TimestampedAccountUpdate]) error
func (UnimplementedGeyserServer) SubscribeBlockUpdates ¶
func (UnimplementedGeyserServer) SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, grpc.ServerStreamingServer[TimestampedBlockUpdate]) error
func (UnimplementedGeyserServer) SubscribePartialAccountUpdates ¶
func (UnimplementedGeyserServer) SubscribePartialAccountUpdates(*SubscribePartialAccountUpdatesRequest, grpc.ServerStreamingServer[MaybePartialAccountUpdate]) error
func (UnimplementedGeyserServer) SubscribeProgramUpdates ¶
func (UnimplementedGeyserServer) SubscribeProgramUpdates(*SubscribeProgramsUpdatesRequest, grpc.ServerStreamingServer[TimestampedAccountUpdate]) error
func (UnimplementedGeyserServer) SubscribeSlotEntryUpdates ¶
func (UnimplementedGeyserServer) SubscribeSlotEntryUpdates(*SubscribeSlotEntryUpdateRequest, grpc.ServerStreamingServer[TimestampedSlotEntryUpdate]) error
func (UnimplementedGeyserServer) SubscribeSlotUpdates ¶
func (UnimplementedGeyserServer) SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, grpc.ServerStreamingServer[TimestampedSlotUpdate]) error
func (UnimplementedGeyserServer) SubscribeTransactionUpdates ¶
func (UnimplementedGeyserServer) SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, grpc.ServerStreamingServer[TimestampedTransactionUpdate]) error
type UnixTimestamp ¶
type UnixTimestamp struct { Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // contains filtered or unexported fields }
func (*UnixTimestamp) Descriptor
deprecated
func (*UnixTimestamp) Descriptor() ([]byte, []int)
Deprecated: Use UnixTimestamp.ProtoReflect.Descriptor instead.
func (*UnixTimestamp) GetTimestamp ¶
func (x *UnixTimestamp) GetTimestamp() int64
func (*UnixTimestamp) ProtoMessage ¶
func (*UnixTimestamp) ProtoMessage()
func (*UnixTimestamp) ProtoReflect ¶
func (x *UnixTimestamp) ProtoReflect() protoreflect.Message
func (*UnixTimestamp) Reset ¶
func (x *UnixTimestamp) Reset()
func (*UnixTimestamp) String ¶
func (x *UnixTimestamp) String() string
type UnsafeGeyserServer ¶
type UnsafeGeyserServer interface {
// contains filtered or unexported methods
}
UnsafeGeyserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to GeyserServer will result in compilation errors.