stellar

package
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Stellar_GetLedgerEntries_FullMethodName    = "/loop.stellar.Stellar/GetLedgerEntries"
	Stellar_GetLatestLedger_FullMethodName     = "/loop.stellar.Stellar/GetLatestLedger"
	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

View Source
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.

View Source
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.

View Source
var File_stellar_proto protoreflect.FileDescriptor
View Source
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: "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 ConvertGetTransactionRequestFromProto

func ConvertGetTransactionRequestFromProto(p *GetTransactionRequest) (stellar.GetTransactionRequest, error)

func ConvertLedgerEntryResultFromProto

func ConvertLedgerEntryResultFromProto(p *LedgerEntryResult) (stellar.LedgerEntryResult, error)

ConvertLedgerEntryResultFromProto converts a proto LedgerEntryResult to the domain type.

func ConvertSimulateTransactionRequestFromProto

func ConvertSimulateTransactionRequestFromProto(p *SimulateTransactionRequest) (stellar.SimulateTransactionRequest, error)

ConvertSimulateTransactionRequestFromProto converts proto SimulateTransactionRequest to domain.

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) Descriptor() ([]byte, []int)

Deprecated: Use EventInfo.ProtoReflect.Descriptor instead.

func (*EventInfo) GetContractId

func (x *EventInfo) GetContractId() string

func (*EventInfo) GetEventType

func (x *EventInfo) GetEventType() EventType

func (*EventInfo) GetId

func (x *EventInfo) GetId() string

func (*EventInfo) GetLedger

func (x *EventInfo) GetLedger() uint32

func (*EventInfo) GetLedgerClosedAt

func (x *EventInfo) GetLedgerClosedAt() string

func (*EventInfo) GetOperationIndex

func (x *EventInfo) GetOperationIndex() uint32

func (*EventInfo) GetTopics

func (x *EventInfo) GetTopics() []*scval.ScVal

func (*EventInfo) GetTransactionHash

func (x *EventInfo) GetTransactionHash() string

func (*EventInfo) GetTransactionIndex

func (x *EventInfo) GetTransactionIndex() uint32

func (*EventInfo) GetValue

func (x *EventInfo) GetValue() *scval.ScVal

func (*EventInfo) ProtoMessage

func (*EventInfo) ProtoMessage()

func (*EventInfo) ProtoReflect

func (x *EventInfo) ProtoReflect() protoreflect.Message

func (*EventInfo) Reset

func (x *EventInfo) Reset()

func (*EventInfo) String

func (x *EventInfo) String() string

type EventType

type EventType int32
const (
	EventType_EVENT_TYPE_SYSTEM   EventType = 0
	EventType_EVENT_TYPE_CONTRACT EventType = 1
)

func (EventType) Descriptor

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated

func (EventType) EnumDescriptor() ([]byte, []int)

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String

func (x EventType) String() string

func (EventType) Type

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"` // 32-byte raw 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"`       // LedgerHeader binary XDR
	LedgerMetadataXdr []byte `protobuf:"bytes,6,opt,name=ledger_metadata_xdr,json=ledgerMetadataXdr,proto3" json:"ledger_metadata_xdr,omitempty"` // LedgerCloseMetaV2 binary XDR
	// 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 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 (*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 (*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 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 (*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 (*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 (*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)
	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

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 (*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 (*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_Scval struct {
	Scval *scval.ScVal `protobuf:"bytes,2,opt,name=scval,proto3,oneof"`
}

type TopicSegment_Wildcard

type TopicSegment_Wildcard struct {
	Wildcard string `protobuf:"bytes,1,opt,name=wildcard,proto3,oneof"`
}

type TxStatus

type TxStatus int32
const (
	TxStatus_TX_STATUS_FATAL   TxStatus = 0 // Submission failed before on-chain inclusion
	TxStatus_TX_STATUS_FAILED  TxStatus = 1 // Included on-chain but execution failed
	TxStatus_TX_STATUS_SUCCESS TxStatus = 2 // Included on-chain and succeeded
)

func (TxStatus) Descriptor

func (TxStatus) Descriptor() protoreflect.EnumDescriptor

func (TxStatus) Enum

func (x TxStatus) Enum() *TxStatus

func (TxStatus) EnumDescriptor deprecated

func (TxStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TxStatus.Descriptor instead.

func (TxStatus) Number

func (x TxStatus) Number() protoreflect.EnumNumber

func (TxStatus) String

func (x TxStatus) String() string

func (TxStatus) Type

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) GetLatestLedger

func (UnimplementedStellarServer) GetLedgerEntries

func (UnimplementedStellarServer) GetSigningAccount

func (UnimplementedStellarServer) GetTransaction

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL