Documentation
¶
Index ¶
- Constants
- Variables
- func ConvertGetEventsRequestFromProto(p *GetEventsRequest) (stellar.GetEventsRequest, error)
- func ConvertGetEventsResponseFromProto(p *GetEventsResponse) (stellar.GetEventsResponse, error)
- func ConvertGetLatestLedgerResponseFromProto(p *GetLatestLedgerResponse) (stellar.GetLatestLedgerResponse, error)
- func ConvertGetLedgerEntriesRequestFromProto(p *GetLedgerEntriesRequest) (stellar.GetLedgerEntriesRequest, error)
- func ConvertGetLedgerEntriesResponseFromProto(p *GetLedgerEntriesResponse) (stellar.GetLedgerEntriesResponse, error)
- func ConvertGetLedgersRequestFromProto(p *GetLedgersRequest) (stellar.GetLedgersRequest, error)
- func ConvertGetLedgersResponseFromProto(p *GetLedgersResponse) (stellar.GetLedgersResponse, error)
- func ConvertGetSigningAccountResponseFromProto(p *GetSigningAccountResponse) (stellar.GetSigningAccountResponse, error)
- func ConvertGetTransactionRequestFromProto(p *GetTransactionRequest) (stellar.GetTransactionRequest, error)
- func ConvertGetTransactionResponseFromProto(p *GetTransactionResponse) (stellar.GetTransactionResponse, error)
- func ConvertLedgerEntryResultFromProto(p *LedgerEntryResult) (stellar.LedgerEntryResult, error)
- func ConvertLedgerInfoFromProto(p *LedgerInfo) (stellar.LedgerInfo, error)
- func ConvertSimulateTransactionRequestFromProto(p *SimulateTransactionRequest) (stellar.SimulateTransactionRequest, error)
- func ConvertSubmitTransactionRequestFromProto(p *SubmitTransactionRequest) (stellar.SubmitTransactionRequest, error)
- func ConvertSubmitTransactionResponseFromProto(p *SubmitTransactionResponse) (*stellar.SubmitTransactionResponse, error)
- func RegisterStellarServer(s grpc.ServiceRegistrar, srv StellarServer)
- type EventFilter
- func (*EventFilter) Descriptor() ([]byte, []int)deprecated
- func (x *EventFilter) GetContractIds() []string
- func (x *EventFilter) GetEventTypes() []EventType
- func (x *EventFilter) GetTopics() []*TopicFilter
- func (*EventFilter) ProtoMessage()
- func (x *EventFilter) ProtoReflect() protoreflect.Message
- func (x *EventFilter) Reset()
- func (x *EventFilter) String() string
- type EventInfo
- func (*EventInfo) Descriptor() ([]byte, []int)deprecated
- func (x *EventInfo) GetContractId() string
- func (x *EventInfo) GetEventType() EventType
- func (x *EventInfo) GetId() string
- func (x *EventInfo) GetLedger() uint32
- func (x *EventInfo) GetLedgerClosedAt() string
- func (x *EventInfo) GetOperationIndex() uint32
- func (x *EventInfo) GetTopics() []*scval.ScVal
- func (x *EventInfo) GetTransactionHash() string
- func (x *EventInfo) GetTransactionIndex() uint32
- func (x *EventInfo) GetValue() *scval.ScVal
- func (*EventInfo) ProtoMessage()
- func (x *EventInfo) ProtoReflect() protoreflect.Message
- func (x *EventInfo) Reset()
- func (x *EventInfo) String() string
- type EventType
- type GetEventsRequest
- func (*GetEventsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsRequest) GetEndLedger() uint32
- func (x *GetEventsRequest) GetFilters() []*EventFilter
- func (x *GetEventsRequest) GetPagination() *PaginationOptions
- func (x *GetEventsRequest) GetStartLedger() uint32
- func (*GetEventsRequest) ProtoMessage()
- func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
- func (x *GetEventsRequest) Reset()
- func (x *GetEventsRequest) String() string
- type GetEventsResponse
- func (*GetEventsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetEventsResponse) GetCursor() string
- func (x *GetEventsResponse) GetEvents() []*EventInfo
- func (x *GetEventsResponse) GetLatestLedger() uint32
- func (x *GetEventsResponse) GetLatestLedgerCloseTime() int64
- func (x *GetEventsResponse) GetOldestLedger() uint32
- func (x *GetEventsResponse) GetOldestLedgerCloseTime() int64
- func (*GetEventsResponse) ProtoMessage()
- func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
- func (x *GetEventsResponse) Reset()
- func (x *GetEventsResponse) String() string
- type GetLatestLedgerResponse
- func (*GetLatestLedgerResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLatestLedgerResponse) GetHash() []byte
- func (x *GetLatestLedgerResponse) GetLedgerCloseTime() int64
- func (x *GetLatestLedgerResponse) GetLedgerHeaderXdr() []byte
- func (x *GetLatestLedgerResponse) GetLedgerMetadataXdr() []byte
- func (x *GetLatestLedgerResponse) GetProtocolVersion() uint32
- func (x *GetLatestLedgerResponse) GetSequence() uint32
- func (*GetLatestLedgerResponse) ProtoMessage()
- func (x *GetLatestLedgerResponse) ProtoReflect() protoreflect.Message
- func (x *GetLatestLedgerResponse) Reset()
- func (x *GetLatestLedgerResponse) String() string
- type GetLedgerEntriesRequest
- func (*GetLedgerEntriesRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerEntriesRequest) GetKeys() [][]byte
- func (*GetLedgerEntriesRequest) ProtoMessage()
- func (x *GetLedgerEntriesRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgerEntriesRequest) Reset()
- func (x *GetLedgerEntriesRequest) String() string
- type GetLedgerEntriesResponse
- func (*GetLedgerEntriesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgerEntriesResponse) GetEntries() []*LedgerEntryResult
- func (x *GetLedgerEntriesResponse) GetLatestLedger() uint32
- func (*GetLedgerEntriesResponse) ProtoMessage()
- func (x *GetLedgerEntriesResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgerEntriesResponse) Reset()
- func (x *GetLedgerEntriesResponse) String() string
- type GetLedgersRequest
- func (*GetLedgersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgersRequest) GetPagination() *LedgerPaginationOptions
- func (x *GetLedgersRequest) GetStartLedger() uint32
- func (*GetLedgersRequest) ProtoMessage()
- func (x *GetLedgersRequest) ProtoReflect() protoreflect.Message
- func (x *GetLedgersRequest) Reset()
- func (x *GetLedgersRequest) String() string
- type GetLedgersResponse
- func (*GetLedgersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetLedgersResponse) GetCursor() string
- func (x *GetLedgersResponse) GetLatestLedger() uint32
- func (x *GetLedgersResponse) GetLatestLedgerCloseTime() int64
- func (x *GetLedgersResponse) GetLedgers() []*LedgerInfo
- func (x *GetLedgersResponse) GetOldestLedger() uint32
- func (x *GetLedgersResponse) GetOldestLedgerCloseTime() int64
- func (*GetLedgersResponse) ProtoMessage()
- func (x *GetLedgersResponse) ProtoReflect() protoreflect.Message
- func (x *GetLedgersResponse) Reset()
- func (x *GetLedgersResponse) String() string
- type GetSigningAccountResponse
- func (*GetSigningAccountResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSigningAccountResponse) GetAccountAddress() string
- func (*GetSigningAccountResponse) ProtoMessage()
- func (x *GetSigningAccountResponse) ProtoReflect() protoreflect.Message
- func (x *GetSigningAccountResponse) Reset()
- func (x *GetSigningAccountResponse) String() string
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionRequest) GetTxHash() string
- func (*GetTransactionRequest) ProtoMessage()
- func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *GetTransactionRequest) Reset()
- func (x *GetTransactionRequest) String() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetTransactionResponse) GetFeeStroops() uint64
- func (x *GetTransactionResponse) GetLedgerCloseTime() int64
- func (x *GetTransactionResponse) GetLedgerSequence() uint32
- func (*GetTransactionResponse) ProtoMessage()
- func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *GetTransactionResponse) Reset()
- func (x *GetTransactionResponse) String() string
- type LedgerEntryResult
- func (*LedgerEntryResult) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerEntryResult) GetDataXdr() []byte
- func (x *LedgerEntryResult) GetExtensionXdr() []byte
- func (x *LedgerEntryResult) GetHasLiveUntilLedgerSeq() bool
- func (x *LedgerEntryResult) GetKeyXdr() []byte
- func (x *LedgerEntryResult) GetLastModifiedLedger() uint32
- func (x *LedgerEntryResult) GetLiveUntilLedgerSeq() uint32
- func (*LedgerEntryResult) ProtoMessage()
- func (x *LedgerEntryResult) ProtoReflect() protoreflect.Message
- func (x *LedgerEntryResult) Reset()
- func (x *LedgerEntryResult) String() string
- type LedgerInfo
- func (*LedgerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerInfo) GetHash() []byte
- func (x *LedgerInfo) GetLedgerCloseTime() int64
- func (x *LedgerInfo) GetLedgerHeaderXdr() []byte
- func (x *LedgerInfo) GetLedgerMetadataXdr() []byte
- func (x *LedgerInfo) GetSequence() uint32
- func (*LedgerInfo) ProtoMessage()
- func (x *LedgerInfo) ProtoReflect() protoreflect.Message
- func (x *LedgerInfo) Reset()
- func (x *LedgerInfo) String() string
- type LedgerPaginationOptions
- func (*LedgerPaginationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *LedgerPaginationOptions) GetCursor() string
- func (x *LedgerPaginationOptions) GetLimit() uint32
- func (*LedgerPaginationOptions) ProtoMessage()
- func (x *LedgerPaginationOptions) ProtoReflect() protoreflect.Message
- func (x *LedgerPaginationOptions) Reset()
- func (x *LedgerPaginationOptions) String() string
- type PaginationOptions
- func (*PaginationOptions) Descriptor() ([]byte, []int)deprecated
- func (x *PaginationOptions) GetCursor() string
- func (x *PaginationOptions) GetLimit() uint32
- func (*PaginationOptions) ProtoMessage()
- func (x *PaginationOptions) ProtoReflect() protoreflect.Message
- func (x *PaginationOptions) Reset()
- func (x *PaginationOptions) String() string
- type SimulateResourceConfig
- func (*SimulateResourceConfig) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateResourceConfig) GetInstructionLeeway() uint64
- func (*SimulateResourceConfig) ProtoMessage()
- func (x *SimulateResourceConfig) ProtoReflect() protoreflect.Message
- func (x *SimulateResourceConfig) Reset()
- func (x *SimulateResourceConfig) String() string
- type SimulateRestorePreamble
- func (*SimulateRestorePreamble) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateRestorePreamble) GetMinResourceFee() int64
- func (x *SimulateRestorePreamble) GetTransactionDataXdr() string
- func (*SimulateRestorePreamble) ProtoMessage()
- func (x *SimulateRestorePreamble) ProtoReflect() protoreflect.Message
- func (x *SimulateRestorePreamble) Reset()
- func (x *SimulateRestorePreamble) String() string
- type SimulateTransactionRequest
- func (*SimulateTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateTransactionRequest) GetArgs() []*scval.ScVal
- func (x *SimulateTransactionRequest) GetAuthMode() string
- func (x *SimulateTransactionRequest) GetContractId() string
- func (x *SimulateTransactionRequest) GetFunction() string
- func (x *SimulateTransactionRequest) GetResourceConfig() *SimulateResourceConfig
- func (x *SimulateTransactionRequest) GetSourceAccount() string
- func (*SimulateTransactionRequest) ProtoMessage()
- func (x *SimulateTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SimulateTransactionRequest) Reset()
- func (x *SimulateTransactionRequest) String() string
- type SimulateTransactionResponse
- func (*SimulateTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SimulateTransactionResponse) GetError() string
- func (x *SimulateTransactionResponse) GetEventsXdr() []string
- func (x *SimulateTransactionResponse) GetLedgerSequence() uint32
- func (x *SimulateTransactionResponse) GetMinResourceFee() int64
- func (x *SimulateTransactionResponse) GetRequiredAuthXdr() []string
- func (x *SimulateTransactionResponse) GetRestorePreamble() *SimulateRestorePreamble
- func (x *SimulateTransactionResponse) GetReturnValueXdr() string
- func (x *SimulateTransactionResponse) GetSuccess() bool
- func (x *SimulateTransactionResponse) GetTransactionDataXdr() string
- func (*SimulateTransactionResponse) ProtoMessage()
- func (x *SimulateTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SimulateTransactionResponse) Reset()
- func (x *SimulateTransactionResponse) String() string
- type StellarClient
- type StellarServer
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionRequest) GetArgs() []*scval.ScVal
- func (x *SubmitTransactionRequest) GetContractId() string
- func (x *SubmitTransactionRequest) GetFromAddress() string
- func (x *SubmitTransactionRequest) GetFunction() string
- func (x *SubmitTransactionRequest) GetIdempotencyKey() string
- func (x *SubmitTransactionRequest) GetLedgerBoundsOffset() uint32
- func (*SubmitTransactionRequest) ProtoMessage()
- func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionRequest) Reset()
- func (x *SubmitTransactionRequest) String() string
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitTransactionResponse) GetBlockTimestamp() uint64
- func (x *SubmitTransactionResponse) GetError() string
- func (x *SubmitTransactionResponse) GetResultMetaXdr() []byte
- func (x *SubmitTransactionResponse) GetResultXdr() []byte
- func (x *SubmitTransactionResponse) GetTransactionFee() uint64
- func (x *SubmitTransactionResponse) GetTxHash() string
- func (x *SubmitTransactionResponse) GetTxIdempotencyKey() string
- func (x *SubmitTransactionResponse) GetTxStatus() TxStatus
- func (*SubmitTransactionResponse) ProtoMessage()
- func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
- func (x *SubmitTransactionResponse) Reset()
- func (x *SubmitTransactionResponse) String() string
- type TopicFilter
- type TopicSegment
- func (*TopicSegment) Descriptor() ([]byte, []int)deprecated
- func (x *TopicSegment) GetScval() *scval.ScVal
- func (x *TopicSegment) GetValue() isTopicSegment_Value
- func (x *TopicSegment) GetWildcard() string
- func (*TopicSegment) ProtoMessage()
- func (x *TopicSegment) ProtoReflect() protoreflect.Message
- func (x *TopicSegment) Reset()
- func (x *TopicSegment) String() string
- type TopicSegment_Scval
- type TopicSegment_Wildcard
- type TxStatus
- type UnimplementedStellarServer
- func (UnimplementedStellarServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
- func (UnimplementedStellarServer) GetLatestLedger(context.Context, *emptypb.Empty) (*GetLatestLedgerResponse, error)
- func (UnimplementedStellarServer) GetLedgerEntries(context.Context, *GetLedgerEntriesRequest) (*GetLedgerEntriesResponse, error)
- func (UnimplementedStellarServer) GetLedgers(context.Context, *GetLedgersRequest) (*GetLedgersResponse, error)
- func (UnimplementedStellarServer) GetSigningAccount(context.Context, *emptypb.Empty) (*GetSigningAccountResponse, error)
- func (UnimplementedStellarServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
- func (UnimplementedStellarServer) SimulateTransaction(context.Context, *SimulateTransactionRequest) (*SimulateTransactionResponse, error)
- func (UnimplementedStellarServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
- type UnsafeStellarServer
Constants ¶
const ( Stellar_GetLedgerEntries_FullMethodName = "/loop.stellar.Stellar/GetLedgerEntries" Stellar_GetLatestLedger_FullMethodName = "/loop.stellar.Stellar/GetLatestLedger" Stellar_GetLedgers_FullMethodName = "/loop.stellar.Stellar/GetLedgers" Stellar_SimulateTransaction_FullMethodName = "/loop.stellar.Stellar/SimulateTransaction" Stellar_GetEvents_FullMethodName = "/loop.stellar.Stellar/GetEvents" Stellar_GetTransaction_FullMethodName = "/loop.stellar.Stellar/GetTransaction" Stellar_GetSigningAccount_FullMethodName = "/loop.stellar.Stellar/GetSigningAccount" Stellar_SubmitTransaction_FullMethodName = "/loop.stellar.Stellar/SubmitTransaction" )
Variables ¶
var ( EventType_name = map[int32]string{ 0: "EVENT_TYPE_SYSTEM", 1: "EVENT_TYPE_CONTRACT", } EventType_value = map[string]int32{ "EVENT_TYPE_SYSTEM": 0, "EVENT_TYPE_CONTRACT": 1, } )
Enum value maps for EventType.
var ( TxStatus_name = map[int32]string{ 0: "TX_STATUS_FATAL", 1: "TX_STATUS_FAILED", 2: "TX_STATUS_SUCCESS", } TxStatus_value = map[string]int32{ "TX_STATUS_FATAL": 0, "TX_STATUS_FAILED": 1, "TX_STATUS_SUCCESS": 2, } )
Enum value maps for TxStatus.
var File_stellar_proto protoreflect.FileDescriptor
var Stellar_ServiceDesc = grpc.ServiceDesc{ ServiceName: "loop.stellar.Stellar", HandlerType: (*StellarServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetLedgerEntries", Handler: _Stellar_GetLedgerEntries_Handler, }, { MethodName: "GetLatestLedger", Handler: _Stellar_GetLatestLedger_Handler, }, { MethodName: "GetLedgers", Handler: _Stellar_GetLedgers_Handler, }, { MethodName: "SimulateTransaction", Handler: _Stellar_SimulateTransaction_Handler, }, { MethodName: "GetEvents", Handler: _Stellar_GetEvents_Handler, }, { MethodName: "GetTransaction", Handler: _Stellar_GetTransaction_Handler, }, { MethodName: "GetSigningAccount", Handler: _Stellar_GetSigningAccount_Handler, }, { MethodName: "SubmitTransaction", Handler: _Stellar_SubmitTransaction_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "stellar.proto", }
Stellar_ServiceDesc is the grpc.ServiceDesc for Stellar service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func ConvertGetEventsRequestFromProto ¶
func ConvertGetEventsRequestFromProto(p *GetEventsRequest) (stellar.GetEventsRequest, error)
func ConvertGetEventsResponseFromProto ¶
func ConvertGetEventsResponseFromProto(p *GetEventsResponse) (stellar.GetEventsResponse, error)
ConvertGetEventsResponseFromProto converts proto GetEventsResponse to domain.
func ConvertGetLatestLedgerResponseFromProto ¶
func ConvertGetLatestLedgerResponseFromProto(p *GetLatestLedgerResponse) (stellar.GetLatestLedgerResponse, error)
ConvertGetLatestLedgerResponseFromProto converts a proto GetLatestLedgerResponse to the domain type.
func ConvertGetLedgerEntriesRequestFromProto ¶
func ConvertGetLedgerEntriesRequestFromProto(p *GetLedgerEntriesRequest) (stellar.GetLedgerEntriesRequest, error)
ConvertGetLedgerEntriesRequestFromProto converts a proto GetLedgerEntriesRequest to the domain type.
func ConvertGetLedgerEntriesResponseFromProto ¶
func ConvertGetLedgerEntriesResponseFromProto(p *GetLedgerEntriesResponse) (stellar.GetLedgerEntriesResponse, error)
ConvertGetLedgerEntriesResponseFromProto converts a proto GetLedgerEntriesResponse to the domain type.
func ConvertGetLedgersRequestFromProto ¶
func ConvertGetLedgersRequestFromProto(p *GetLedgersRequest) (stellar.GetLedgersRequest, error)
ConvertGetLedgersRequestFromProto converts a proto GetLedgersRequest to the domain type.
func ConvertGetLedgersResponseFromProto ¶
func ConvertGetLedgersResponseFromProto(p *GetLedgersResponse) (stellar.GetLedgersResponse, error)
ConvertGetLedgersResponseFromProto converts a proto GetLedgersResponse to the domain type.
func ConvertGetSigningAccountResponseFromProto ¶
func ConvertGetSigningAccountResponseFromProto(p *GetSigningAccountResponse) (stellar.GetSigningAccountResponse, error)
func ConvertGetTransactionRequestFromProto ¶
func ConvertGetTransactionRequestFromProto(p *GetTransactionRequest) (stellar.GetTransactionRequest, error)
func ConvertGetTransactionResponseFromProto ¶
func ConvertGetTransactionResponseFromProto(p *GetTransactionResponse) (stellar.GetTransactionResponse, error)
func ConvertLedgerEntryResultFromProto ¶
func ConvertLedgerEntryResultFromProto(p *LedgerEntryResult) (stellar.LedgerEntryResult, error)
ConvertLedgerEntryResultFromProto converts a proto LedgerEntryResult to the domain type.
func ConvertLedgerInfoFromProto ¶
func ConvertLedgerInfoFromProto(p *LedgerInfo) (stellar.LedgerInfo, error)
ConvertLedgerInfoFromProto converts a proto LedgerInfo to the domain type.
func ConvertSimulateTransactionRequestFromProto ¶
func ConvertSimulateTransactionRequestFromProto(p *SimulateTransactionRequest) (stellar.SimulateTransactionRequest, error)
ConvertSimulateTransactionRequestFromProto converts proto SimulateTransactionRequest to domain.
func ConvertSubmitTransactionRequestFromProto ¶
func ConvertSubmitTransactionRequestFromProto(p *SubmitTransactionRequest) (stellar.SubmitTransactionRequest, error)
func ConvertSubmitTransactionResponseFromProto ¶
func ConvertSubmitTransactionResponseFromProto(p *SubmitTransactionResponse) (*stellar.SubmitTransactionResponse, error)
ConvertSubmitTransactionResponseFromProto converts proto SubmitTransactionResponse to domain.
func RegisterStellarServer ¶
func RegisterStellarServer(s grpc.ServiceRegistrar, srv StellarServer)
Types ¶
type EventFilter ¶
type EventFilter struct {
EventTypes []EventType `` /* 127-byte string literal not displayed */
ContractIds []string `protobuf:"bytes,2,rep,name=contract_ids,json=contractIds,proto3" json:"contract_ids,omitempty"`
Topics []*TopicFilter `protobuf:"bytes,3,rep,name=topics,proto3" json:"topics,omitempty"`
// contains filtered or unexported fields
}
func (*EventFilter) Descriptor
deprecated
func (*EventFilter) Descriptor() ([]byte, []int)
Deprecated: Use EventFilter.ProtoReflect.Descriptor instead.
func (*EventFilter) GetContractIds ¶
func (x *EventFilter) GetContractIds() []string
func (*EventFilter) GetEventTypes ¶
func (x *EventFilter) GetEventTypes() []EventType
func (*EventFilter) GetTopics ¶
func (x *EventFilter) GetTopics() []*TopicFilter
func (*EventFilter) ProtoMessage ¶
func (*EventFilter) ProtoMessage()
func (*EventFilter) ProtoReflect ¶
func (x *EventFilter) ProtoReflect() protoreflect.Message
func (*EventFilter) Reset ¶
func (x *EventFilter) Reset()
func (*EventFilter) String ¶
func (x *EventFilter) String() string
type EventInfo ¶
type EventInfo struct {
EventType EventType `protobuf:"varint,1,opt,name=event_type,json=eventType,proto3,enum=loop.stellar.EventType" json:"event_type,omitempty"`
Ledger uint32 `protobuf:"varint,2,opt,name=ledger,proto3" json:"ledger,omitempty"`
LedgerClosedAt string `protobuf:"bytes,3,opt,name=ledger_closed_at,json=ledgerClosedAt,proto3" json:"ledger_closed_at,omitempty"`
ContractId string `protobuf:"bytes,4,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"`
Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"`
OperationIndex uint32 `protobuf:"varint,6,opt,name=operation_index,json=operationIndex,proto3" json:"operation_index,omitempty"`
TransactionIndex uint32 `protobuf:"varint,7,opt,name=transaction_index,json=transactionIndex,proto3" json:"transaction_index,omitempty"`
TransactionHash string `protobuf:"bytes,8,opt,name=transaction_hash,json=transactionHash,proto3" json:"transaction_hash,omitempty"`
Topics []*scval.ScVal `protobuf:"bytes,9,rep,name=topics,proto3" json:"topics,omitempty"`
Value *scval.ScVal `protobuf:"bytes,10,opt,name=value,proto3" json:"value,omitempty"`
// contains filtered or unexported fields
}
func (*EventInfo) Descriptor
deprecated
func (*EventInfo) GetContractId ¶
func (*EventInfo) GetEventType ¶
func (*EventInfo) GetLedgerClosedAt ¶
func (*EventInfo) GetOperationIndex ¶
func (*EventInfo) GetTransactionHash ¶
func (*EventInfo) GetTransactionIndex ¶
func (*EventInfo) ProtoMessage ¶
func (*EventInfo) ProtoMessage()
func (*EventInfo) ProtoReflect ¶
func (x *EventInfo) ProtoReflect() protoreflect.Message
type EventType ¶
type EventType int32
func (EventType) Descriptor ¶
func (EventType) Descriptor() protoreflect.EnumDescriptor
func (EventType) EnumDescriptor
deprecated
func (EventType) Number ¶
func (x EventType) Number() protoreflect.EnumNumber
func (EventType) Type ¶
func (EventType) Type() protoreflect.EnumType
type GetEventsRequest ¶
type GetEventsRequest struct {
StartLedger uint32 `protobuf:"varint,1,opt,name=start_ledger,json=startLedger,proto3" json:"start_ledger,omitempty"`
EndLedger uint32 `protobuf:"varint,2,opt,name=end_ledger,json=endLedger,proto3" json:"end_ledger,omitempty"`
Filters []*EventFilter `protobuf:"bytes,3,rep,name=filters,proto3" json:"filters,omitempty"`
Pagination *PaginationOptions `protobuf:"bytes,4,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
func ConvertGetEventsRequestToProto ¶
func ConvertGetEventsRequestToProto(req stellar.GetEventsRequest) (*GetEventsRequest, error)
func (*GetEventsRequest) Descriptor
deprecated
func (*GetEventsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsRequest.ProtoReflect.Descriptor instead.
func (*GetEventsRequest) GetEndLedger ¶
func (x *GetEventsRequest) GetEndLedger() uint32
func (*GetEventsRequest) GetFilters ¶
func (x *GetEventsRequest) GetFilters() []*EventFilter
func (*GetEventsRequest) GetPagination ¶
func (x *GetEventsRequest) GetPagination() *PaginationOptions
func (*GetEventsRequest) GetStartLedger ¶
func (x *GetEventsRequest) GetStartLedger() uint32
func (*GetEventsRequest) ProtoMessage ¶
func (*GetEventsRequest) ProtoMessage()
func (*GetEventsRequest) ProtoReflect ¶
func (x *GetEventsRequest) ProtoReflect() protoreflect.Message
func (*GetEventsRequest) Reset ¶
func (x *GetEventsRequest) Reset()
func (*GetEventsRequest) String ¶
func (x *GetEventsRequest) String() string
type GetEventsResponse ¶
type GetEventsResponse struct {
Events []*EventInfo `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
Cursor string `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"`
LatestLedger uint32 `protobuf:"varint,3,opt,name=latest_ledger,json=latestLedger,proto3" json:"latest_ledger,omitempty"`
OldestLedger uint32 `protobuf:"varint,4,opt,name=oldest_ledger,json=oldestLedger,proto3" json:"oldest_ledger,omitempty"`
LatestLedgerCloseTime int64 `` /* 129-byte string literal not displayed */
OldestLedgerCloseTime int64 `` /* 129-byte string literal not displayed */
// contains filtered or unexported fields
}
func ConvertGetEventsResponseToProto ¶
func ConvertGetEventsResponseToProto(resp stellar.GetEventsResponse) (*GetEventsResponse, error)
ConvertGetEventsResponseToProto converts a domain GetEventsResponse to proto.
func (*GetEventsResponse) Descriptor
deprecated
func (*GetEventsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetEventsResponse.ProtoReflect.Descriptor instead.
func (*GetEventsResponse) GetCursor ¶
func (x *GetEventsResponse) GetCursor() string
func (*GetEventsResponse) GetEvents ¶
func (x *GetEventsResponse) GetEvents() []*EventInfo
func (*GetEventsResponse) GetLatestLedger ¶
func (x *GetEventsResponse) GetLatestLedger() uint32
func (*GetEventsResponse) GetLatestLedgerCloseTime ¶
func (x *GetEventsResponse) GetLatestLedgerCloseTime() int64
func (*GetEventsResponse) GetOldestLedger ¶
func (x *GetEventsResponse) GetOldestLedger() uint32
func (*GetEventsResponse) GetOldestLedgerCloseTime ¶
func (x *GetEventsResponse) GetOldestLedgerCloseTime() int64
func (*GetEventsResponse) ProtoMessage ¶
func (*GetEventsResponse) ProtoMessage()
func (*GetEventsResponse) ProtoReflect ¶
func (x *GetEventsResponse) ProtoReflect() protoreflect.Message
func (*GetEventsResponse) Reset ¶
func (x *GetEventsResponse) Reset()
func (*GetEventsResponse) String ¶
func (x *GetEventsResponse) String() string
type GetLatestLedgerResponse ¶
type GetLatestLedgerResponse struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Raw 32-byte ledger hash
ProtocolVersion uint32 `protobuf:"varint,2,opt,name=protocol_version,json=protocolVersion,proto3" json:"protocol_version,omitempty"`
Sequence uint32 `protobuf:"varint,3,opt,name=sequence,proto3" json:"sequence,omitempty"`
LedgerCloseTime int64 `protobuf:"varint,4,opt,name=ledger_close_time,json=ledgerCloseTime,proto3" json:"ledger_close_time,omitempty"`
LedgerHeaderXdr []byte `protobuf:"bytes,5,opt,name=ledger_header_xdr,json=ledgerHeaderXdr,proto3" json:"ledger_header_xdr,omitempty"` // XDR encoding of LedgerHeader
LedgerMetadataXdr []byte `protobuf:"bytes,6,opt,name=ledger_metadata_xdr,json=ledgerMetadataXdr,proto3" json:"ledger_metadata_xdr,omitempty"` // XDR encoding of LedgerCloseMeta
// contains filtered or unexported fields
}
GetLatestLedgerResponse holds current ledger state.
func ConvertGetLatestLedgerResponseToProto ¶
func ConvertGetLatestLedgerResponseToProto(resp stellar.GetLatestLedgerResponse) (*GetLatestLedgerResponse, error)
ConvertGetLatestLedgerResponseToProto converts a domain GetLatestLedgerResponse to its proto representation.
func (*GetLatestLedgerResponse) Descriptor
deprecated
func (*GetLatestLedgerResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLatestLedgerResponse.ProtoReflect.Descriptor instead.
func (*GetLatestLedgerResponse) GetHash ¶
func (x *GetLatestLedgerResponse) GetHash() []byte
func (*GetLatestLedgerResponse) GetLedgerCloseTime ¶
func (x *GetLatestLedgerResponse) GetLedgerCloseTime() int64
func (*GetLatestLedgerResponse) GetLedgerHeaderXdr ¶
func (x *GetLatestLedgerResponse) GetLedgerHeaderXdr() []byte
func (*GetLatestLedgerResponse) GetLedgerMetadataXdr ¶
func (x *GetLatestLedgerResponse) GetLedgerMetadataXdr() []byte
func (*GetLatestLedgerResponse) GetProtocolVersion ¶
func (x *GetLatestLedgerResponse) GetProtocolVersion() uint32
func (*GetLatestLedgerResponse) GetSequence ¶
func (x *GetLatestLedgerResponse) GetSequence() uint32
func (*GetLatestLedgerResponse) ProtoMessage ¶
func (*GetLatestLedgerResponse) ProtoMessage()
func (*GetLatestLedgerResponse) ProtoReflect ¶
func (x *GetLatestLedgerResponse) ProtoReflect() protoreflect.Message
func (*GetLatestLedgerResponse) Reset ¶
func (x *GetLatestLedgerResponse) Reset()
func (*GetLatestLedgerResponse) String ¶
func (x *GetLatestLedgerResponse) String() string
type GetLedgerEntriesRequest ¶
type GetLedgerEntriesRequest struct {
Keys [][]byte `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // each key as binary XDR (LedgerKey)
// contains filtered or unexported fields
}
GetLedgerEntriesRequest fetches ledger entries by XDR-encoded keys.
func ConvertGetLedgerEntriesRequestToProto ¶
func ConvertGetLedgerEntriesRequestToProto(req stellar.GetLedgerEntriesRequest) (*GetLedgerEntriesRequest, error)
ConvertGetLedgerEntriesRequestToProto converts a domain GetLedgerEntriesRequest to its proto representation.
func (*GetLedgerEntriesRequest) Descriptor
deprecated
func (*GetLedgerEntriesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerEntriesRequest.ProtoReflect.Descriptor instead.
func (*GetLedgerEntriesRequest) GetKeys ¶
func (x *GetLedgerEntriesRequest) GetKeys() [][]byte
func (*GetLedgerEntriesRequest) ProtoMessage ¶
func (*GetLedgerEntriesRequest) ProtoMessage()
func (*GetLedgerEntriesRequest) ProtoReflect ¶
func (x *GetLedgerEntriesRequest) ProtoReflect() protoreflect.Message
func (*GetLedgerEntriesRequest) Reset ¶
func (x *GetLedgerEntriesRequest) Reset()
func (*GetLedgerEntriesRequest) String ¶
func (x *GetLedgerEntriesRequest) String() string
type GetLedgerEntriesResponse ¶
type GetLedgerEntriesResponse struct {
Entries []*LedgerEntryResult `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
LatestLedger uint32 `protobuf:"varint,2,opt,name=latest_ledger,json=latestLedger,proto3" json:"latest_ledger,omitempty"`
// contains filtered or unexported fields
}
GetLedgerEntriesResponse contains the requested ledger entries.
func ConvertGetLedgerEntriesResponseToProto ¶
func ConvertGetLedgerEntriesResponseToProto(resp stellar.GetLedgerEntriesResponse) (*GetLedgerEntriesResponse, error)
ConvertGetLedgerEntriesResponseToProto converts a domain GetLedgerEntriesResponse to its proto representation.
func (*GetLedgerEntriesResponse) Descriptor
deprecated
func (*GetLedgerEntriesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgerEntriesResponse.ProtoReflect.Descriptor instead.
func (*GetLedgerEntriesResponse) GetEntries ¶
func (x *GetLedgerEntriesResponse) GetEntries() []*LedgerEntryResult
func (*GetLedgerEntriesResponse) GetLatestLedger ¶
func (x *GetLedgerEntriesResponse) GetLatestLedger() uint32
func (*GetLedgerEntriesResponse) ProtoMessage ¶
func (*GetLedgerEntriesResponse) ProtoMessage()
func (*GetLedgerEntriesResponse) ProtoReflect ¶
func (x *GetLedgerEntriesResponse) ProtoReflect() protoreflect.Message
func (*GetLedgerEntriesResponse) Reset ¶
func (x *GetLedgerEntriesResponse) Reset()
func (*GetLedgerEntriesResponse) String ¶
func (x *GetLedgerEntriesResponse) String() string
type GetLedgersRequest ¶
type GetLedgersRequest struct {
// Starting ledger sequence. Required unless pagination.cursor is set.
// Mutually exclusive with pagination.cursor (native RPC rejects both being set).
StartLedger uint32 `protobuf:"varint,1,opt,name=start_ledger,json=startLedger,proto3" json:"start_ledger,omitempty"`
Pagination *LedgerPaginationOptions `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// contains filtered or unexported fields
}
GetLedgersRequest fetches a paginated range of ledgers.
func ConvertGetLedgersRequestToProto ¶
func ConvertGetLedgersRequestToProto(req stellar.GetLedgersRequest) (*GetLedgersRequest, error)
ConvertGetLedgersRequestToProto converts a domain GetLedgersRequest to its proto representation.
func (*GetLedgersRequest) Descriptor
deprecated
func (*GetLedgersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgersRequest.ProtoReflect.Descriptor instead.
func (*GetLedgersRequest) GetPagination ¶
func (x *GetLedgersRequest) GetPagination() *LedgerPaginationOptions
func (*GetLedgersRequest) GetStartLedger ¶
func (x *GetLedgersRequest) GetStartLedger() uint32
func (*GetLedgersRequest) ProtoMessage ¶
func (*GetLedgersRequest) ProtoMessage()
func (*GetLedgersRequest) ProtoReflect ¶
func (x *GetLedgersRequest) ProtoReflect() protoreflect.Message
func (*GetLedgersRequest) Reset ¶
func (x *GetLedgersRequest) Reset()
func (*GetLedgersRequest) String ¶
func (x *GetLedgersRequest) String() string
type GetLedgersResponse ¶
type GetLedgersResponse struct {
Ledgers []*LedgerInfo `protobuf:"bytes,1,rep,name=ledgers,proto3" json:"ledgers,omitempty"`
LatestLedger uint32 `protobuf:"varint,2,opt,name=latest_ledger,json=latestLedger,proto3" json:"latest_ledger,omitempty"`
LatestLedgerCloseTime int64 `` /* 129-byte string literal not displayed */
OldestLedger uint32 `protobuf:"varint,4,opt,name=oldest_ledger,json=oldestLedger,proto3" json:"oldest_ledger,omitempty"`
OldestLedgerCloseTime int64 `` /* 129-byte string literal not displayed */
// Cursor for the next page; pass as pagination.cursor on a subsequent request.
Cursor string `protobuf:"bytes,6,opt,name=cursor,proto3" json:"cursor,omitempty"`
// contains filtered or unexported fields
}
GetLedgersResponse holds a paginated range of ledgers.
func ConvertGetLedgersResponseToProto ¶
func ConvertGetLedgersResponseToProto(resp stellar.GetLedgersResponse) (*GetLedgersResponse, error)
ConvertGetLedgersResponseToProto converts a domain GetLedgersResponse to its proto representation.
func (*GetLedgersResponse) Descriptor
deprecated
func (*GetLedgersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetLedgersResponse.ProtoReflect.Descriptor instead.
func (*GetLedgersResponse) GetCursor ¶
func (x *GetLedgersResponse) GetCursor() string
func (*GetLedgersResponse) GetLatestLedger ¶
func (x *GetLedgersResponse) GetLatestLedger() uint32
func (*GetLedgersResponse) GetLatestLedgerCloseTime ¶
func (x *GetLedgersResponse) GetLatestLedgerCloseTime() int64
func (*GetLedgersResponse) GetLedgers ¶
func (x *GetLedgersResponse) GetLedgers() []*LedgerInfo
func (*GetLedgersResponse) GetOldestLedger ¶
func (x *GetLedgersResponse) GetOldestLedger() uint32
func (*GetLedgersResponse) GetOldestLedgerCloseTime ¶
func (x *GetLedgersResponse) GetOldestLedgerCloseTime() int64
func (*GetLedgersResponse) ProtoMessage ¶
func (*GetLedgersResponse) ProtoMessage()
func (*GetLedgersResponse) ProtoReflect ¶
func (x *GetLedgersResponse) ProtoReflect() protoreflect.Message
func (*GetLedgersResponse) Reset ¶
func (x *GetLedgersResponse) Reset()
func (*GetLedgersResponse) String ¶
func (x *GetLedgersResponse) String() string
type GetSigningAccountResponse ¶
type GetSigningAccountResponse struct {
AccountAddress string `protobuf:"bytes,1,opt,name=account_address,json=accountAddress,proto3" json:"account_address,omitempty"`
// contains filtered or unexported fields
}
GetSigningAccountResponse is the relayer default TXM signing account. Exposed so callers can encode contract arguments (e.g. forwarder report's transmitter parameter) that require require_auth, without hard-coding config.
func ConvertGetSigningAccountResponseToProto ¶
func ConvertGetSigningAccountResponseToProto(resp stellar.GetSigningAccountResponse) *GetSigningAccountResponse
func (*GetSigningAccountResponse) Descriptor
deprecated
func (*GetSigningAccountResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSigningAccountResponse.ProtoReflect.Descriptor instead.
func (*GetSigningAccountResponse) GetAccountAddress ¶
func (x *GetSigningAccountResponse) GetAccountAddress() string
func (*GetSigningAccountResponse) ProtoMessage ¶
func (*GetSigningAccountResponse) ProtoMessage()
func (*GetSigningAccountResponse) ProtoReflect ¶
func (x *GetSigningAccountResponse) ProtoReflect() protoreflect.Message
func (*GetSigningAccountResponse) Reset ¶
func (x *GetSigningAccountResponse) Reset()
func (*GetSigningAccountResponse) String ¶
func (x *GetSigningAccountResponse) String() string
type GetTransactionRequest ¶
type GetTransactionRequest struct {
TxHash string `protobuf:"bytes,1,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
// contains filtered or unexported fields
}
GetTransactionRequest fetches a transaction by hash.
func ConvertGetTransactionRequestToProto ¶
func ConvertGetTransactionRequestToProto(req stellar.GetTransactionRequest) *GetTransactionRequest
func (*GetTransactionRequest) Descriptor
deprecated
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionRequest.ProtoReflect.Descriptor instead.
func (*GetTransactionRequest) GetTxHash ¶
func (x *GetTransactionRequest) GetTxHash() string
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) ProtoReflect ¶
func (x *GetTransactionRequest) ProtoReflect() protoreflect.Message
func (*GetTransactionRequest) Reset ¶
func (x *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (x *GetTransactionRequest) String() string
type GetTransactionResponse ¶
type GetTransactionResponse struct {
FeeStroops uint64 `protobuf:"varint,1,opt,name=fee_stroops,json=feeStroops,proto3" json:"fee_stroops,omitempty"`
LedgerSequence uint32 `protobuf:"varint,2,opt,name=ledger_sequence,json=ledgerSequence,proto3" json:"ledger_sequence,omitempty"`
LedgerCloseTime int64 `protobuf:"varint,3,opt,name=ledger_close_time,json=ledgerCloseTime,proto3" json:"ledger_close_time,omitempty"`
// contains filtered or unexported fields
}
GetTransactionResponse carries fee and ledger metadata for a confirmed transaction.
func ConvertGetTransactionResponseToProto ¶
func ConvertGetTransactionResponseToProto(resp stellar.GetTransactionResponse) *GetTransactionResponse
func (*GetTransactionResponse) Descriptor
deprecated
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetTransactionResponse.ProtoReflect.Descriptor instead.
func (*GetTransactionResponse) GetFeeStroops ¶
func (x *GetTransactionResponse) GetFeeStroops() uint64
func (*GetTransactionResponse) GetLedgerCloseTime ¶
func (x *GetTransactionResponse) GetLedgerCloseTime() int64
func (*GetTransactionResponse) GetLedgerSequence ¶
func (x *GetTransactionResponse) GetLedgerSequence() uint32
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) ProtoReflect ¶
func (x *GetTransactionResponse) ProtoReflect() protoreflect.Message
func (*GetTransactionResponse) Reset ¶
func (x *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (x *GetTransactionResponse) String() string
type LedgerEntryResult ¶
type LedgerEntryResult struct {
KeyXdr []byte `protobuf:"bytes,1,opt,name=key_xdr,json=keyXdr,proto3" json:"key_xdr,omitempty"` // LedgerKey binary XDR
DataXdr []byte `protobuf:"bytes,2,opt,name=data_xdr,json=dataXdr,proto3" json:"data_xdr,omitempty"` // LedgerEntry binary XDR
LastModifiedLedger uint32 `protobuf:"varint,3,opt,name=last_modified_ledger,json=lastModifiedLedger,proto3" json:"last_modified_ledger,omitempty"`
// has_live_until_ledger_seq indicates whether live_until_ledger_seq is set.
HasLiveUntilLedgerSeq bool `` /* 131-byte string literal not displayed */
LiveUntilLedgerSeq uint32 `protobuf:"varint,5,opt,name=live_until_ledger_seq,json=liveUntilLedgerSeq,proto3" json:"live_until_ledger_seq,omitempty"`
ExtensionXdr []byte `protobuf:"bytes,6,opt,name=extension_xdr,json=extensionXdr,proto3" json:"extension_xdr,omitempty"` // LedgerEntry extension binary XDR; empty if absent
// contains filtered or unexported fields
}
LedgerEntryResult is a single ledger entry.
func ConvertLedgerEntryResultToProto ¶
func ConvertLedgerEntryResultToProto(r stellar.LedgerEntryResult) (*LedgerEntryResult, error)
ConvertLedgerEntryResultToProto converts a domain LedgerEntryResult to its proto representation.
func (*LedgerEntryResult) Descriptor
deprecated
func (*LedgerEntryResult) Descriptor() ([]byte, []int)
Deprecated: Use LedgerEntryResult.ProtoReflect.Descriptor instead.
func (*LedgerEntryResult) GetDataXdr ¶
func (x *LedgerEntryResult) GetDataXdr() []byte
func (*LedgerEntryResult) GetExtensionXdr ¶
func (x *LedgerEntryResult) GetExtensionXdr() []byte
func (*LedgerEntryResult) GetHasLiveUntilLedgerSeq ¶
func (x *LedgerEntryResult) GetHasLiveUntilLedgerSeq() bool
func (*LedgerEntryResult) GetKeyXdr ¶
func (x *LedgerEntryResult) GetKeyXdr() []byte
func (*LedgerEntryResult) GetLastModifiedLedger ¶
func (x *LedgerEntryResult) GetLastModifiedLedger() uint32
func (*LedgerEntryResult) GetLiveUntilLedgerSeq ¶
func (x *LedgerEntryResult) GetLiveUntilLedgerSeq() uint32
func (*LedgerEntryResult) ProtoMessage ¶
func (*LedgerEntryResult) ProtoMessage()
func (*LedgerEntryResult) ProtoReflect ¶
func (x *LedgerEntryResult) ProtoReflect() protoreflect.Message
func (*LedgerEntryResult) Reset ¶
func (x *LedgerEntryResult) Reset()
func (*LedgerEntryResult) String ¶
func (x *LedgerEntryResult) String() string
type LedgerInfo ¶
type LedgerInfo struct {
Hash []byte `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Raw 32-byte ledger hash
Sequence uint32 `protobuf:"varint,2,opt,name=sequence,proto3" json:"sequence,omitempty"`
LedgerCloseTime int64 `protobuf:"varint,3,opt,name=ledger_close_time,json=ledgerCloseTime,proto3" json:"ledger_close_time,omitempty"`
LedgerHeaderXdr []byte `protobuf:"bytes,4,opt,name=ledger_header_xdr,json=ledgerHeaderXdr,proto3" json:"ledger_header_xdr,omitempty"` // Binary XDR encoding of LedgerHeaderHistoryEntry
LedgerMetadataXdr []byte `protobuf:"bytes,5,opt,name=ledger_metadata_xdr,json=ledgerMetadataXdr,proto3" json:"ledger_metadata_xdr,omitempty"` // Binary XDR encoding of LedgerCloseMeta
// contains filtered or unexported fields
}
LedgerInfo is a single ledger returned by GetLedgers.
func ConvertLedgerInfoToProto ¶
func ConvertLedgerInfoToProto(l stellar.LedgerInfo) (*LedgerInfo, error)
ConvertLedgerInfoToProto converts a domain LedgerInfo to its proto representation.
func (*LedgerInfo) Descriptor
deprecated
func (*LedgerInfo) Descriptor() ([]byte, []int)
Deprecated: Use LedgerInfo.ProtoReflect.Descriptor instead.
func (*LedgerInfo) GetHash ¶
func (x *LedgerInfo) GetHash() []byte
func (*LedgerInfo) GetLedgerCloseTime ¶
func (x *LedgerInfo) GetLedgerCloseTime() int64
func (*LedgerInfo) GetLedgerHeaderXdr ¶
func (x *LedgerInfo) GetLedgerHeaderXdr() []byte
func (*LedgerInfo) GetLedgerMetadataXdr ¶
func (x *LedgerInfo) GetLedgerMetadataXdr() []byte
func (*LedgerInfo) GetSequence ¶
func (x *LedgerInfo) GetSequence() uint32
func (*LedgerInfo) ProtoMessage ¶
func (*LedgerInfo) ProtoMessage()
func (*LedgerInfo) ProtoReflect ¶
func (x *LedgerInfo) ProtoReflect() protoreflect.Message
func (*LedgerInfo) Reset ¶
func (x *LedgerInfo) Reset()
func (*LedgerInfo) String ¶
func (x *LedgerInfo) String() string
type LedgerPaginationOptions ¶
type LedgerPaginationOptions struct {
// Paging cursor from a previous GetLedgersResponse. Mutually exclusive with
// GetLedgersRequest.start_ledger (native RPC rejects both being set).
Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
LedgerPaginationOptions controls GetLedgers paging.
func (*LedgerPaginationOptions) Descriptor
deprecated
func (*LedgerPaginationOptions) Descriptor() ([]byte, []int)
Deprecated: Use LedgerPaginationOptions.ProtoReflect.Descriptor instead.
func (*LedgerPaginationOptions) GetCursor ¶
func (x *LedgerPaginationOptions) GetCursor() string
func (*LedgerPaginationOptions) GetLimit ¶
func (x *LedgerPaginationOptions) GetLimit() uint32
func (*LedgerPaginationOptions) ProtoMessage ¶
func (*LedgerPaginationOptions) ProtoMessage()
func (*LedgerPaginationOptions) ProtoReflect ¶
func (x *LedgerPaginationOptions) ProtoReflect() protoreflect.Message
func (*LedgerPaginationOptions) Reset ¶
func (x *LedgerPaginationOptions) Reset()
func (*LedgerPaginationOptions) String ¶
func (x *LedgerPaginationOptions) String() string
type PaginationOptions ¶
type PaginationOptions struct {
Cursor string `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
Limit uint32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
// contains filtered or unexported fields
}
func (*PaginationOptions) Descriptor
deprecated
func (*PaginationOptions) Descriptor() ([]byte, []int)
Deprecated: Use PaginationOptions.ProtoReflect.Descriptor instead.
func (*PaginationOptions) GetCursor ¶
func (x *PaginationOptions) GetCursor() string
func (*PaginationOptions) GetLimit ¶
func (x *PaginationOptions) GetLimit() uint32
func (*PaginationOptions) ProtoMessage ¶
func (*PaginationOptions) ProtoMessage()
func (*PaginationOptions) ProtoReflect ¶
func (x *PaginationOptions) ProtoReflect() protoreflect.Message
func (*PaginationOptions) Reset ¶
func (x *PaginationOptions) Reset()
func (*PaginationOptions) String ¶
func (x *PaginationOptions) String() string
type SimulateResourceConfig ¶
type SimulateResourceConfig struct {
InstructionLeeway uint64 `protobuf:"varint,1,opt,name=instruction_leeway,json=instructionLeeway,proto3" json:"instruction_leeway,omitempty"`
// contains filtered or unexported fields
}
func (*SimulateResourceConfig) Descriptor
deprecated
func (*SimulateResourceConfig) Descriptor() ([]byte, []int)
Deprecated: Use SimulateResourceConfig.ProtoReflect.Descriptor instead.
func (*SimulateResourceConfig) GetInstructionLeeway ¶
func (x *SimulateResourceConfig) GetInstructionLeeway() uint64
func (*SimulateResourceConfig) ProtoMessage ¶
func (*SimulateResourceConfig) ProtoMessage()
func (*SimulateResourceConfig) ProtoReflect ¶
func (x *SimulateResourceConfig) ProtoReflect() protoreflect.Message
func (*SimulateResourceConfig) Reset ¶
func (x *SimulateResourceConfig) Reset()
func (*SimulateResourceConfig) String ¶
func (x *SimulateResourceConfig) String() string
type SimulateRestorePreamble ¶
type SimulateRestorePreamble struct {
TransactionDataXdr string `protobuf:"bytes,1,opt,name=transaction_data_xdr,json=transactionDataXdr,proto3" json:"transaction_data_xdr,omitempty"`
MinResourceFee int64 `protobuf:"varint,2,opt,name=min_resource_fee,json=minResourceFee,proto3" json:"min_resource_fee,omitempty"`
// contains filtered or unexported fields
}
func (*SimulateRestorePreamble) Descriptor
deprecated
func (*SimulateRestorePreamble) Descriptor() ([]byte, []int)
Deprecated: Use SimulateRestorePreamble.ProtoReflect.Descriptor instead.
func (*SimulateRestorePreamble) GetMinResourceFee ¶
func (x *SimulateRestorePreamble) GetMinResourceFee() int64
func (*SimulateRestorePreamble) GetTransactionDataXdr ¶
func (x *SimulateRestorePreamble) GetTransactionDataXdr() string
func (*SimulateRestorePreamble) ProtoMessage ¶
func (*SimulateRestorePreamble) ProtoMessage()
func (*SimulateRestorePreamble) ProtoReflect ¶
func (x *SimulateRestorePreamble) ProtoReflect() protoreflect.Message
func (*SimulateRestorePreamble) Reset ¶
func (x *SimulateRestorePreamble) Reset()
func (*SimulateRestorePreamble) String ¶
func (x *SimulateRestorePreamble) String() string
type SimulateTransactionRequest ¶
type SimulateTransactionRequest struct {
ContractId string `protobuf:"bytes,1,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // Stellar contract address (C… StrKey)
Function string `protobuf:"bytes,2,opt,name=function,proto3" json:"function,omitempty"` // Soroban function name
Args []*scval.ScVal `protobuf:"bytes,3,rep,name=args,proto3" json:"args,omitempty"` // Typed Soroban arguments
// Source account (G… StrKey) used as the synthetic transaction and operation source.
// Empty means the service uses its deterministic placeholder/default source.
//
// This is not necessarily the same address as a contract Address argument that
// may be checked via require_auth.
SourceAccount string `protobuf:"bytes,4,opt,name=source_account,json=sourceAccount,proto3" json:"source_account,omitempty"`
// Optional Stellar RPC simulation auth mode.
//
// Valid values should map to the underlying RPC protocol values:
//
// "" = service default, recommended to default to "record"
// "record" = record required auth entries
// "enforce" = enforce existing auth entries
// "record_allow_nonroot" = record non-root auth entries where supported
AuthMode string `protobuf:"bytes,5,opt,name=auth_mode,json=authMode,proto3" json:"auth_mode,omitempty"`
// Optional simulation resource configuration.
ResourceConfig *SimulateResourceConfig `protobuf:"bytes,6,opt,name=resource_config,json=resourceConfig,proto3" json:"resource_config,omitempty"`
// contains filtered or unexported fields
}
SimulateTransactionRequest builds a synthetic single-operation Soroban InvokeContract transaction and simulates it without submitting it.
This is not a generic Stellar transaction-envelope simulator. It is a contract-call simulator expressed as contract_id + function + args.
func ConvertSimulateTransactionRequestToProto ¶
func ConvertSimulateTransactionRequestToProto(req stellar.SimulateTransactionRequest) (*SimulateTransactionRequest, error)
ConvertSimulateTransactionRequestToProto converts a domain SimulateTransactionRequest to proto.
func (*SimulateTransactionRequest) Descriptor
deprecated
func (*SimulateTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SimulateTransactionRequest.ProtoReflect.Descriptor instead.
func (*SimulateTransactionRequest) GetArgs ¶
func (x *SimulateTransactionRequest) GetArgs() []*scval.ScVal
func (*SimulateTransactionRequest) GetAuthMode ¶
func (x *SimulateTransactionRequest) GetAuthMode() string
func (*SimulateTransactionRequest) GetContractId ¶
func (x *SimulateTransactionRequest) GetContractId() string
func (*SimulateTransactionRequest) GetFunction ¶
func (x *SimulateTransactionRequest) GetFunction() string
func (*SimulateTransactionRequest) GetResourceConfig ¶
func (x *SimulateTransactionRequest) GetResourceConfig() *SimulateResourceConfig
func (*SimulateTransactionRequest) GetSourceAccount ¶
func (x *SimulateTransactionRequest) GetSourceAccount() string
func (*SimulateTransactionRequest) ProtoMessage ¶
func (*SimulateTransactionRequest) ProtoMessage()
func (*SimulateTransactionRequest) ProtoReflect ¶
func (x *SimulateTransactionRequest) ProtoReflect() protoreflect.Message
func (*SimulateTransactionRequest) Reset ¶
func (x *SimulateTransactionRequest) Reset()
func (*SimulateTransactionRequest) String ¶
func (x *SimulateTransactionRequest) String() string
type SimulateTransactionResponse ¶
type SimulateTransactionResponse struct {
// Ledger actually used for the simulation.
LedgerSequence uint32 `protobuf:"varint,1,opt,name=ledger_sequence,json=ledgerSequence,proto3" json:"ledger_sequence,omitempty"`
// True when the transport request succeeded and the simulation itself did not
// return a host/contract error.
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
// Non-empty when simulation failed at the host/contract layer.
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
// Base64 XDR ScVal return value, if present.
//
// Empty is valid for void/unit-returning contract calls.
ReturnValueXdr string `protobuf:"bytes,4,opt,name=return_value_xdr,json=returnValueXdr,proto3" json:"return_value_xdr,omitempty"`
// Base64 XDR SorobanAuthorizationEntry values returned by simulation,
// typically populated when auth_mode is "record".
RequiredAuthXdr []string `protobuf:"bytes,5,rep,name=required_auth_xdr,json=requiredAuthXdr,proto3" json:"required_auth_xdr,omitempty"`
// Base64 XDR diagnostic/event values returned by simulation, when available.
EventsXdr []string `protobuf:"bytes,6,rep,name=events_xdr,json=eventsXdr,proto3" json:"events_xdr,omitempty"`
// Base64 XDR SorobanTransactionData returned by simulation.
// Useful if a caller later wants to assemble a submit-ready transaction.
TransactionDataXdr string `protobuf:"bytes,7,opt,name=transaction_data_xdr,json=transactionDataXdr,proto3" json:"transaction_data_xdr,omitempty"`
// Minimum resource fee returned by simulation.
MinResourceFee int64 `protobuf:"varint,8,opt,name=min_resource_fee,json=minResourceFee,proto3" json:"min_resource_fee,omitempty"`
// Restore preamble returned by simulation when archived ledger entries must be
// restored before this invocation can be submitted.
RestorePreamble *SimulateRestorePreamble `protobuf:"bytes,9,opt,name=restore_preamble,json=restorePreamble,proto3" json:"restore_preamble,omitempty"`
// contains filtered or unexported fields
}
SimulateTransactionResponse carries the simulated outcome of the synthetic Soroban contract invocation.
func ConvertSimulateTransactionResponseToProto ¶
func ConvertSimulateTransactionResponseToProto(resp stellar.SimulateTransactionResponse) *SimulateTransactionResponse
func (*SimulateTransactionResponse) Descriptor
deprecated
func (*SimulateTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SimulateTransactionResponse.ProtoReflect.Descriptor instead.
func (*SimulateTransactionResponse) GetError ¶
func (x *SimulateTransactionResponse) GetError() string
func (*SimulateTransactionResponse) GetEventsXdr ¶
func (x *SimulateTransactionResponse) GetEventsXdr() []string
func (*SimulateTransactionResponse) GetLedgerSequence ¶
func (x *SimulateTransactionResponse) GetLedgerSequence() uint32
func (*SimulateTransactionResponse) GetMinResourceFee ¶
func (x *SimulateTransactionResponse) GetMinResourceFee() int64
func (*SimulateTransactionResponse) GetRequiredAuthXdr ¶
func (x *SimulateTransactionResponse) GetRequiredAuthXdr() []string
func (*SimulateTransactionResponse) GetRestorePreamble ¶
func (x *SimulateTransactionResponse) GetRestorePreamble() *SimulateRestorePreamble
func (*SimulateTransactionResponse) GetReturnValueXdr ¶
func (x *SimulateTransactionResponse) GetReturnValueXdr() string
func (*SimulateTransactionResponse) GetSuccess ¶
func (x *SimulateTransactionResponse) GetSuccess() bool
func (*SimulateTransactionResponse) GetTransactionDataXdr ¶
func (x *SimulateTransactionResponse) GetTransactionDataXdr() string
func (*SimulateTransactionResponse) ProtoMessage ¶
func (*SimulateTransactionResponse) ProtoMessage()
func (*SimulateTransactionResponse) ProtoReflect ¶
func (x *SimulateTransactionResponse) ProtoReflect() protoreflect.Message
func (*SimulateTransactionResponse) Reset ¶
func (x *SimulateTransactionResponse) Reset()
func (*SimulateTransactionResponse) String ¶
func (x *SimulateTransactionResponse) String() string
type StellarClient ¶
type StellarClient interface {
GetLedgerEntries(ctx context.Context, in *GetLedgerEntriesRequest, opts ...grpc.CallOption) (*GetLedgerEntriesResponse, error)
GetLatestLedger(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetLatestLedgerResponse, error)
GetLedgers(ctx context.Context, in *GetLedgersRequest, opts ...grpc.CallOption) (*GetLedgersResponse, error)
SimulateTransaction(ctx context.Context, in *SimulateTransactionRequest, opts ...grpc.CallOption) (*SimulateTransactionResponse, error)
GetEvents(ctx context.Context, in *GetEventsRequest, opts ...grpc.CallOption) (*GetEventsResponse, error)
GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error)
GetSigningAccount(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetSigningAccountResponse, error)
SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error)
}
StellarClient is the client API for Stellar 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 NewStellarClient ¶
func NewStellarClient(cc grpc.ClientConnInterface) StellarClient
type StellarServer ¶
type StellarServer interface {
GetLedgerEntries(context.Context, *GetLedgerEntriesRequest) (*GetLedgerEntriesResponse, error)
GetLatestLedger(context.Context, *emptypb.Empty) (*GetLatestLedgerResponse, error)
GetLedgers(context.Context, *GetLedgersRequest) (*GetLedgersResponse, error)
SimulateTransaction(context.Context, *SimulateTransactionRequest) (*SimulateTransactionResponse, error)
GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
GetSigningAccount(context.Context, *emptypb.Empty) (*GetSigningAccountResponse, error)
SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
// contains filtered or unexported methods
}
StellarServer is the server API for Stellar service. All implementations must embed UnimplementedStellarServer for forward compatibility.
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct {
IdempotencyKey string `protobuf:"bytes,1,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"` // Optional TXM deduplication key; empty = TXM assigns one
FromAddress string `protobuf:"bytes,2,opt,name=from_address,json=fromAddress,proto3" json:"from_address,omitempty"` // Source/signer account (G… StrKey); empty = TXM default
ContractId string `protobuf:"bytes,3,opt,name=contract_id,json=contractId,proto3" json:"contract_id,omitempty"` // Soroban contract address (C… StrKey)
Function string `protobuf:"bytes,4,opt,name=function,proto3" json:"function,omitempty"` // Soroban function name
Args []*scval.ScVal `protobuf:"bytes,5,rep,name=args,proto3" json:"args,omitempty"` // Typed Soroban arguments
LedgerBoundsOffset uint32 `protobuf:"varint,6,opt,name=ledger_bounds_offset,json=ledgerBoundsOffset,proto3" json:"ledger_bounds_offset,omitempty"` // Per-tx ledger-bounds override; 0 = use TXM default
// contains filtered or unexported fields
}
SubmitTransactionRequest invokes a Soroban contract via the TXM pipeline. The TXM handles simulation, sequence management, fee bumping, signing, and confirmation.
func ConvertSubmitTransactionRequestToProto ¶
func ConvertSubmitTransactionRequestToProto(req stellar.SubmitTransactionRequest) (*SubmitTransactionRequest, error)
func (*SubmitTransactionRequest) Descriptor
deprecated
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionRequest.ProtoReflect.Descriptor instead.
func (*SubmitTransactionRequest) GetArgs ¶
func (x *SubmitTransactionRequest) GetArgs() []*scval.ScVal
func (*SubmitTransactionRequest) GetContractId ¶
func (x *SubmitTransactionRequest) GetContractId() string
func (*SubmitTransactionRequest) GetFromAddress ¶
func (x *SubmitTransactionRequest) GetFromAddress() string
func (*SubmitTransactionRequest) GetFunction ¶
func (x *SubmitTransactionRequest) GetFunction() string
func (*SubmitTransactionRequest) GetIdempotencyKey ¶
func (x *SubmitTransactionRequest) GetIdempotencyKey() string
func (*SubmitTransactionRequest) GetLedgerBoundsOffset ¶
func (x *SubmitTransactionRequest) GetLedgerBoundsOffset() uint32
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) ProtoReflect ¶
func (x *SubmitTransactionRequest) ProtoReflect() protoreflect.Message
func (*SubmitTransactionRequest) Reset ¶
func (x *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (x *SubmitTransactionRequest) String() string
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct {
TxStatus TxStatus `protobuf:"varint,1,opt,name=tx_status,json=txStatus,proto3,enum=loop.stellar.TxStatus" json:"tx_status,omitempty"`
TxHash string `protobuf:"bytes,2,opt,name=tx_hash,json=txHash,proto3" json:"tx_hash,omitempty"`
TxIdempotencyKey string `protobuf:"bytes,3,opt,name=tx_idempotency_key,json=txIdempotencyKey,proto3" json:"tx_idempotency_key,omitempty"` // Assigned key (caller-supplied or TXM-generated)
ResultXdr []byte `protobuf:"bytes,4,opt,name=result_xdr,json=resultXdr,proto3" json:"result_xdr,omitempty"` // TransactionResult binary XDR; empty if unavailable
ResultMetaXdr []byte `protobuf:"bytes,5,opt,name=result_meta_xdr,json=resultMetaXdr,proto3" json:"result_meta_xdr,omitempty"` // TransactionMeta binary XDR; empty if unavailable
Error string `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"` // Non-empty when the transaction was accepted but failed on-chain
TransactionFee *uint64 `protobuf:"varint,7,opt,name=transaction_fee,json=transactionFee,proto3,oneof" json:"transaction_fee,omitempty"` // Total fee charged in stroops (FeeCharged); unset when unavailable
BlockTimestamp *uint64 `protobuf:"varint,8,opt,name=block_timestamp,json=blockTimestamp,proto3,oneof" json:"block_timestamp,omitempty"` // Block timestamp in microseconds; unset when unavailable
// contains filtered or unexported fields
}
SubmitTransactionResponse carries the outcome of a transaction submission.
func ConvertSubmitTransactionResponseToProto ¶
func ConvertSubmitTransactionResponseToProto(reply *stellar.SubmitTransactionResponse) (*SubmitTransactionResponse, error)
ConvertSubmitTransactionResponseToProto converts a domain SubmitTransactionResponse to proto.
func (*SubmitTransactionResponse) Descriptor
deprecated
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitTransactionResponse.ProtoReflect.Descriptor instead.
func (*SubmitTransactionResponse) GetBlockTimestamp ¶
func (x *SubmitTransactionResponse) GetBlockTimestamp() uint64
func (*SubmitTransactionResponse) GetError ¶
func (x *SubmitTransactionResponse) GetError() string
func (*SubmitTransactionResponse) GetResultMetaXdr ¶
func (x *SubmitTransactionResponse) GetResultMetaXdr() []byte
func (*SubmitTransactionResponse) GetResultXdr ¶
func (x *SubmitTransactionResponse) GetResultXdr() []byte
func (*SubmitTransactionResponse) GetTransactionFee ¶
func (x *SubmitTransactionResponse) GetTransactionFee() uint64
func (*SubmitTransactionResponse) GetTxHash ¶
func (x *SubmitTransactionResponse) GetTxHash() string
func (*SubmitTransactionResponse) GetTxIdempotencyKey ¶
func (x *SubmitTransactionResponse) GetTxIdempotencyKey() string
func (*SubmitTransactionResponse) GetTxStatus ¶
func (x *SubmitTransactionResponse) GetTxStatus() TxStatus
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) ProtoReflect ¶
func (x *SubmitTransactionResponse) ProtoReflect() protoreflect.Message
func (*SubmitTransactionResponse) Reset ¶
func (x *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (x *SubmitTransactionResponse) String() string
type TopicFilter ¶
type TopicFilter struct {
Segments []*TopicSegment `protobuf:"bytes,1,rep,name=segments,proto3" json:"segments,omitempty"`
// contains filtered or unexported fields
}
func (*TopicFilter) Descriptor
deprecated
func (*TopicFilter) Descriptor() ([]byte, []int)
Deprecated: Use TopicFilter.ProtoReflect.Descriptor instead.
func (*TopicFilter) GetSegments ¶
func (x *TopicFilter) GetSegments() []*TopicSegment
func (*TopicFilter) ProtoMessage ¶
func (*TopicFilter) ProtoMessage()
func (*TopicFilter) ProtoReflect ¶
func (x *TopicFilter) ProtoReflect() protoreflect.Message
func (*TopicFilter) Reset ¶
func (x *TopicFilter) Reset()
func (*TopicFilter) String ¶
func (x *TopicFilter) String() string
type TopicSegment ¶
type TopicSegment struct {
// Types that are valid to be assigned to Value:
//
// *TopicSegment_Wildcard
// *TopicSegment_Scval
Value isTopicSegment_Value `protobuf_oneof:"value"`
// contains filtered or unexported fields
}
func (*TopicSegment) Descriptor
deprecated
func (*TopicSegment) Descriptor() ([]byte, []int)
Deprecated: Use TopicSegment.ProtoReflect.Descriptor instead.
func (*TopicSegment) GetScval ¶
func (x *TopicSegment) GetScval() *scval.ScVal
func (*TopicSegment) GetValue ¶
func (x *TopicSegment) GetValue() isTopicSegment_Value
func (*TopicSegment) GetWildcard ¶
func (x *TopicSegment) GetWildcard() string
func (*TopicSegment) ProtoMessage ¶
func (*TopicSegment) ProtoMessage()
func (*TopicSegment) ProtoReflect ¶
func (x *TopicSegment) ProtoReflect() protoreflect.Message
func (*TopicSegment) Reset ¶
func (x *TopicSegment) Reset()
func (*TopicSegment) String ¶
func (x *TopicSegment) String() string
type TopicSegment_Scval ¶
type TopicSegment_Wildcard ¶
type TopicSegment_Wildcard struct {
Wildcard string `protobuf:"bytes,1,opt,name=wildcard,proto3,oneof"`
}
type TxStatus ¶
type TxStatus int32
func (TxStatus) Descriptor ¶
func (TxStatus) Descriptor() protoreflect.EnumDescriptor
func (TxStatus) EnumDescriptor
deprecated
func (TxStatus) Number ¶
func (x TxStatus) Number() protoreflect.EnumNumber
func (TxStatus) Type ¶
func (TxStatus) Type() protoreflect.EnumType
type UnimplementedStellarServer ¶
type UnimplementedStellarServer struct{}
UnimplementedStellarServer must be embedded to have forward compatible implementations.
NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.
func (UnimplementedStellarServer) GetEvents ¶
func (UnimplementedStellarServer) GetEvents(context.Context, *GetEventsRequest) (*GetEventsResponse, error)
func (UnimplementedStellarServer) GetLatestLedger ¶
func (UnimplementedStellarServer) GetLatestLedger(context.Context, *emptypb.Empty) (*GetLatestLedgerResponse, error)
func (UnimplementedStellarServer) GetLedgerEntries ¶
func (UnimplementedStellarServer) GetLedgerEntries(context.Context, *GetLedgerEntriesRequest) (*GetLedgerEntriesResponse, error)
func (UnimplementedStellarServer) GetLedgers ¶
func (UnimplementedStellarServer) GetLedgers(context.Context, *GetLedgersRequest) (*GetLedgersResponse, error)
func (UnimplementedStellarServer) GetSigningAccount ¶
func (UnimplementedStellarServer) GetSigningAccount(context.Context, *emptypb.Empty) (*GetSigningAccountResponse, error)
func (UnimplementedStellarServer) GetTransaction ¶
func (UnimplementedStellarServer) GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error)
func (UnimplementedStellarServer) SimulateTransaction ¶
func (UnimplementedStellarServer) SimulateTransaction(context.Context, *SimulateTransactionRequest) (*SimulateTransactionResponse, error)
func (UnimplementedStellarServer) SubmitTransaction ¶
func (UnimplementedStellarServer) SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
type UnsafeStellarServer ¶
type UnsafeStellarServer interface {
// contains filtered or unexported methods
}
UnsafeStellarServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StellarServer will result in compilation errors.