Documentation ¶
Index ¶
- 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
- func (m *AccountUpdate) Validate() error
- func (m *AccountUpdate) ValidateAll() error
- type AccountUpdateMultiError
- type AccountUpdateValidationError
- func (e AccountUpdateValidationError) Cause() error
- func (e AccountUpdateValidationError) Error() string
- func (e AccountUpdateValidationError) ErrorName() string
- func (e AccountUpdateValidationError) Field() string
- func (e AccountUpdateValidationError) Key() bool
- func (e AccountUpdateValidationError) Reason() string
- type BlockHeight
- func (*BlockHeight) Descriptor() ([]byte, []int)deprecated
- func (x *BlockHeight) GetBlockHeight() uint64
- func (*BlockHeight) ProtoMessage()
- func (x *BlockHeight) ProtoReflect() protoreflect.Message
- func (x *BlockHeight) Reset()
- func (x *BlockHeight) String() string
- func (m *BlockHeight) Validate() error
- func (m *BlockHeight) ValidateAll() error
- type BlockHeightMultiError
- type BlockHeightValidationError
- func (e BlockHeightValidationError) Cause() error
- func (e BlockHeightValidationError) Error() string
- func (e BlockHeightValidationError) ErrorName() string
- func (e BlockHeightValidationError) Field() string
- func (e BlockHeightValidationError) Key() bool
- func (e BlockHeightValidationError) Reason() string
- type BlockUpdate
- func (*BlockUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *BlockUpdate) GetBlockHeight() uint64
- func (x *BlockUpdate) GetBlockTime() *timestamp.Timestamp
- func (x *BlockUpdate) GetBlockhash() string
- 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
- func (m *BlockUpdate) Validate() error
- func (m *BlockUpdate) ValidateAll() error
- type BlockUpdateMultiError
- type BlockUpdateValidationError
- func (e BlockUpdateValidationError) Cause() error
- func (e BlockUpdateValidationError) Error() string
- func (e BlockUpdateValidationError) ErrorName() string
- func (e BlockUpdateValidationError) Field() string
- func (e BlockUpdateValidationError) Key() bool
- func (e BlockUpdateValidationError) Reason() 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
- func (m *CompiledInstruction) Validate() error
- func (m *CompiledInstruction) ValidateAll() error
- type CompiledInstructionMultiError
- type CompiledInstructionValidationError
- func (e CompiledInstructionValidationError) Cause() error
- func (e CompiledInstructionValidationError) Error() string
- func (e CompiledInstructionValidationError) ErrorName() string
- func (e CompiledInstructionValidationError) Field() string
- func (e CompiledInstructionValidationError) Key() bool
- func (e CompiledInstructionValidationError) Reason() 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) 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
- func (m *ConfirmedBlock) Validate() error
- func (m *ConfirmedBlock) ValidateAll() error
- type ConfirmedBlockMultiError
- type ConfirmedBlockValidationError
- func (e ConfirmedBlockValidationError) Cause() error
- func (e ConfirmedBlockValidationError) Error() string
- func (e ConfirmedBlockValidationError) ErrorName() string
- func (e ConfirmedBlockValidationError) Field() string
- func (e ConfirmedBlockValidationError) Key() bool
- func (e ConfirmedBlockValidationError) Reason() 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
- func (m *ConfirmedTransaction) Validate() error
- func (m *ConfirmedTransaction) ValidateAll() error
- type ConfirmedTransactionMultiError
- type ConfirmedTransactionValidationError
- func (e ConfirmedTransactionValidationError) Cause() error
- func (e ConfirmedTransactionValidationError) Error() string
- func (e ConfirmedTransactionValidationError) ErrorName() string
- func (e ConfirmedTransactionValidationError) Field() string
- func (e ConfirmedTransactionValidationError) Key() bool
- func (e ConfirmedTransactionValidationError) Reason() string
- type EmptyRequest
- func (*EmptyRequest) Descriptor() ([]byte, []int)deprecated
- func (*EmptyRequest) ProtoMessage()
- func (x *EmptyRequest) ProtoReflect() protoreflect.Message
- func (x *EmptyRequest) Reset()
- func (x *EmptyRequest) String() string
- func (m *EmptyRequest) Validate() error
- func (m *EmptyRequest) ValidateAll() error
- type EmptyRequestMultiError
- type EmptyRequestValidationError
- func (e EmptyRequestValidationError) Cause() error
- func (e EmptyRequestValidationError) Error() string
- func (e EmptyRequestValidationError) ErrorName() string
- func (e EmptyRequestValidationError) Field() string
- func (e EmptyRequestValidationError) Key() bool
- func (e EmptyRequestValidationError) Reason() 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
- func (m *GetHeartbeatIntervalResponse) Validate() error
- func (m *GetHeartbeatIntervalResponse) ValidateAll() error
- type GetHeartbeatIntervalResponseMultiError
- type GetHeartbeatIntervalResponseValidationError
- func (e GetHeartbeatIntervalResponseValidationError) Cause() error
- func (e GetHeartbeatIntervalResponseValidationError) Error() string
- func (e GetHeartbeatIntervalResponseValidationError) ErrorName() string
- func (e GetHeartbeatIntervalResponseValidationError) Field() string
- func (e GetHeartbeatIntervalResponseValidationError) Key() bool
- func (e GetHeartbeatIntervalResponseValidationError) Reason() 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_SubscribeSlotUpdatesClient
- type Geyser_SubscribeSlotUpdatesServer
- type Geyser_SubscribeTransactionUpdatesClient
- type Geyser_SubscribeTransactionUpdatesServer
- type Heartbeat
- type HeartbeatMultiError
- type HeartbeatValidationError
- type InnerInstructions
- func (*InnerInstructions) Descriptor() ([]byte, []int)deprecated
- func (x *InnerInstructions) GetIndex() uint32
- func (x *InnerInstructions) GetInstructions() []*CompiledInstruction
- func (*InnerInstructions) ProtoMessage()
- func (x *InnerInstructions) ProtoReflect() protoreflect.Message
- func (x *InnerInstructions) Reset()
- func (x *InnerInstructions) String() string
- func (m *InnerInstructions) Validate() error
- func (m *InnerInstructions) ValidateAll() error
- type InnerInstructionsMultiError
- type InnerInstructionsValidationError
- func (e InnerInstructionsValidationError) Cause() error
- func (e InnerInstructionsValidationError) Error() string
- func (e InnerInstructionsValidationError) ErrorName() string
- func (e InnerInstructionsValidationError) Field() string
- func (e InnerInstructionsValidationError) Key() bool
- func (e InnerInstructionsValidationError) Reason() string
- 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
- func (m *MaybePartialAccountUpdate) Validate() error
- func (m *MaybePartialAccountUpdate) ValidateAll() error
- type MaybePartialAccountUpdateMultiError
- type MaybePartialAccountUpdateValidationError
- func (e MaybePartialAccountUpdateValidationError) Cause() error
- func (e MaybePartialAccountUpdateValidationError) Error() string
- func (e MaybePartialAccountUpdateValidationError) ErrorName() string
- func (e MaybePartialAccountUpdateValidationError) Field() string
- func (e MaybePartialAccountUpdateValidationError) Key() bool
- func (e MaybePartialAccountUpdateValidationError) Reason() string
- type MaybePartialAccountUpdate_Hb
- type MaybePartialAccountUpdate_PartialAccountUpdate
- 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
- func (m *Message) Validate() error
- func (m *Message) ValidateAll() error
- 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
- func (m *MessageAddressTableLookup) Validate() error
- func (m *MessageAddressTableLookup) ValidateAll() error
- type MessageAddressTableLookupMultiError
- type MessageAddressTableLookupValidationError
- func (e MessageAddressTableLookupValidationError) Cause() error
- func (e MessageAddressTableLookupValidationError) Error() string
- func (e MessageAddressTableLookupValidationError) ErrorName() string
- func (e MessageAddressTableLookupValidationError) Field() string
- func (e MessageAddressTableLookupValidationError) Key() bool
- func (e MessageAddressTableLookupValidationError) Reason() 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
- func (m *MessageHeader) Validate() error
- func (m *MessageHeader) ValidateAll() error
- type MessageHeaderMultiError
- type MessageHeaderValidationError
- func (e MessageHeaderValidationError) Cause() error
- func (e MessageHeaderValidationError) Error() string
- func (e MessageHeaderValidationError) ErrorName() string
- func (e MessageHeaderValidationError) Field() string
- func (e MessageHeaderValidationError) Key() bool
- func (e MessageHeaderValidationError) Reason() string
- type MessageMultiError
- type MessageValidationError
- 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
- func (m *PartialAccountUpdate) Validate() error
- func (m *PartialAccountUpdate) ValidateAll() error
- type PartialAccountUpdateMultiError
- type PartialAccountUpdateValidationError
- func (e PartialAccountUpdateValidationError) Cause() error
- func (e PartialAccountUpdateValidationError) Error() string
- func (e PartialAccountUpdateValidationError) ErrorName() string
- func (e PartialAccountUpdateValidationError) Field() string
- func (e PartialAccountUpdateValidationError) Key() bool
- func (e PartialAccountUpdateValidationError) Reason() string
- type ReturnData
- func (*ReturnData) Descriptor() ([]byte, []int)deprecated
- func (x *ReturnData) GetData() []byte
- func (x *ReturnData) GetProgramId() []byte
- func (*ReturnData) ProtoMessage()
- func (x *ReturnData) ProtoReflect() protoreflect.Message
- func (x *ReturnData) Reset()
- func (x *ReturnData) String() string
- func (m *ReturnData) Validate() error
- func (m *ReturnData) ValidateAll() error
- type ReturnDataMultiError
- type ReturnDataValidationError
- 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
- func (m *Reward) Validate() error
- func (m *Reward) ValidateAll() error
- type RewardMultiError
- type RewardType
- type RewardValidationError
- type Rewards
- func (*Rewards) Descriptor() ([]byte, []int)deprecated
- func (x *Rewards) GetRewards() []*Reward
- func (*Rewards) ProtoMessage()
- func (x *Rewards) ProtoReflect() protoreflect.Message
- func (x *Rewards) Reset()
- func (x *Rewards) String() string
- func (m *Rewards) Validate() error
- func (m *Rewards) ValidateAll() error
- type RewardsMultiError
- type RewardsValidationError
- 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
- func (m *SlotUpdate) Validate() error
- func (m *SlotUpdate) ValidateAll() error
- type SlotUpdateMultiError
- 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 SlotUpdateValidationError
- 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
- func (m *SubscribeAccountUpdatesRequest) Validate() error
- func (m *SubscribeAccountUpdatesRequest) ValidateAll() error
- type SubscribeAccountUpdatesRequestMultiError
- type SubscribeAccountUpdatesRequestValidationError
- func (e SubscribeAccountUpdatesRequestValidationError) Cause() error
- func (e SubscribeAccountUpdatesRequestValidationError) Error() string
- func (e SubscribeAccountUpdatesRequestValidationError) ErrorName() string
- func (e SubscribeAccountUpdatesRequestValidationError) Field() string
- func (e SubscribeAccountUpdatesRequestValidationError) Key() bool
- func (e SubscribeAccountUpdatesRequestValidationError) Reason() 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
- func (m *SubscribeBlockUpdatesRequest) Validate() error
- func (m *SubscribeBlockUpdatesRequest) ValidateAll() error
- type SubscribeBlockUpdatesRequestMultiError
- type SubscribeBlockUpdatesRequestValidationError
- func (e SubscribeBlockUpdatesRequestValidationError) Cause() error
- func (e SubscribeBlockUpdatesRequestValidationError) Error() string
- func (e SubscribeBlockUpdatesRequestValidationError) ErrorName() string
- func (e SubscribeBlockUpdatesRequestValidationError) Field() string
- func (e SubscribeBlockUpdatesRequestValidationError) Key() bool
- func (e SubscribeBlockUpdatesRequestValidationError) Reason() 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
- func (m *SubscribePartialAccountUpdatesRequest) Validate() error
- func (m *SubscribePartialAccountUpdatesRequest) ValidateAll() error
- type SubscribePartialAccountUpdatesRequestMultiError
- type SubscribePartialAccountUpdatesRequestValidationError
- func (e SubscribePartialAccountUpdatesRequestValidationError) Cause() error
- func (e SubscribePartialAccountUpdatesRequestValidationError) Error() string
- func (e SubscribePartialAccountUpdatesRequestValidationError) ErrorName() string
- func (e SubscribePartialAccountUpdatesRequestValidationError) Field() string
- func (e SubscribePartialAccountUpdatesRequestValidationError) Key() bool
- func (e SubscribePartialAccountUpdatesRequestValidationError) Reason() 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
- func (m *SubscribeProgramsUpdatesRequest) Validate() error
- func (m *SubscribeProgramsUpdatesRequest) ValidateAll() error
- type SubscribeProgramsUpdatesRequestMultiError
- type SubscribeProgramsUpdatesRequestValidationError
- func (e SubscribeProgramsUpdatesRequestValidationError) Cause() error
- func (e SubscribeProgramsUpdatesRequestValidationError) Error() string
- func (e SubscribeProgramsUpdatesRequestValidationError) ErrorName() string
- func (e SubscribeProgramsUpdatesRequestValidationError) Field() string
- func (e SubscribeProgramsUpdatesRequestValidationError) Key() bool
- func (e SubscribeProgramsUpdatesRequestValidationError) Reason() string
- type SubscribeSlotUpdateRequest
- func (*SubscribeSlotUpdateRequest) Descriptor() ([]byte, []int)deprecated
- func (*SubscribeSlotUpdateRequest) ProtoMessage()
- func (x *SubscribeSlotUpdateRequest) ProtoReflect() protoreflect.Message
- func (x *SubscribeSlotUpdateRequest) Reset()
- func (x *SubscribeSlotUpdateRequest) String() string
- func (m *SubscribeSlotUpdateRequest) Validate() error
- func (m *SubscribeSlotUpdateRequest) ValidateAll() error
- type SubscribeSlotUpdateRequestMultiError
- type SubscribeSlotUpdateRequestValidationError
- func (e SubscribeSlotUpdateRequestValidationError) Cause() error
- func (e SubscribeSlotUpdateRequestValidationError) Error() string
- func (e SubscribeSlotUpdateRequestValidationError) ErrorName() string
- func (e SubscribeSlotUpdateRequestValidationError) Field() string
- func (e SubscribeSlotUpdateRequestValidationError) Key() bool
- func (e SubscribeSlotUpdateRequestValidationError) Reason() string
- 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
- func (m *SubscribeTransactionUpdatesRequest) Validate() error
- func (m *SubscribeTransactionUpdatesRequest) ValidateAll() error
- type SubscribeTransactionUpdatesRequestMultiError
- type SubscribeTransactionUpdatesRequestValidationError
- func (e SubscribeTransactionUpdatesRequestValidationError) Cause() error
- func (e SubscribeTransactionUpdatesRequestValidationError) Error() string
- func (e SubscribeTransactionUpdatesRequestValidationError) ErrorName() string
- func (e SubscribeTransactionUpdatesRequestValidationError) Field() string
- func (e SubscribeTransactionUpdatesRequestValidationError) Key() bool
- func (e SubscribeTransactionUpdatesRequestValidationError) Reason() string
- type TimestampedAccountUpdate
- func (*TimestampedAccountUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedAccountUpdate) GetAccountUpdate() *AccountUpdate
- func (x *TimestampedAccountUpdate) GetTs() *timestamp.Timestamp
- func (*TimestampedAccountUpdate) ProtoMessage()
- func (x *TimestampedAccountUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedAccountUpdate) Reset()
- func (x *TimestampedAccountUpdate) String() string
- func (m *TimestampedAccountUpdate) Validate() error
- func (m *TimestampedAccountUpdate) ValidateAll() error
- type TimestampedAccountUpdateMultiError
- type TimestampedAccountUpdateValidationError
- func (e TimestampedAccountUpdateValidationError) Cause() error
- func (e TimestampedAccountUpdateValidationError) Error() string
- func (e TimestampedAccountUpdateValidationError) ErrorName() string
- func (e TimestampedAccountUpdateValidationError) Field() string
- func (e TimestampedAccountUpdateValidationError) Key() bool
- func (e TimestampedAccountUpdateValidationError) Reason() string
- type TimestampedBlockUpdate
- func (*TimestampedBlockUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedBlockUpdate) GetBlockUpdate() *BlockUpdate
- func (x *TimestampedBlockUpdate) GetTs() *timestamp.Timestamp
- func (*TimestampedBlockUpdate) ProtoMessage()
- func (x *TimestampedBlockUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedBlockUpdate) Reset()
- func (x *TimestampedBlockUpdate) String() string
- func (m *TimestampedBlockUpdate) Validate() error
- func (m *TimestampedBlockUpdate) ValidateAll() error
- type TimestampedBlockUpdateMultiError
- type TimestampedBlockUpdateValidationError
- func (e TimestampedBlockUpdateValidationError) Cause() error
- func (e TimestampedBlockUpdateValidationError) Error() string
- func (e TimestampedBlockUpdateValidationError) ErrorName() string
- func (e TimestampedBlockUpdateValidationError) Field() string
- func (e TimestampedBlockUpdateValidationError) Key() bool
- func (e TimestampedBlockUpdateValidationError) Reason() string
- type TimestampedSlotUpdate
- func (*TimestampedSlotUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedSlotUpdate) GetSlotUpdate() *SlotUpdate
- func (x *TimestampedSlotUpdate) GetTs() *timestamp.Timestamp
- func (*TimestampedSlotUpdate) ProtoMessage()
- func (x *TimestampedSlotUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedSlotUpdate) Reset()
- func (x *TimestampedSlotUpdate) String() string
- func (m *TimestampedSlotUpdate) Validate() error
- func (m *TimestampedSlotUpdate) ValidateAll() error
- type TimestampedSlotUpdateMultiError
- type TimestampedSlotUpdateValidationError
- func (e TimestampedSlotUpdateValidationError) Cause() error
- func (e TimestampedSlotUpdateValidationError) Error() string
- func (e TimestampedSlotUpdateValidationError) ErrorName() string
- func (e TimestampedSlotUpdateValidationError) Field() string
- func (e TimestampedSlotUpdateValidationError) Key() bool
- func (e TimestampedSlotUpdateValidationError) Reason() string
- type TimestampedTransactionUpdate
- func (*TimestampedTransactionUpdate) Descriptor() ([]byte, []int)deprecated
- func (x *TimestampedTransactionUpdate) GetTransaction() *TransactionUpdate
- func (x *TimestampedTransactionUpdate) GetTs() *timestamp.Timestamp
- func (*TimestampedTransactionUpdate) ProtoMessage()
- func (x *TimestampedTransactionUpdate) ProtoReflect() protoreflect.Message
- func (x *TimestampedTransactionUpdate) Reset()
- func (x *TimestampedTransactionUpdate) String() string
- func (m *TimestampedTransactionUpdate) Validate() error
- func (m *TimestampedTransactionUpdate) ValidateAll() error
- type TimestampedTransactionUpdateMultiError
- type TimestampedTransactionUpdateValidationError
- func (e TimestampedTransactionUpdateValidationError) Cause() error
- func (e TimestampedTransactionUpdateValidationError) Error() string
- func (e TimestampedTransactionUpdateValidationError) ErrorName() string
- func (e TimestampedTransactionUpdateValidationError) Field() string
- func (e TimestampedTransactionUpdateValidationError) Key() bool
- func (e TimestampedTransactionUpdateValidationError) Reason() 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
- func (m *TokenBalance) Validate() error
- func (m *TokenBalance) ValidateAll() error
- type TokenBalanceMultiError
- type TokenBalanceValidationError
- func (e TokenBalanceValidationError) Cause() error
- func (e TokenBalanceValidationError) Error() string
- func (e TokenBalanceValidationError) ErrorName() string
- func (e TokenBalanceValidationError) Field() string
- func (e TokenBalanceValidationError) Key() bool
- func (e TokenBalanceValidationError) Reason() 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
- func (m *Transaction) Validate() error
- func (m *Transaction) ValidateAll() error
- type TransactionError
- func (*TransactionError) Descriptor() ([]byte, []int)deprecated
- func (x *TransactionError) GetErr() []byte
- func (*TransactionError) ProtoMessage()
- func (x *TransactionError) ProtoReflect() protoreflect.Message
- func (x *TransactionError) Reset()
- func (x *TransactionError) String() string
- func (m *TransactionError) Validate() error
- func (m *TransactionError) ValidateAll() error
- type TransactionErrorMultiError
- type TransactionErrorValidationError
- func (e TransactionErrorValidationError) Cause() error
- func (e TransactionErrorValidationError) Error() string
- func (e TransactionErrorValidationError) ErrorName() string
- func (e TransactionErrorValidationError) Field() string
- func (e TransactionErrorValidationError) Key() bool
- func (e TransactionErrorValidationError) Reason() string
- type TransactionMultiError
- 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
- func (m *TransactionStatusMeta) Validate() error
- func (m *TransactionStatusMeta) ValidateAll() error
- type TransactionStatusMetaMultiError
- type TransactionStatusMetaValidationError
- func (e TransactionStatusMetaValidationError) Cause() error
- func (e TransactionStatusMetaValidationError) Error() string
- func (e TransactionStatusMetaValidationError) ErrorName() string
- func (e TransactionStatusMetaValidationError) Field() string
- func (e TransactionStatusMetaValidationError) Key() bool
- func (e TransactionStatusMetaValidationError) Reason() 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
- func (m *TransactionUpdate) Validate() error
- func (m *TransactionUpdate) ValidateAll() error
- type TransactionUpdateMultiError
- type TransactionUpdateValidationError
- func (e TransactionUpdateValidationError) Cause() error
- func (e TransactionUpdateValidationError) Error() string
- func (e TransactionUpdateValidationError) ErrorName() string
- func (e TransactionUpdateValidationError) Field() string
- func (e TransactionUpdateValidationError) Key() bool
- func (e TransactionUpdateValidationError) Reason() string
- type TransactionValidationError
- func (e TransactionValidationError) Cause() error
- func (e TransactionValidationError) Error() string
- func (e TransactionValidationError) ErrorName() string
- func (e TransactionValidationError) Field() string
- func (e TransactionValidationError) Key() bool
- func (e TransactionValidationError) Reason() 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
- func (m *UiTokenAmount) Validate() error
- func (m *UiTokenAmount) ValidateAll() error
- type UiTokenAmountMultiError
- type UiTokenAmountValidationError
- func (e UiTokenAmountValidationError) Cause() error
- func (e UiTokenAmountValidationError) Error() string
- func (e UiTokenAmountValidationError) ErrorName() string
- func (e UiTokenAmountValidationError) Field() string
- func (e UiTokenAmountValidationError) Key() bool
- func (e UiTokenAmountValidationError) Reason() string
- type UnimplementedGeyserServer
- func (UnimplementedGeyserServer) GetHeartbeatInterval(context.Context, *EmptyRequest) (*GetHeartbeatIntervalResponse, error)
- func (UnimplementedGeyserServer) SubscribeAccountUpdates(*SubscribeAccountUpdatesRequest, Geyser_SubscribeAccountUpdatesServer) error
- func (UnimplementedGeyserServer) SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, Geyser_SubscribeBlockUpdatesServer) error
- func (UnimplementedGeyserServer) SubscribePartialAccountUpdates(*SubscribePartialAccountUpdatesRequest, ...) error
- func (UnimplementedGeyserServer) SubscribeProgramUpdates(*SubscribeProgramsUpdatesRequest, Geyser_SubscribeProgramUpdatesServer) error
- func (UnimplementedGeyserServer) SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, Geyser_SubscribeSlotUpdatesServer) error
- func (UnimplementedGeyserServer) SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, Geyser_SubscribeTransactionUpdatesServer) error
- type UnixTimestamp
- func (*UnixTimestamp) Descriptor() ([]byte, []int)deprecated
- func (x *UnixTimestamp) GetTimestamp() int64
- func (*UnixTimestamp) ProtoMessage()
- func (x *UnixTimestamp) ProtoReflect() protoreflect.Message
- func (x *UnixTimestamp) Reset()
- func (x *UnixTimestamp) String() string
- func (m *UnixTimestamp) Validate() error
- func (m *UnixTimestamp) ValidateAll() error
- type UnixTimestampMultiError
- type UnixTimestampValidationError
- func (e UnixTimestampValidationError) Cause() error
- func (e UnixTimestampValidationError) Error() string
- func (e UnixTimestampValidationError) ErrorName() string
- func (e UnixTimestampValidationError) Field() string
- func (e UnixTimestampValidationError) Key() bool
- func (e UnixTimestampValidationError) Reason() string
- type UnsafeGeyserServer
Constants ¶
This section is empty.
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 File_confirmed_block_proto protoreflect.FileDescriptor
var File_geyser_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, }, }, 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
func (*AccountUpdate) Validate ¶
func (m *AccountUpdate) Validate() error
Validate checks the field values on AccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*AccountUpdate) ValidateAll ¶
func (m *AccountUpdate) ValidateAll() error
ValidateAll checks the field values on AccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AccountUpdateMultiError, or nil if none found.
type AccountUpdateMultiError ¶
type AccountUpdateMultiError []error
AccountUpdateMultiError is an error wrapping multiple validation errors returned by AccountUpdate.ValidateAll() if the designated constraints aren't met.
func (AccountUpdateMultiError) AllErrors ¶
func (m AccountUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AccountUpdateMultiError) Error ¶
func (m AccountUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AccountUpdateValidationError ¶
type AccountUpdateValidationError struct {
// contains filtered or unexported fields
}
AccountUpdateValidationError is the validation error returned by AccountUpdate.Validate if the designated constraints aren't met.
func (AccountUpdateValidationError) Cause ¶
func (e AccountUpdateValidationError) Cause() error
Cause function returns cause value.
func (AccountUpdateValidationError) Error ¶
func (e AccountUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (AccountUpdateValidationError) ErrorName ¶
func (e AccountUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (AccountUpdateValidationError) Field ¶
func (e AccountUpdateValidationError) Field() string
Field function returns field value.
func (AccountUpdateValidationError) Key ¶
func (e AccountUpdateValidationError) Key() bool
Key function returns key value.
func (AccountUpdateValidationError) Reason ¶
func (e AccountUpdateValidationError) Reason() string
Reason function returns reason value.
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
func (*BlockHeight) Validate ¶
func (m *BlockHeight) Validate() error
Validate checks the field values on BlockHeight with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BlockHeight) ValidateAll ¶
func (m *BlockHeight) ValidateAll() error
ValidateAll checks the field values on BlockHeight with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BlockHeightMultiError, or nil if none found.
type BlockHeightMultiError ¶
type BlockHeightMultiError []error
BlockHeightMultiError is an error wrapping multiple validation errors returned by BlockHeight.ValidateAll() if the designated constraints aren't met.
func (BlockHeightMultiError) AllErrors ¶
func (m BlockHeightMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BlockHeightMultiError) Error ¶
func (m BlockHeightMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BlockHeightValidationError ¶
type BlockHeightValidationError struct {
// contains filtered or unexported fields
}
BlockHeightValidationError is the validation error returned by BlockHeight.Validate if the designated constraints aren't met.
func (BlockHeightValidationError) Cause ¶
func (e BlockHeightValidationError) Cause() error
Cause function returns cause value.
func (BlockHeightValidationError) Error ¶
func (e BlockHeightValidationError) Error() string
Error satisfies the builtin error interface
func (BlockHeightValidationError) ErrorName ¶
func (e BlockHeightValidationError) ErrorName() string
ErrorName returns error name.
func (BlockHeightValidationError) Field ¶
func (e BlockHeightValidationError) Field() string
Field function returns field value.
func (BlockHeightValidationError) Key ¶
func (e BlockHeightValidationError) Key() bool
Key function returns key value.
func (BlockHeightValidationError) Reason ¶
func (e BlockHeightValidationError) Reason() string
Reason function returns reason value.
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 *timestamp.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"` // 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() *timestamp.Timestamp
func (*BlockUpdate) GetBlockhash ¶
func (x *BlockUpdate) GetBlockhash() string
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
func (*BlockUpdate) Validate ¶
func (m *BlockUpdate) Validate() error
Validate checks the field values on BlockUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*BlockUpdate) ValidateAll ¶
func (m *BlockUpdate) ValidateAll() error
ValidateAll checks the field values on BlockUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in BlockUpdateMultiError, or nil if none found.
type BlockUpdateMultiError ¶
type BlockUpdateMultiError []error
BlockUpdateMultiError is an error wrapping multiple validation errors returned by BlockUpdate.ValidateAll() if the designated constraints aren't met.
func (BlockUpdateMultiError) AllErrors ¶
func (m BlockUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (BlockUpdateMultiError) Error ¶
func (m BlockUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type BlockUpdateValidationError ¶
type BlockUpdateValidationError struct {
// contains filtered or unexported fields
}
BlockUpdateValidationError is the validation error returned by BlockUpdate.Validate if the designated constraints aren't met.
func (BlockUpdateValidationError) Cause ¶
func (e BlockUpdateValidationError) Cause() error
Cause function returns cause value.
func (BlockUpdateValidationError) Error ¶
func (e BlockUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (BlockUpdateValidationError) ErrorName ¶
func (e BlockUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (BlockUpdateValidationError) Field ¶
func (e BlockUpdateValidationError) Field() string
Field function returns field value.
func (BlockUpdateValidationError) Key ¶
func (e BlockUpdateValidationError) Key() bool
Key function returns key value.
func (BlockUpdateValidationError) Reason ¶
func (e BlockUpdateValidationError) Reason() string
Reason function returns reason value.
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
func (*CompiledInstruction) Validate ¶
func (m *CompiledInstruction) Validate() error
Validate checks the field values on CompiledInstruction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CompiledInstruction) ValidateAll ¶
func (m *CompiledInstruction) ValidateAll() error
ValidateAll checks the field values on CompiledInstruction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CompiledInstructionMultiError, or nil if none found.
type CompiledInstructionMultiError ¶
type CompiledInstructionMultiError []error
CompiledInstructionMultiError is an error wrapping multiple validation errors returned by CompiledInstruction.ValidateAll() if the designated constraints aren't met.
func (CompiledInstructionMultiError) AllErrors ¶
func (m CompiledInstructionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CompiledInstructionMultiError) Error ¶
func (m CompiledInstructionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CompiledInstructionValidationError ¶
type CompiledInstructionValidationError struct {
// contains filtered or unexported fields
}
CompiledInstructionValidationError is the validation error returned by CompiledInstruction.Validate if the designated constraints aren't met.
func (CompiledInstructionValidationError) Cause ¶
func (e CompiledInstructionValidationError) Cause() error
Cause function returns cause value.
func (CompiledInstructionValidationError) Error ¶
func (e CompiledInstructionValidationError) Error() string
Error satisfies the builtin error interface
func (CompiledInstructionValidationError) ErrorName ¶
func (e CompiledInstructionValidationError) ErrorName() string
ErrorName returns error name.
func (CompiledInstructionValidationError) Field ¶
func (e CompiledInstructionValidationError) Field() string
Field function returns field value.
func (CompiledInstructionValidationError) Key ¶
func (e CompiledInstructionValidationError) Key() bool
Key function returns key value.
func (CompiledInstructionValidationError) Reason ¶
func (e CompiledInstructionValidationError) Reason() string
Reason function returns reason value.
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"` // 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) 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
func (*ConfirmedBlock) Validate ¶
func (m *ConfirmedBlock) Validate() error
Validate checks the field values on ConfirmedBlock with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfirmedBlock) ValidateAll ¶
func (m *ConfirmedBlock) ValidateAll() error
ValidateAll checks the field values on ConfirmedBlock with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfirmedBlockMultiError, or nil if none found.
type ConfirmedBlockMultiError ¶
type ConfirmedBlockMultiError []error
ConfirmedBlockMultiError is an error wrapping multiple validation errors returned by ConfirmedBlock.ValidateAll() if the designated constraints aren't met.
func (ConfirmedBlockMultiError) AllErrors ¶
func (m ConfirmedBlockMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfirmedBlockMultiError) Error ¶
func (m ConfirmedBlockMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfirmedBlockValidationError ¶
type ConfirmedBlockValidationError struct {
// contains filtered or unexported fields
}
ConfirmedBlockValidationError is the validation error returned by ConfirmedBlock.Validate if the designated constraints aren't met.
func (ConfirmedBlockValidationError) Cause ¶
func (e ConfirmedBlockValidationError) Cause() error
Cause function returns cause value.
func (ConfirmedBlockValidationError) Error ¶
func (e ConfirmedBlockValidationError) Error() string
Error satisfies the builtin error interface
func (ConfirmedBlockValidationError) ErrorName ¶
func (e ConfirmedBlockValidationError) ErrorName() string
ErrorName returns error name.
func (ConfirmedBlockValidationError) Field ¶
func (e ConfirmedBlockValidationError) Field() string
Field function returns field value.
func (ConfirmedBlockValidationError) Key ¶
func (e ConfirmedBlockValidationError) Key() bool
Key function returns key value.
func (ConfirmedBlockValidationError) Reason ¶
func (e ConfirmedBlockValidationError) Reason() string
Reason function returns reason value.
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
func (*ConfirmedTransaction) Validate ¶
func (m *ConfirmedTransaction) Validate() error
Validate checks the field values on ConfirmedTransaction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ConfirmedTransaction) ValidateAll ¶
func (m *ConfirmedTransaction) ValidateAll() error
ValidateAll checks the field values on ConfirmedTransaction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ConfirmedTransactionMultiError, or nil if none found.
type ConfirmedTransactionMultiError ¶
type ConfirmedTransactionMultiError []error
ConfirmedTransactionMultiError is an error wrapping multiple validation errors returned by ConfirmedTransaction.ValidateAll() if the designated constraints aren't met.
func (ConfirmedTransactionMultiError) AllErrors ¶
func (m ConfirmedTransactionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ConfirmedTransactionMultiError) Error ¶
func (m ConfirmedTransactionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ConfirmedTransactionValidationError ¶
type ConfirmedTransactionValidationError struct {
// contains filtered or unexported fields
}
ConfirmedTransactionValidationError is the validation error returned by ConfirmedTransaction.Validate if the designated constraints aren't met.
func (ConfirmedTransactionValidationError) Cause ¶
func (e ConfirmedTransactionValidationError) Cause() error
Cause function returns cause value.
func (ConfirmedTransactionValidationError) Error ¶
func (e ConfirmedTransactionValidationError) Error() string
Error satisfies the builtin error interface
func (ConfirmedTransactionValidationError) ErrorName ¶
func (e ConfirmedTransactionValidationError) ErrorName() string
ErrorName returns error name.
func (ConfirmedTransactionValidationError) Field ¶
func (e ConfirmedTransactionValidationError) Field() string
Field function returns field value.
func (ConfirmedTransactionValidationError) Key ¶
func (e ConfirmedTransactionValidationError) Key() bool
Key function returns key value.
func (ConfirmedTransactionValidationError) Reason ¶
func (e ConfirmedTransactionValidationError) Reason() string
Reason function returns reason value.
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
func (*EmptyRequest) Validate ¶
func (m *EmptyRequest) Validate() error
Validate checks the field values on EmptyRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EmptyRequest) ValidateAll ¶
func (m *EmptyRequest) ValidateAll() error
ValidateAll checks the field values on EmptyRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EmptyRequestMultiError, or nil if none found.
type EmptyRequestMultiError ¶
type EmptyRequestMultiError []error
EmptyRequestMultiError is an error wrapping multiple validation errors returned by EmptyRequest.ValidateAll() if the designated constraints aren't met.
func (EmptyRequestMultiError) AllErrors ¶
func (m EmptyRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EmptyRequestMultiError) Error ¶
func (m EmptyRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EmptyRequestValidationError ¶
type EmptyRequestValidationError struct {
// contains filtered or unexported fields
}
EmptyRequestValidationError is the validation error returned by EmptyRequest.Validate if the designated constraints aren't met.
func (EmptyRequestValidationError) Cause ¶
func (e EmptyRequestValidationError) Cause() error
Cause function returns cause value.
func (EmptyRequestValidationError) Error ¶
func (e EmptyRequestValidationError) Error() string
Error satisfies the builtin error interface
func (EmptyRequestValidationError) ErrorName ¶
func (e EmptyRequestValidationError) ErrorName() string
ErrorName returns error name.
func (EmptyRequestValidationError) Field ¶
func (e EmptyRequestValidationError) Field() string
Field function returns field value.
func (EmptyRequestValidationError) Key ¶
func (e EmptyRequestValidationError) Key() bool
Key function returns key value.
func (EmptyRequestValidationError) Reason ¶
func (e EmptyRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*GetHeartbeatIntervalResponse) Validate ¶
func (m *GetHeartbeatIntervalResponse) Validate() error
Validate checks the field values on GetHeartbeatIntervalResponse with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*GetHeartbeatIntervalResponse) ValidateAll ¶
func (m *GetHeartbeatIntervalResponse) ValidateAll() error
ValidateAll checks the field values on GetHeartbeatIntervalResponse with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetHeartbeatIntervalResponseMultiError, or nil if none found.
type GetHeartbeatIntervalResponseMultiError ¶
type GetHeartbeatIntervalResponseMultiError []error
GetHeartbeatIntervalResponseMultiError is an error wrapping multiple validation errors returned by GetHeartbeatIntervalResponse.ValidateAll() if the designated constraints aren't met.
func (GetHeartbeatIntervalResponseMultiError) AllErrors ¶
func (m GetHeartbeatIntervalResponseMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (GetHeartbeatIntervalResponseMultiError) Error ¶
func (m GetHeartbeatIntervalResponseMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type GetHeartbeatIntervalResponseValidationError ¶
type GetHeartbeatIntervalResponseValidationError struct {
// contains filtered or unexported fields
}
GetHeartbeatIntervalResponseValidationError is the validation error returned by GetHeartbeatIntervalResponse.Validate if the designated constraints aren't met.
func (GetHeartbeatIntervalResponseValidationError) Cause ¶
func (e GetHeartbeatIntervalResponseValidationError) Cause() error
Cause function returns cause value.
func (GetHeartbeatIntervalResponseValidationError) Error ¶
func (e GetHeartbeatIntervalResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetHeartbeatIntervalResponseValidationError) ErrorName ¶
func (e GetHeartbeatIntervalResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetHeartbeatIntervalResponseValidationError) Field ¶
func (e GetHeartbeatIntervalResponseValidationError) Field() string
Field function returns field value.
func (GetHeartbeatIntervalResponseValidationError) Key ¶
func (e GetHeartbeatIntervalResponseValidationError) Key() bool
Key function returns key value.
func (GetHeartbeatIntervalResponseValidationError) Reason ¶
func (e GetHeartbeatIntervalResponseValidationError) Reason() string
Reason function returns reason value.
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) (Geyser_SubscribeAccountUpdatesClient, 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) (Geyser_SubscribeProgramUpdatesClient, 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) (Geyser_SubscribePartialAccountUpdatesClient, 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) (Geyser_SubscribeSlotUpdatesClient, error) // Subscribes to transaction updates. SubscribeTransactionUpdates(ctx context.Context, in *SubscribeTransactionUpdatesRequest, opts ...grpc.CallOption) (Geyser_SubscribeTransactionUpdatesClient, error) // Subscribes to block updates. SubscribeBlockUpdates(ctx context.Context, in *SubscribeBlockUpdatesRequest, opts ...grpc.CallOption) (Geyser_SubscribeBlockUpdatesClient, 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.
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, Geyser_SubscribeAccountUpdatesServer) 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, Geyser_SubscribeProgramUpdatesServer) 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, Geyser_SubscribePartialAccountUpdatesServer) error // Subscribes to slot updates. // Returns the highest slot seen thus far in the http headers named `highest-write-slot`. SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, Geyser_SubscribeSlotUpdatesServer) error // Subscribes to transaction updates. SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, Geyser_SubscribeTransactionUpdatesServer) error // Subscribes to block updates. SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, Geyser_SubscribeBlockUpdatesServer) error // contains filtered or unexported methods }
GeyserServer is the server API for Geyser service. All implementations must embed UnimplementedGeyserServer for forward compatibility
type Geyser_SubscribeAccountUpdatesClient ¶
type Geyser_SubscribeAccountUpdatesClient interface { Recv() (*TimestampedAccountUpdate, error) grpc.ClientStream }
type Geyser_SubscribeAccountUpdatesServer ¶
type Geyser_SubscribeAccountUpdatesServer interface { Send(*TimestampedAccountUpdate) error grpc.ServerStream }
type Geyser_SubscribeBlockUpdatesClient ¶
type Geyser_SubscribeBlockUpdatesClient interface { Recv() (*TimestampedBlockUpdate, error) grpc.ClientStream }
type Geyser_SubscribeBlockUpdatesServer ¶
type Geyser_SubscribeBlockUpdatesServer interface { Send(*TimestampedBlockUpdate) error grpc.ServerStream }
type Geyser_SubscribePartialAccountUpdatesClient ¶
type Geyser_SubscribePartialAccountUpdatesClient interface { Recv() (*MaybePartialAccountUpdate, error) grpc.ClientStream }
type Geyser_SubscribePartialAccountUpdatesServer ¶
type Geyser_SubscribePartialAccountUpdatesServer interface { Send(*MaybePartialAccountUpdate) error grpc.ServerStream }
type Geyser_SubscribeProgramUpdatesClient ¶
type Geyser_SubscribeProgramUpdatesClient interface { Recv() (*TimestampedAccountUpdate, error) grpc.ClientStream }
type Geyser_SubscribeProgramUpdatesServer ¶
type Geyser_SubscribeProgramUpdatesServer interface { Send(*TimestampedAccountUpdate) error grpc.ServerStream }
type Geyser_SubscribeSlotUpdatesClient ¶
type Geyser_SubscribeSlotUpdatesClient interface { Recv() (*TimestampedSlotUpdate, error) grpc.ClientStream }
type Geyser_SubscribeSlotUpdatesServer ¶
type Geyser_SubscribeSlotUpdatesServer interface { Send(*TimestampedSlotUpdate) error grpc.ServerStream }
type Geyser_SubscribeTransactionUpdatesClient ¶
type Geyser_SubscribeTransactionUpdatesClient interface { Recv() (*TimestampedTransactionUpdate, error) grpc.ClientStream }
type Geyser_SubscribeTransactionUpdatesServer ¶
type Geyser_SubscribeTransactionUpdatesServer interface { Send(*TimestampedTransactionUpdate) error grpc.ServerStream }
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
func (*Heartbeat) Validate ¶
Validate checks the field values on Heartbeat with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Heartbeat) ValidateAll ¶
ValidateAll checks the field values on Heartbeat with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in HeartbeatMultiError, or nil if none found.
type HeartbeatMultiError ¶
type HeartbeatMultiError []error
HeartbeatMultiError is an error wrapping multiple validation errors returned by Heartbeat.ValidateAll() if the designated constraints aren't met.
func (HeartbeatMultiError) AllErrors ¶
func (m HeartbeatMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (HeartbeatMultiError) Error ¶
func (m HeartbeatMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type HeartbeatValidationError ¶
type HeartbeatValidationError struct {
// contains filtered or unexported fields
}
HeartbeatValidationError is the validation error returned by Heartbeat.Validate if the designated constraints aren't met.
func (HeartbeatValidationError) Cause ¶
func (e HeartbeatValidationError) Cause() error
Cause function returns cause value.
func (HeartbeatValidationError) Error ¶
func (e HeartbeatValidationError) Error() string
Error satisfies the builtin error interface
func (HeartbeatValidationError) ErrorName ¶
func (e HeartbeatValidationError) ErrorName() string
ErrorName returns error name.
func (HeartbeatValidationError) Field ¶
func (e HeartbeatValidationError) Field() string
Field function returns field value.
func (HeartbeatValidationError) Key ¶
func (e HeartbeatValidationError) Key() bool
Key function returns key value.
func (HeartbeatValidationError) Reason ¶
func (e HeartbeatValidationError) Reason() string
Reason function returns reason value.
type InnerInstructions ¶
type InnerInstructions struct { Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"` Instructions []*CompiledInstruction `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() []*CompiledInstruction
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
func (*InnerInstructions) Validate ¶
func (m *InnerInstructions) Validate() error
Validate checks the field values on InnerInstructions with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*InnerInstructions) ValidateAll ¶
func (m *InnerInstructions) ValidateAll() error
ValidateAll checks the field values on InnerInstructions with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in InnerInstructionsMultiError, or nil if none found.
type InnerInstructionsMultiError ¶
type InnerInstructionsMultiError []error
InnerInstructionsMultiError is an error wrapping multiple validation errors returned by InnerInstructions.ValidateAll() if the designated constraints aren't met.
func (InnerInstructionsMultiError) AllErrors ¶
func (m InnerInstructionsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (InnerInstructionsMultiError) Error ¶
func (m InnerInstructionsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type InnerInstructionsValidationError ¶
type InnerInstructionsValidationError struct {
// contains filtered or unexported fields
}
InnerInstructionsValidationError is the validation error returned by InnerInstructions.Validate if the designated constraints aren't met.
func (InnerInstructionsValidationError) Cause ¶
func (e InnerInstructionsValidationError) Cause() error
Cause function returns cause value.
func (InnerInstructionsValidationError) Error ¶
func (e InnerInstructionsValidationError) Error() string
Error satisfies the builtin error interface
func (InnerInstructionsValidationError) ErrorName ¶
func (e InnerInstructionsValidationError) ErrorName() string
ErrorName returns error name.
func (InnerInstructionsValidationError) Field ¶
func (e InnerInstructionsValidationError) Field() string
Field function returns field value.
func (InnerInstructionsValidationError) Key ¶
func (e InnerInstructionsValidationError) Key() bool
Key function returns key value.
func (InnerInstructionsValidationError) Reason ¶
func (e InnerInstructionsValidationError) Reason() string
Reason function returns reason value.
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
func (*MaybePartialAccountUpdate) Validate ¶
func (m *MaybePartialAccountUpdate) Validate() error
Validate checks the field values on MaybePartialAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MaybePartialAccountUpdate) ValidateAll ¶
func (m *MaybePartialAccountUpdate) ValidateAll() error
ValidateAll checks the field values on MaybePartialAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MaybePartialAccountUpdateMultiError, or nil if none found.
type MaybePartialAccountUpdateMultiError ¶
type MaybePartialAccountUpdateMultiError []error
MaybePartialAccountUpdateMultiError is an error wrapping multiple validation errors returned by MaybePartialAccountUpdate.ValidateAll() if the designated constraints aren't met.
func (MaybePartialAccountUpdateMultiError) AllErrors ¶
func (m MaybePartialAccountUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MaybePartialAccountUpdateMultiError) Error ¶
func (m MaybePartialAccountUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MaybePartialAccountUpdateValidationError ¶
type MaybePartialAccountUpdateValidationError struct {
// contains filtered or unexported fields
}
MaybePartialAccountUpdateValidationError is the validation error returned by MaybePartialAccountUpdate.Validate if the designated constraints aren't met.
func (MaybePartialAccountUpdateValidationError) Cause ¶
func (e MaybePartialAccountUpdateValidationError) Cause() error
Cause function returns cause value.
func (MaybePartialAccountUpdateValidationError) Error ¶
func (e MaybePartialAccountUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (MaybePartialAccountUpdateValidationError) ErrorName ¶
func (e MaybePartialAccountUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (MaybePartialAccountUpdateValidationError) Field ¶
func (e MaybePartialAccountUpdateValidationError) Field() string
Field function returns field value.
func (MaybePartialAccountUpdateValidationError) Key ¶
func (e MaybePartialAccountUpdateValidationError) Key() bool
Key function returns key value.
func (MaybePartialAccountUpdateValidationError) Reason ¶
func (e MaybePartialAccountUpdateValidationError) Reason() string
Reason function returns reason value.
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 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
func (*Message) Validate ¶
Validate checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Message) ValidateAll ¶
ValidateAll checks the field values on Message with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageMultiError, or nil if none found.
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
func (*MessageAddressTableLookup) Validate ¶
func (m *MessageAddressTableLookup) Validate() error
Validate checks the field values on MessageAddressTableLookup with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageAddressTableLookup) ValidateAll ¶
func (m *MessageAddressTableLookup) ValidateAll() error
ValidateAll checks the field values on MessageAddressTableLookup with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageAddressTableLookupMultiError, or nil if none found.
type MessageAddressTableLookupMultiError ¶
type MessageAddressTableLookupMultiError []error
MessageAddressTableLookupMultiError is an error wrapping multiple validation errors returned by MessageAddressTableLookup.ValidateAll() if the designated constraints aren't met.
func (MessageAddressTableLookupMultiError) AllErrors ¶
func (m MessageAddressTableLookupMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageAddressTableLookupMultiError) Error ¶
func (m MessageAddressTableLookupMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageAddressTableLookupValidationError ¶
type MessageAddressTableLookupValidationError struct {
// contains filtered or unexported fields
}
MessageAddressTableLookupValidationError is the validation error returned by MessageAddressTableLookup.Validate if the designated constraints aren't met.
func (MessageAddressTableLookupValidationError) Cause ¶
func (e MessageAddressTableLookupValidationError) Cause() error
Cause function returns cause value.
func (MessageAddressTableLookupValidationError) Error ¶
func (e MessageAddressTableLookupValidationError) Error() string
Error satisfies the builtin error interface
func (MessageAddressTableLookupValidationError) ErrorName ¶
func (e MessageAddressTableLookupValidationError) ErrorName() string
ErrorName returns error name.
func (MessageAddressTableLookupValidationError) Field ¶
func (e MessageAddressTableLookupValidationError) Field() string
Field function returns field value.
func (MessageAddressTableLookupValidationError) Key ¶
func (e MessageAddressTableLookupValidationError) Key() bool
Key function returns key value.
func (MessageAddressTableLookupValidationError) Reason ¶
func (e MessageAddressTableLookupValidationError) Reason() string
Reason function returns reason value.
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
func (*MessageHeader) Validate ¶
func (m *MessageHeader) Validate() error
Validate checks the field values on MessageHeader with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*MessageHeader) ValidateAll ¶
func (m *MessageHeader) ValidateAll() error
ValidateAll checks the field values on MessageHeader with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in MessageHeaderMultiError, or nil if none found.
type MessageHeaderMultiError ¶
type MessageHeaderMultiError []error
MessageHeaderMultiError is an error wrapping multiple validation errors returned by MessageHeader.ValidateAll() if the designated constraints aren't met.
func (MessageHeaderMultiError) AllErrors ¶
func (m MessageHeaderMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageHeaderMultiError) Error ¶
func (m MessageHeaderMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageHeaderValidationError ¶
type MessageHeaderValidationError struct {
// contains filtered or unexported fields
}
MessageHeaderValidationError is the validation error returned by MessageHeader.Validate if the designated constraints aren't met.
func (MessageHeaderValidationError) Cause ¶
func (e MessageHeaderValidationError) Cause() error
Cause function returns cause value.
func (MessageHeaderValidationError) Error ¶
func (e MessageHeaderValidationError) Error() string
Error satisfies the builtin error interface
func (MessageHeaderValidationError) ErrorName ¶
func (e MessageHeaderValidationError) ErrorName() string
ErrorName returns error name.
func (MessageHeaderValidationError) Field ¶
func (e MessageHeaderValidationError) Field() string
Field function returns field value.
func (MessageHeaderValidationError) Key ¶
func (e MessageHeaderValidationError) Key() bool
Key function returns key value.
func (MessageHeaderValidationError) Reason ¶
func (e MessageHeaderValidationError) Reason() string
Reason function returns reason value.
type MessageMultiError ¶
type MessageMultiError []error
MessageMultiError is an error wrapping multiple validation errors returned by Message.ValidateAll() if the designated constraints aren't met.
func (MessageMultiError) AllErrors ¶
func (m MessageMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (MessageMultiError) Error ¶
func (m MessageMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type MessageValidationError ¶
type MessageValidationError struct {
// contains filtered or unexported fields
}
MessageValidationError is the validation error returned by Message.Validate if the designated constraints aren't met.
func (MessageValidationError) Cause ¶
func (e MessageValidationError) Cause() error
Cause function returns cause value.
func (MessageValidationError) Error ¶
func (e MessageValidationError) Error() string
Error satisfies the builtin error interface
func (MessageValidationError) ErrorName ¶
func (e MessageValidationError) ErrorName() string
ErrorName returns error name.
func (MessageValidationError) Field ¶
func (e MessageValidationError) Field() string
Field function returns field value.
func (MessageValidationError) Key ¶
func (e MessageValidationError) Key() bool
Key function returns key value.
func (MessageValidationError) Reason ¶
func (e MessageValidationError) Reason() string
Reason function returns reason value.
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
func (*PartialAccountUpdate) Validate ¶
func (m *PartialAccountUpdate) Validate() error
Validate checks the field values on PartialAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PartialAccountUpdate) ValidateAll ¶
func (m *PartialAccountUpdate) ValidateAll() error
ValidateAll checks the field values on PartialAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PartialAccountUpdateMultiError, or nil if none found.
type PartialAccountUpdateMultiError ¶
type PartialAccountUpdateMultiError []error
PartialAccountUpdateMultiError is an error wrapping multiple validation errors returned by PartialAccountUpdate.ValidateAll() if the designated constraints aren't met.
func (PartialAccountUpdateMultiError) AllErrors ¶
func (m PartialAccountUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PartialAccountUpdateMultiError) Error ¶
func (m PartialAccountUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PartialAccountUpdateValidationError ¶
type PartialAccountUpdateValidationError struct {
// contains filtered or unexported fields
}
PartialAccountUpdateValidationError is the validation error returned by PartialAccountUpdate.Validate if the designated constraints aren't met.
func (PartialAccountUpdateValidationError) Cause ¶
func (e PartialAccountUpdateValidationError) Cause() error
Cause function returns cause value.
func (PartialAccountUpdateValidationError) Error ¶
func (e PartialAccountUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (PartialAccountUpdateValidationError) ErrorName ¶
func (e PartialAccountUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (PartialAccountUpdateValidationError) Field ¶
func (e PartialAccountUpdateValidationError) Field() string
Field function returns field value.
func (PartialAccountUpdateValidationError) Key ¶
func (e PartialAccountUpdateValidationError) Key() bool
Key function returns key value.
func (PartialAccountUpdateValidationError) Reason ¶
func (e PartialAccountUpdateValidationError) Reason() string
Reason function returns reason value.
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
func (*ReturnData) Validate ¶
func (m *ReturnData) Validate() error
Validate checks the field values on ReturnData with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ReturnData) ValidateAll ¶
func (m *ReturnData) ValidateAll() error
ValidateAll checks the field values on ReturnData with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ReturnDataMultiError, or nil if none found.
type ReturnDataMultiError ¶
type ReturnDataMultiError []error
ReturnDataMultiError is an error wrapping multiple validation errors returned by ReturnData.ValidateAll() if the designated constraints aren't met.
func (ReturnDataMultiError) AllErrors ¶
func (m ReturnDataMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ReturnDataMultiError) Error ¶
func (m ReturnDataMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ReturnDataValidationError ¶
type ReturnDataValidationError struct {
// contains filtered or unexported fields
}
ReturnDataValidationError is the validation error returned by ReturnData.Validate if the designated constraints aren't met.
func (ReturnDataValidationError) Cause ¶
func (e ReturnDataValidationError) Cause() error
Cause function returns cause value.
func (ReturnDataValidationError) Error ¶
func (e ReturnDataValidationError) Error() string
Error satisfies the builtin error interface
func (ReturnDataValidationError) ErrorName ¶
func (e ReturnDataValidationError) ErrorName() string
ErrorName returns error name.
func (ReturnDataValidationError) Field ¶
func (e ReturnDataValidationError) Field() string
Field function returns field value.
func (ReturnDataValidationError) Key ¶
func (e ReturnDataValidationError) Key() bool
Key function returns key value.
func (ReturnDataValidationError) Reason ¶
func (e ReturnDataValidationError) Reason() string
Reason function returns reason value.
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
func (*Reward) Validate ¶
Validate checks the field values on Reward with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Reward) ValidateAll ¶
ValidateAll checks the field values on Reward with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RewardMultiError, or nil if none found.
type RewardMultiError ¶
type RewardMultiError []error
RewardMultiError is an error wrapping multiple validation errors returned by Reward.ValidateAll() if the designated constraints aren't met.
func (RewardMultiError) AllErrors ¶
func (m RewardMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RewardMultiError) Error ¶
func (m RewardMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 RewardValidationError ¶
type RewardValidationError struct {
// contains filtered or unexported fields
}
RewardValidationError is the validation error returned by Reward.Validate if the designated constraints aren't met.
func (RewardValidationError) Cause ¶
func (e RewardValidationError) Cause() error
Cause function returns cause value.
func (RewardValidationError) Error ¶
func (e RewardValidationError) Error() string
Error satisfies the builtin error interface
func (RewardValidationError) ErrorName ¶
func (e RewardValidationError) ErrorName() string
ErrorName returns error name.
func (RewardValidationError) Field ¶
func (e RewardValidationError) Field() string
Field function returns field value.
func (RewardValidationError) Key ¶
func (e RewardValidationError) Key() bool
Key function returns key value.
func (RewardValidationError) Reason ¶
func (e RewardValidationError) Reason() string
Reason function returns reason value.
type Rewards ¶
type Rewards struct { Rewards []*Reward `protobuf:"bytes,1,rep,name=rewards,proto3" json:"rewards,omitempty"` // contains filtered or unexported fields }
func (*Rewards) Descriptor
deprecated
func (*Rewards) GetRewards ¶
func (*Rewards) ProtoMessage ¶
func (*Rewards) ProtoMessage()
func (*Rewards) ProtoReflect ¶
func (x *Rewards) ProtoReflect() protoreflect.Message
func (*Rewards) Validate ¶
Validate checks the field values on Rewards with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Rewards) ValidateAll ¶
ValidateAll checks the field values on Rewards with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RewardsMultiError, or nil if none found.
type RewardsMultiError ¶
type RewardsMultiError []error
RewardsMultiError is an error wrapping multiple validation errors returned by Rewards.ValidateAll() if the designated constraints aren't met.
func (RewardsMultiError) AllErrors ¶
func (m RewardsMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RewardsMultiError) Error ¶
func (m RewardsMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RewardsValidationError ¶
type RewardsValidationError struct {
// contains filtered or unexported fields
}
RewardsValidationError is the validation error returned by Rewards.Validate if the designated constraints aren't met.
func (RewardsValidationError) Cause ¶
func (e RewardsValidationError) Cause() error
Cause function returns cause value.
func (RewardsValidationError) Error ¶
func (e RewardsValidationError) Error() string
Error satisfies the builtin error interface
func (RewardsValidationError) ErrorName ¶
func (e RewardsValidationError) ErrorName() string
ErrorName returns error name.
func (RewardsValidationError) Field ¶
func (e RewardsValidationError) Field() string
Field function returns field value.
func (RewardsValidationError) Key ¶
func (e RewardsValidationError) Key() bool
Key function returns key value.
func (RewardsValidationError) Reason ¶
func (e RewardsValidationError) Reason() string
Reason function returns reason value.
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
func (*SlotUpdate) Validate ¶
func (m *SlotUpdate) Validate() error
Validate checks the field values on SlotUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SlotUpdate) ValidateAll ¶
func (m *SlotUpdate) ValidateAll() error
ValidateAll checks the field values on SlotUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SlotUpdateMultiError, or nil if none found.
type SlotUpdateMultiError ¶
type SlotUpdateMultiError []error
SlotUpdateMultiError is an error wrapping multiple validation errors returned by SlotUpdate.ValidateAll() if the designated constraints aren't met.
func (SlotUpdateMultiError) AllErrors ¶
func (m SlotUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SlotUpdateMultiError) Error ¶
func (m SlotUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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 SlotUpdateValidationError ¶
type SlotUpdateValidationError struct {
// contains filtered or unexported fields
}
SlotUpdateValidationError is the validation error returned by SlotUpdate.Validate if the designated constraints aren't met.
func (SlotUpdateValidationError) Cause ¶
func (e SlotUpdateValidationError) Cause() error
Cause function returns cause value.
func (SlotUpdateValidationError) Error ¶
func (e SlotUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (SlotUpdateValidationError) ErrorName ¶
func (e SlotUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (SlotUpdateValidationError) Field ¶
func (e SlotUpdateValidationError) Field() string
Field function returns field value.
func (SlotUpdateValidationError) Key ¶
func (e SlotUpdateValidationError) Key() bool
Key function returns key value.
func (SlotUpdateValidationError) Reason ¶
func (e SlotUpdateValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribeAccountUpdatesRequest) Validate ¶
func (m *SubscribeAccountUpdatesRequest) Validate() error
Validate checks the field values on SubscribeAccountUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeAccountUpdatesRequest) ValidateAll ¶
func (m *SubscribeAccountUpdatesRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeAccountUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeAccountUpdatesRequestMultiError, or nil if none found.
type SubscribeAccountUpdatesRequestMultiError ¶
type SubscribeAccountUpdatesRequestMultiError []error
SubscribeAccountUpdatesRequestMultiError is an error wrapping multiple validation errors returned by SubscribeAccountUpdatesRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeAccountUpdatesRequestMultiError) AllErrors ¶
func (m SubscribeAccountUpdatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeAccountUpdatesRequestMultiError) Error ¶
func (m SubscribeAccountUpdatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeAccountUpdatesRequestValidationError ¶
type SubscribeAccountUpdatesRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeAccountUpdatesRequestValidationError is the validation error returned by SubscribeAccountUpdatesRequest.Validate if the designated constraints aren't met.
func (SubscribeAccountUpdatesRequestValidationError) Cause ¶
func (e SubscribeAccountUpdatesRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeAccountUpdatesRequestValidationError) Error ¶
func (e SubscribeAccountUpdatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeAccountUpdatesRequestValidationError) ErrorName ¶
func (e SubscribeAccountUpdatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeAccountUpdatesRequestValidationError) Field ¶
func (e SubscribeAccountUpdatesRequestValidationError) Field() string
Field function returns field value.
func (SubscribeAccountUpdatesRequestValidationError) Key ¶
func (e SubscribeAccountUpdatesRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeAccountUpdatesRequestValidationError) Reason ¶
func (e SubscribeAccountUpdatesRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribeBlockUpdatesRequest) Validate ¶
func (m *SubscribeBlockUpdatesRequest) Validate() error
Validate checks the field values on SubscribeBlockUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeBlockUpdatesRequest) ValidateAll ¶
func (m *SubscribeBlockUpdatesRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeBlockUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeBlockUpdatesRequestMultiError, or nil if none found.
type SubscribeBlockUpdatesRequestMultiError ¶
type SubscribeBlockUpdatesRequestMultiError []error
SubscribeBlockUpdatesRequestMultiError is an error wrapping multiple validation errors returned by SubscribeBlockUpdatesRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeBlockUpdatesRequestMultiError) AllErrors ¶
func (m SubscribeBlockUpdatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeBlockUpdatesRequestMultiError) Error ¶
func (m SubscribeBlockUpdatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeBlockUpdatesRequestValidationError ¶
type SubscribeBlockUpdatesRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeBlockUpdatesRequestValidationError is the validation error returned by SubscribeBlockUpdatesRequest.Validate if the designated constraints aren't met.
func (SubscribeBlockUpdatesRequestValidationError) Cause ¶
func (e SubscribeBlockUpdatesRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeBlockUpdatesRequestValidationError) Error ¶
func (e SubscribeBlockUpdatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeBlockUpdatesRequestValidationError) ErrorName ¶
func (e SubscribeBlockUpdatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeBlockUpdatesRequestValidationError) Field ¶
func (e SubscribeBlockUpdatesRequestValidationError) Field() string
Field function returns field value.
func (SubscribeBlockUpdatesRequestValidationError) Key ¶
func (e SubscribeBlockUpdatesRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeBlockUpdatesRequestValidationError) Reason ¶
func (e SubscribeBlockUpdatesRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribePartialAccountUpdatesRequest) Validate ¶
func (m *SubscribePartialAccountUpdatesRequest) Validate() error
Validate checks the field values on SubscribePartialAccountUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribePartialAccountUpdatesRequest) ValidateAll ¶
func (m *SubscribePartialAccountUpdatesRequest) ValidateAll() error
ValidateAll checks the field values on SubscribePartialAccountUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribePartialAccountUpdatesRequestMultiError, or nil if none found.
type SubscribePartialAccountUpdatesRequestMultiError ¶
type SubscribePartialAccountUpdatesRequestMultiError []error
SubscribePartialAccountUpdatesRequestMultiError is an error wrapping multiple validation errors returned by SubscribePartialAccountUpdatesRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribePartialAccountUpdatesRequestMultiError) AllErrors ¶
func (m SubscribePartialAccountUpdatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribePartialAccountUpdatesRequestMultiError) Error ¶
func (m SubscribePartialAccountUpdatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribePartialAccountUpdatesRequestValidationError ¶
type SubscribePartialAccountUpdatesRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribePartialAccountUpdatesRequestValidationError is the validation error returned by SubscribePartialAccountUpdatesRequest.Validate if the designated constraints aren't met.
func (SubscribePartialAccountUpdatesRequestValidationError) Cause ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribePartialAccountUpdatesRequestValidationError) Error ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribePartialAccountUpdatesRequestValidationError) ErrorName ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribePartialAccountUpdatesRequestValidationError) Field ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) Field() string
Field function returns field value.
func (SubscribePartialAccountUpdatesRequestValidationError) Key ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) Key() bool
Key function returns key value.
func (SubscribePartialAccountUpdatesRequestValidationError) Reason ¶
func (e SubscribePartialAccountUpdatesRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribeProgramsUpdatesRequest) Validate ¶
func (m *SubscribeProgramsUpdatesRequest) Validate() error
Validate checks the field values on SubscribeProgramsUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeProgramsUpdatesRequest) ValidateAll ¶
func (m *SubscribeProgramsUpdatesRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeProgramsUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeProgramsUpdatesRequestMultiError, or nil if none found.
type SubscribeProgramsUpdatesRequestMultiError ¶
type SubscribeProgramsUpdatesRequestMultiError []error
SubscribeProgramsUpdatesRequestMultiError is an error wrapping multiple validation errors returned by SubscribeProgramsUpdatesRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeProgramsUpdatesRequestMultiError) AllErrors ¶
func (m SubscribeProgramsUpdatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeProgramsUpdatesRequestMultiError) Error ¶
func (m SubscribeProgramsUpdatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeProgramsUpdatesRequestValidationError ¶
type SubscribeProgramsUpdatesRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeProgramsUpdatesRequestValidationError is the validation error returned by SubscribeProgramsUpdatesRequest.Validate if the designated constraints aren't met.
func (SubscribeProgramsUpdatesRequestValidationError) Cause ¶
func (e SubscribeProgramsUpdatesRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeProgramsUpdatesRequestValidationError) Error ¶
func (e SubscribeProgramsUpdatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeProgramsUpdatesRequestValidationError) ErrorName ¶
func (e SubscribeProgramsUpdatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeProgramsUpdatesRequestValidationError) Field ¶
func (e SubscribeProgramsUpdatesRequestValidationError) Field() string
Field function returns field value.
func (SubscribeProgramsUpdatesRequestValidationError) Key ¶
func (e SubscribeProgramsUpdatesRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeProgramsUpdatesRequestValidationError) Reason ¶
func (e SubscribeProgramsUpdatesRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribeSlotUpdateRequest) Validate ¶
func (m *SubscribeSlotUpdateRequest) Validate() error
Validate checks the field values on SubscribeSlotUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeSlotUpdateRequest) ValidateAll ¶
func (m *SubscribeSlotUpdateRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeSlotUpdateRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeSlotUpdateRequestMultiError, or nil if none found.
type SubscribeSlotUpdateRequestMultiError ¶
type SubscribeSlotUpdateRequestMultiError []error
SubscribeSlotUpdateRequestMultiError is an error wrapping multiple validation errors returned by SubscribeSlotUpdateRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeSlotUpdateRequestMultiError) AllErrors ¶
func (m SubscribeSlotUpdateRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeSlotUpdateRequestMultiError) Error ¶
func (m SubscribeSlotUpdateRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeSlotUpdateRequestValidationError ¶
type SubscribeSlotUpdateRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeSlotUpdateRequestValidationError is the validation error returned by SubscribeSlotUpdateRequest.Validate if the designated constraints aren't met.
func (SubscribeSlotUpdateRequestValidationError) Cause ¶
func (e SubscribeSlotUpdateRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeSlotUpdateRequestValidationError) Error ¶
func (e SubscribeSlotUpdateRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeSlotUpdateRequestValidationError) ErrorName ¶
func (e SubscribeSlotUpdateRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeSlotUpdateRequestValidationError) Field ¶
func (e SubscribeSlotUpdateRequestValidationError) Field() string
Field function returns field value.
func (SubscribeSlotUpdateRequestValidationError) Key ¶
func (e SubscribeSlotUpdateRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeSlotUpdateRequestValidationError) Reason ¶
func (e SubscribeSlotUpdateRequestValidationError) Reason() string
Reason function returns reason value.
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
func (*SubscribeTransactionUpdatesRequest) Validate ¶
func (m *SubscribeTransactionUpdatesRequest) Validate() error
Validate checks the field values on SubscribeTransactionUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*SubscribeTransactionUpdatesRequest) ValidateAll ¶
func (m *SubscribeTransactionUpdatesRequest) ValidateAll() error
ValidateAll checks the field values on SubscribeTransactionUpdatesRequest with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in SubscribeTransactionUpdatesRequestMultiError, or nil if none found.
type SubscribeTransactionUpdatesRequestMultiError ¶
type SubscribeTransactionUpdatesRequestMultiError []error
SubscribeTransactionUpdatesRequestMultiError is an error wrapping multiple validation errors returned by SubscribeTransactionUpdatesRequest.ValidateAll() if the designated constraints aren't met.
func (SubscribeTransactionUpdatesRequestMultiError) AllErrors ¶
func (m SubscribeTransactionUpdatesRequestMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (SubscribeTransactionUpdatesRequestMultiError) Error ¶
func (m SubscribeTransactionUpdatesRequestMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type SubscribeTransactionUpdatesRequestValidationError ¶
type SubscribeTransactionUpdatesRequestValidationError struct {
// contains filtered or unexported fields
}
SubscribeTransactionUpdatesRequestValidationError is the validation error returned by SubscribeTransactionUpdatesRequest.Validate if the designated constraints aren't met.
func (SubscribeTransactionUpdatesRequestValidationError) Cause ¶
func (e SubscribeTransactionUpdatesRequestValidationError) Cause() error
Cause function returns cause value.
func (SubscribeTransactionUpdatesRequestValidationError) Error ¶
func (e SubscribeTransactionUpdatesRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubscribeTransactionUpdatesRequestValidationError) ErrorName ¶
func (e SubscribeTransactionUpdatesRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubscribeTransactionUpdatesRequestValidationError) Field ¶
func (e SubscribeTransactionUpdatesRequestValidationError) Field() string
Field function returns field value.
func (SubscribeTransactionUpdatesRequestValidationError) Key ¶
func (e SubscribeTransactionUpdatesRequestValidationError) Key() bool
Key function returns key value.
func (SubscribeTransactionUpdatesRequestValidationError) Reason ¶
func (e SubscribeTransactionUpdatesRequestValidationError) Reason() string
Reason function returns reason value.
type TimestampedAccountUpdate ¶
type TimestampedAccountUpdate struct { // Time at which the message was generated Ts *timestamp.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() *timestamp.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
func (*TimestampedAccountUpdate) Validate ¶
func (m *TimestampedAccountUpdate) Validate() error
Validate checks the field values on TimestampedAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimestampedAccountUpdate) ValidateAll ¶
func (m *TimestampedAccountUpdate) ValidateAll() error
ValidateAll checks the field values on TimestampedAccountUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimestampedAccountUpdateMultiError, or nil if none found.
type TimestampedAccountUpdateMultiError ¶
type TimestampedAccountUpdateMultiError []error
TimestampedAccountUpdateMultiError is an error wrapping multiple validation errors returned by TimestampedAccountUpdate.ValidateAll() if the designated constraints aren't met.
func (TimestampedAccountUpdateMultiError) AllErrors ¶
func (m TimestampedAccountUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampedAccountUpdateMultiError) Error ¶
func (m TimestampedAccountUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampedAccountUpdateValidationError ¶
type TimestampedAccountUpdateValidationError struct {
// contains filtered or unexported fields
}
TimestampedAccountUpdateValidationError is the validation error returned by TimestampedAccountUpdate.Validate if the designated constraints aren't met.
func (TimestampedAccountUpdateValidationError) Cause ¶
func (e TimestampedAccountUpdateValidationError) Cause() error
Cause function returns cause value.
func (TimestampedAccountUpdateValidationError) Error ¶
func (e TimestampedAccountUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampedAccountUpdateValidationError) ErrorName ¶
func (e TimestampedAccountUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampedAccountUpdateValidationError) Field ¶
func (e TimestampedAccountUpdateValidationError) Field() string
Field function returns field value.
func (TimestampedAccountUpdateValidationError) Key ¶
func (e TimestampedAccountUpdateValidationError) Key() bool
Key function returns key value.
func (TimestampedAccountUpdateValidationError) Reason ¶
func (e TimestampedAccountUpdateValidationError) Reason() string
Reason function returns reason value.
type TimestampedBlockUpdate ¶
type TimestampedBlockUpdate struct { // Time at which the message was generated Ts *timestamp.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() *timestamp.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
func (*TimestampedBlockUpdate) Validate ¶
func (m *TimestampedBlockUpdate) Validate() error
Validate checks the field values on TimestampedBlockUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimestampedBlockUpdate) ValidateAll ¶
func (m *TimestampedBlockUpdate) ValidateAll() error
ValidateAll checks the field values on TimestampedBlockUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimestampedBlockUpdateMultiError, or nil if none found.
type TimestampedBlockUpdateMultiError ¶
type TimestampedBlockUpdateMultiError []error
TimestampedBlockUpdateMultiError is an error wrapping multiple validation errors returned by TimestampedBlockUpdate.ValidateAll() if the designated constraints aren't met.
func (TimestampedBlockUpdateMultiError) AllErrors ¶
func (m TimestampedBlockUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampedBlockUpdateMultiError) Error ¶
func (m TimestampedBlockUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampedBlockUpdateValidationError ¶
type TimestampedBlockUpdateValidationError struct {
// contains filtered or unexported fields
}
TimestampedBlockUpdateValidationError is the validation error returned by TimestampedBlockUpdate.Validate if the designated constraints aren't met.
func (TimestampedBlockUpdateValidationError) Cause ¶
func (e TimestampedBlockUpdateValidationError) Cause() error
Cause function returns cause value.
func (TimestampedBlockUpdateValidationError) Error ¶
func (e TimestampedBlockUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampedBlockUpdateValidationError) ErrorName ¶
func (e TimestampedBlockUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampedBlockUpdateValidationError) Field ¶
func (e TimestampedBlockUpdateValidationError) Field() string
Field function returns field value.
func (TimestampedBlockUpdateValidationError) Key ¶
func (e TimestampedBlockUpdateValidationError) Key() bool
Key function returns key value.
func (TimestampedBlockUpdateValidationError) Reason ¶
func (e TimestampedBlockUpdateValidationError) Reason() string
Reason function returns reason value.
type TimestampedSlotUpdate ¶
type TimestampedSlotUpdate struct { // Time at which the message was generated Ts *timestamp.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() *timestamp.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
func (*TimestampedSlotUpdate) Validate ¶
func (m *TimestampedSlotUpdate) Validate() error
Validate checks the field values on TimestampedSlotUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimestampedSlotUpdate) ValidateAll ¶
func (m *TimestampedSlotUpdate) ValidateAll() error
ValidateAll checks the field values on TimestampedSlotUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimestampedSlotUpdateMultiError, or nil if none found.
type TimestampedSlotUpdateMultiError ¶
type TimestampedSlotUpdateMultiError []error
TimestampedSlotUpdateMultiError is an error wrapping multiple validation errors returned by TimestampedSlotUpdate.ValidateAll() if the designated constraints aren't met.
func (TimestampedSlotUpdateMultiError) AllErrors ¶
func (m TimestampedSlotUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampedSlotUpdateMultiError) Error ¶
func (m TimestampedSlotUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampedSlotUpdateValidationError ¶
type TimestampedSlotUpdateValidationError struct {
// contains filtered or unexported fields
}
TimestampedSlotUpdateValidationError is the validation error returned by TimestampedSlotUpdate.Validate if the designated constraints aren't met.
func (TimestampedSlotUpdateValidationError) Cause ¶
func (e TimestampedSlotUpdateValidationError) Cause() error
Cause function returns cause value.
func (TimestampedSlotUpdateValidationError) Error ¶
func (e TimestampedSlotUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampedSlotUpdateValidationError) ErrorName ¶
func (e TimestampedSlotUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampedSlotUpdateValidationError) Field ¶
func (e TimestampedSlotUpdateValidationError) Field() string
Field function returns field value.
func (TimestampedSlotUpdateValidationError) Key ¶
func (e TimestampedSlotUpdateValidationError) Key() bool
Key function returns key value.
func (TimestampedSlotUpdateValidationError) Reason ¶
func (e TimestampedSlotUpdateValidationError) Reason() string
Reason function returns reason value.
type TimestampedTransactionUpdate ¶
type TimestampedTransactionUpdate struct { Ts *timestamp.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() *timestamp.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
func (*TimestampedTransactionUpdate) Validate ¶
func (m *TimestampedTransactionUpdate) Validate() error
Validate checks the field values on TimestampedTransactionUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TimestampedTransactionUpdate) ValidateAll ¶
func (m *TimestampedTransactionUpdate) ValidateAll() error
ValidateAll checks the field values on TimestampedTransactionUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TimestampedTransactionUpdateMultiError, or nil if none found.
type TimestampedTransactionUpdateMultiError ¶
type TimestampedTransactionUpdateMultiError []error
TimestampedTransactionUpdateMultiError is an error wrapping multiple validation errors returned by TimestampedTransactionUpdate.ValidateAll() if the designated constraints aren't met.
func (TimestampedTransactionUpdateMultiError) AllErrors ¶
func (m TimestampedTransactionUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TimestampedTransactionUpdateMultiError) Error ¶
func (m TimestampedTransactionUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TimestampedTransactionUpdateValidationError ¶
type TimestampedTransactionUpdateValidationError struct {
// contains filtered or unexported fields
}
TimestampedTransactionUpdateValidationError is the validation error returned by TimestampedTransactionUpdate.Validate if the designated constraints aren't met.
func (TimestampedTransactionUpdateValidationError) Cause ¶
func (e TimestampedTransactionUpdateValidationError) Cause() error
Cause function returns cause value.
func (TimestampedTransactionUpdateValidationError) Error ¶
func (e TimestampedTransactionUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (TimestampedTransactionUpdateValidationError) ErrorName ¶
func (e TimestampedTransactionUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (TimestampedTransactionUpdateValidationError) Field ¶
func (e TimestampedTransactionUpdateValidationError) Field() string
Field function returns field value.
func (TimestampedTransactionUpdateValidationError) Key ¶
func (e TimestampedTransactionUpdateValidationError) Key() bool
Key function returns key value.
func (TimestampedTransactionUpdateValidationError) Reason ¶
func (e TimestampedTransactionUpdateValidationError) Reason() string
Reason function returns reason value.
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
func (*TokenBalance) Validate ¶
func (m *TokenBalance) Validate() error
Validate checks the field values on TokenBalance with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TokenBalance) ValidateAll ¶
func (m *TokenBalance) ValidateAll() error
ValidateAll checks the field values on TokenBalance with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TokenBalanceMultiError, or nil if none found.
type TokenBalanceMultiError ¶
type TokenBalanceMultiError []error
TokenBalanceMultiError is an error wrapping multiple validation errors returned by TokenBalance.ValidateAll() if the designated constraints aren't met.
func (TokenBalanceMultiError) AllErrors ¶
func (m TokenBalanceMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TokenBalanceMultiError) Error ¶
func (m TokenBalanceMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TokenBalanceValidationError ¶
type TokenBalanceValidationError struct {
// contains filtered or unexported fields
}
TokenBalanceValidationError is the validation error returned by TokenBalance.Validate if the designated constraints aren't met.
func (TokenBalanceValidationError) Cause ¶
func (e TokenBalanceValidationError) Cause() error
Cause function returns cause value.
func (TokenBalanceValidationError) Error ¶
func (e TokenBalanceValidationError) Error() string
Error satisfies the builtin error interface
func (TokenBalanceValidationError) ErrorName ¶
func (e TokenBalanceValidationError) ErrorName() string
ErrorName returns error name.
func (TokenBalanceValidationError) Field ¶
func (e TokenBalanceValidationError) Field() string
Field function returns field value.
func (TokenBalanceValidationError) Key ¶
func (e TokenBalanceValidationError) Key() bool
Key function returns key value.
func (TokenBalanceValidationError) Reason ¶
func (e TokenBalanceValidationError) Reason() string
Reason function returns reason value.
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
func (*Transaction) Validate ¶
func (m *Transaction) Validate() error
Validate checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Transaction) ValidateAll ¶
func (m *Transaction) ValidateAll() error
ValidateAll checks the field values on Transaction with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionMultiError, or nil if none found.
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
func (*TransactionError) Validate ¶
func (m *TransactionError) Validate() error
Validate checks the field values on TransactionError with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TransactionError) ValidateAll ¶
func (m *TransactionError) ValidateAll() error
ValidateAll checks the field values on TransactionError with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionErrorMultiError, or nil if none found.
type TransactionErrorMultiError ¶
type TransactionErrorMultiError []error
TransactionErrorMultiError is an error wrapping multiple validation errors returned by TransactionError.ValidateAll() if the designated constraints aren't met.
func (TransactionErrorMultiError) AllErrors ¶
func (m TransactionErrorMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransactionErrorMultiError) Error ¶
func (m TransactionErrorMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransactionErrorValidationError ¶
type TransactionErrorValidationError struct {
// contains filtered or unexported fields
}
TransactionErrorValidationError is the validation error returned by TransactionError.Validate if the designated constraints aren't met.
func (TransactionErrorValidationError) Cause ¶
func (e TransactionErrorValidationError) Cause() error
Cause function returns cause value.
func (TransactionErrorValidationError) Error ¶
func (e TransactionErrorValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionErrorValidationError) ErrorName ¶
func (e TransactionErrorValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionErrorValidationError) Field ¶
func (e TransactionErrorValidationError) Field() string
Field function returns field value.
func (TransactionErrorValidationError) Key ¶
func (e TransactionErrorValidationError) Key() bool
Key function returns key value.
func (TransactionErrorValidationError) Reason ¶
func (e TransactionErrorValidationError) Reason() string
Reason function returns reason value.
type TransactionMultiError ¶
type TransactionMultiError []error
TransactionMultiError is an error wrapping multiple validation errors returned by Transaction.ValidateAll() if the designated constraints aren't met.
func (TransactionMultiError) AllErrors ¶
func (m TransactionMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransactionMultiError) Error ¶
func (m TransactionMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
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
func (*TransactionStatusMeta) Validate ¶
func (m *TransactionStatusMeta) Validate() error
Validate checks the field values on TransactionStatusMeta with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TransactionStatusMeta) ValidateAll ¶
func (m *TransactionStatusMeta) ValidateAll() error
ValidateAll checks the field values on TransactionStatusMeta with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionStatusMetaMultiError, or nil if none found.
type TransactionStatusMetaMultiError ¶
type TransactionStatusMetaMultiError []error
TransactionStatusMetaMultiError is an error wrapping multiple validation errors returned by TransactionStatusMeta.ValidateAll() if the designated constraints aren't met.
func (TransactionStatusMetaMultiError) AllErrors ¶
func (m TransactionStatusMetaMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransactionStatusMetaMultiError) Error ¶
func (m TransactionStatusMetaMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransactionStatusMetaValidationError ¶
type TransactionStatusMetaValidationError struct {
// contains filtered or unexported fields
}
TransactionStatusMetaValidationError is the validation error returned by TransactionStatusMeta.Validate if the designated constraints aren't met.
func (TransactionStatusMetaValidationError) Cause ¶
func (e TransactionStatusMetaValidationError) Cause() error
Cause function returns cause value.
func (TransactionStatusMetaValidationError) Error ¶
func (e TransactionStatusMetaValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionStatusMetaValidationError) ErrorName ¶
func (e TransactionStatusMetaValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionStatusMetaValidationError) Field ¶
func (e TransactionStatusMetaValidationError) Field() string
Field function returns field value.
func (TransactionStatusMetaValidationError) Key ¶
func (e TransactionStatusMetaValidationError) Key() bool
Key function returns key value.
func (TransactionStatusMetaValidationError) Reason ¶
func (e TransactionStatusMetaValidationError) Reason() string
Reason function returns reason value.
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
func (*TransactionUpdate) Validate ¶
func (m *TransactionUpdate) Validate() error
Validate checks the field values on TransactionUpdate with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*TransactionUpdate) ValidateAll ¶
func (m *TransactionUpdate) ValidateAll() error
ValidateAll checks the field values on TransactionUpdate with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TransactionUpdateMultiError, or nil if none found.
type TransactionUpdateMultiError ¶
type TransactionUpdateMultiError []error
TransactionUpdateMultiError is an error wrapping multiple validation errors returned by TransactionUpdate.ValidateAll() if the designated constraints aren't met.
func (TransactionUpdateMultiError) AllErrors ¶
func (m TransactionUpdateMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TransactionUpdateMultiError) Error ¶
func (m TransactionUpdateMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TransactionUpdateValidationError ¶
type TransactionUpdateValidationError struct {
// contains filtered or unexported fields
}
TransactionUpdateValidationError is the validation error returned by TransactionUpdate.Validate if the designated constraints aren't met.
func (TransactionUpdateValidationError) Cause ¶
func (e TransactionUpdateValidationError) Cause() error
Cause function returns cause value.
func (TransactionUpdateValidationError) Error ¶
func (e TransactionUpdateValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionUpdateValidationError) ErrorName ¶
func (e TransactionUpdateValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionUpdateValidationError) Field ¶
func (e TransactionUpdateValidationError) Field() string
Field function returns field value.
func (TransactionUpdateValidationError) Key ¶
func (e TransactionUpdateValidationError) Key() bool
Key function returns key value.
func (TransactionUpdateValidationError) Reason ¶
func (e TransactionUpdateValidationError) Reason() string
Reason function returns reason value.
type TransactionValidationError ¶
type TransactionValidationError struct {
// contains filtered or unexported fields
}
TransactionValidationError is the validation error returned by Transaction.Validate if the designated constraints aren't met.
func (TransactionValidationError) Cause ¶
func (e TransactionValidationError) Cause() error
Cause function returns cause value.
func (TransactionValidationError) Error ¶
func (e TransactionValidationError) Error() string
Error satisfies the builtin error interface
func (TransactionValidationError) ErrorName ¶
func (e TransactionValidationError) ErrorName() string
ErrorName returns error name.
func (TransactionValidationError) Field ¶
func (e TransactionValidationError) Field() string
Field function returns field value.
func (TransactionValidationError) Key ¶
func (e TransactionValidationError) Key() bool
Key function returns key value.
func (TransactionValidationError) Reason ¶
func (e TransactionValidationError) Reason() string
Reason function returns reason value.
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
func (*UiTokenAmount) Validate ¶
func (m *UiTokenAmount) Validate() error
Validate checks the field values on UiTokenAmount with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UiTokenAmount) ValidateAll ¶
func (m *UiTokenAmount) ValidateAll() error
ValidateAll checks the field values on UiTokenAmount with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UiTokenAmountMultiError, or nil if none found.
type UiTokenAmountMultiError ¶
type UiTokenAmountMultiError []error
UiTokenAmountMultiError is an error wrapping multiple validation errors returned by UiTokenAmount.ValidateAll() if the designated constraints aren't met.
func (UiTokenAmountMultiError) AllErrors ¶
func (m UiTokenAmountMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UiTokenAmountMultiError) Error ¶
func (m UiTokenAmountMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UiTokenAmountValidationError ¶
type UiTokenAmountValidationError struct {
// contains filtered or unexported fields
}
UiTokenAmountValidationError is the validation error returned by UiTokenAmount.Validate if the designated constraints aren't met.
func (UiTokenAmountValidationError) Cause ¶
func (e UiTokenAmountValidationError) Cause() error
Cause function returns cause value.
func (UiTokenAmountValidationError) Error ¶
func (e UiTokenAmountValidationError) Error() string
Error satisfies the builtin error interface
func (UiTokenAmountValidationError) ErrorName ¶
func (e UiTokenAmountValidationError) ErrorName() string
ErrorName returns error name.
func (UiTokenAmountValidationError) Field ¶
func (e UiTokenAmountValidationError) Field() string
Field function returns field value.
func (UiTokenAmountValidationError) Key ¶
func (e UiTokenAmountValidationError) Key() bool
Key function returns key value.
func (UiTokenAmountValidationError) Reason ¶
func (e UiTokenAmountValidationError) Reason() string
Reason function returns reason value.
type UnimplementedGeyserServer ¶
type UnimplementedGeyserServer struct { }
UnimplementedGeyserServer must be embedded to have forward compatible implementations.
func (UnimplementedGeyserServer) GetHeartbeatInterval ¶
func (UnimplementedGeyserServer) GetHeartbeatInterval(context.Context, *EmptyRequest) (*GetHeartbeatIntervalResponse, error)
func (UnimplementedGeyserServer) SubscribeAccountUpdates ¶
func (UnimplementedGeyserServer) SubscribeAccountUpdates(*SubscribeAccountUpdatesRequest, Geyser_SubscribeAccountUpdatesServer) error
func (UnimplementedGeyserServer) SubscribeBlockUpdates ¶
func (UnimplementedGeyserServer) SubscribeBlockUpdates(*SubscribeBlockUpdatesRequest, Geyser_SubscribeBlockUpdatesServer) error
func (UnimplementedGeyserServer) SubscribePartialAccountUpdates ¶
func (UnimplementedGeyserServer) SubscribePartialAccountUpdates(*SubscribePartialAccountUpdatesRequest, Geyser_SubscribePartialAccountUpdatesServer) error
func (UnimplementedGeyserServer) SubscribeProgramUpdates ¶
func (UnimplementedGeyserServer) SubscribeProgramUpdates(*SubscribeProgramsUpdatesRequest, Geyser_SubscribeProgramUpdatesServer) error
func (UnimplementedGeyserServer) SubscribeSlotUpdates ¶
func (UnimplementedGeyserServer) SubscribeSlotUpdates(*SubscribeSlotUpdateRequest, Geyser_SubscribeSlotUpdatesServer) error
func (UnimplementedGeyserServer) SubscribeTransactionUpdates ¶
func (UnimplementedGeyserServer) SubscribeTransactionUpdates(*SubscribeTransactionUpdatesRequest, Geyser_SubscribeTransactionUpdatesServer) 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
func (*UnixTimestamp) Validate ¶
func (m *UnixTimestamp) Validate() error
Validate checks the field values on UnixTimestamp with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*UnixTimestamp) ValidateAll ¶
func (m *UnixTimestamp) ValidateAll() error
ValidateAll checks the field values on UnixTimestamp with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in UnixTimestampMultiError, or nil if none found.
type UnixTimestampMultiError ¶
type UnixTimestampMultiError []error
UnixTimestampMultiError is an error wrapping multiple validation errors returned by UnixTimestamp.ValidateAll() if the designated constraints aren't met.
func (UnixTimestampMultiError) AllErrors ¶
func (m UnixTimestampMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (UnixTimestampMultiError) Error ¶
func (m UnixTimestampMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type UnixTimestampValidationError ¶
type UnixTimestampValidationError struct {
// contains filtered or unexported fields
}
UnixTimestampValidationError is the validation error returned by UnixTimestamp.Validate if the designated constraints aren't met.
func (UnixTimestampValidationError) Cause ¶
func (e UnixTimestampValidationError) Cause() error
Cause function returns cause value.
func (UnixTimestampValidationError) Error ¶
func (e UnixTimestampValidationError) Error() string
Error satisfies the builtin error interface
func (UnixTimestampValidationError) ErrorName ¶
func (e UnixTimestampValidationError) ErrorName() string
ErrorName returns error name.
func (UnixTimestampValidationError) Field ¶
func (e UnixTimestampValidationError) Field() string
Field function returns field value.
func (UnixTimestampValidationError) Key ¶
func (e UnixTimestampValidationError) Key() bool
Key function returns key value.
func (UnixTimestampValidationError) Reason ¶
func (e UnixTimestampValidationError) Reason() string
Reason function returns reason value.
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.