Documentation ¶
Index ¶
- Variables
- func RegisterTransactionServer(s *grpc.Server, srv TransactionServer)
- type Cursor
- func (*Cursor) Descriptor() ([]byte, []int)
- func (m *Cursor) GetValue() []byte
- func (*Cursor) ProtoMessage()
- func (m *Cursor) Reset()
- func (m *Cursor) String() string
- func (m *Cursor) Validate() error
- func (m *Cursor) XXX_DiscardUnknown()
- func (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Cursor) XXX_Merge(src proto.Message)
- func (m *Cursor) XXX_Size() int
- func (m *Cursor) XXX_Unmarshal(b []byte) error
- type CursorValidationError
- type GetHistoryRequest
- func (*GetHistoryRequest) Descriptor() ([]byte, []int)
- func (m *GetHistoryRequest) GetAccountId() *v4.SolanaAccountId
- func (m *GetHistoryRequest) GetCursor() *Cursor
- func (m *GetHistoryRequest) GetDirection() GetHistoryRequest_Direction
- func (*GetHistoryRequest) ProtoMessage()
- func (m *GetHistoryRequest) Reset()
- func (m *GetHistoryRequest) String() string
- func (m *GetHistoryRequest) Validate() error
- func (m *GetHistoryRequest) XXX_DiscardUnknown()
- func (m *GetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHistoryRequest) XXX_Merge(src proto.Message)
- func (m *GetHistoryRequest) XXX_Size() int
- func (m *GetHistoryRequest) XXX_Unmarshal(b []byte) error
- type GetHistoryRequestValidationError
- func (e GetHistoryRequestValidationError) Cause() error
- func (e GetHistoryRequestValidationError) Error() string
- func (e GetHistoryRequestValidationError) ErrorName() string
- func (e GetHistoryRequestValidationError) Field() string
- func (e GetHistoryRequestValidationError) Key() bool
- func (e GetHistoryRequestValidationError) Reason() string
- type GetHistoryRequest_Direction
- type GetHistoryResponse
- func (*GetHistoryResponse) Descriptor() ([]byte, []int)
- func (m *GetHistoryResponse) GetItems() []*HistoryItem
- func (m *GetHistoryResponse) GetResult() GetHistoryResponse_Result
- func (*GetHistoryResponse) ProtoMessage()
- func (m *GetHistoryResponse) Reset()
- func (m *GetHistoryResponse) String() string
- func (m *GetHistoryResponse) Validate() error
- func (m *GetHistoryResponse) XXX_DiscardUnknown()
- func (m *GetHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetHistoryResponse) XXX_Merge(src proto.Message)
- func (m *GetHistoryResponse) XXX_Size() int
- func (m *GetHistoryResponse) XXX_Unmarshal(b []byte) error
- type GetHistoryResponseValidationError
- func (e GetHistoryResponseValidationError) Cause() error
- func (e GetHistoryResponseValidationError) Error() string
- func (e GetHistoryResponseValidationError) ErrorName() string
- func (e GetHistoryResponseValidationError) Field() string
- func (e GetHistoryResponseValidationError) Key() bool
- func (e GetHistoryResponseValidationError) Reason() string
- type GetHistoryResponse_Result
- type GetMinimumBalanceForRentExemptionRequest
- func (*GetMinimumBalanceForRentExemptionRequest) Descriptor() ([]byte, []int)
- func (m *GetMinimumBalanceForRentExemptionRequest) GetSize() uint64
- func (*GetMinimumBalanceForRentExemptionRequest) ProtoMessage()
- func (m *GetMinimumBalanceForRentExemptionRequest) Reset()
- func (m *GetMinimumBalanceForRentExemptionRequest) String() string
- func (m *GetMinimumBalanceForRentExemptionRequest) Validate() error
- func (m *GetMinimumBalanceForRentExemptionRequest) XXX_DiscardUnknown()
- func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Merge(src proto.Message)
- func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Size() int
- func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Unmarshal(b []byte) error
- type GetMinimumBalanceForRentExemptionRequestValidationError
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) Cause() error
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) Error() string
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) ErrorName() string
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) Field() string
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) Key() bool
- func (e GetMinimumBalanceForRentExemptionRequestValidationError) Reason() string
- type GetMinimumBalanceForRentExemptionResponse
- func (*GetMinimumBalanceForRentExemptionResponse) Descriptor() ([]byte, []int)
- func (m *GetMinimumBalanceForRentExemptionResponse) GetLamports() uint64
- func (*GetMinimumBalanceForRentExemptionResponse) ProtoMessage()
- func (m *GetMinimumBalanceForRentExemptionResponse) Reset()
- func (m *GetMinimumBalanceForRentExemptionResponse) String() string
- func (m *GetMinimumBalanceForRentExemptionResponse) Validate() error
- func (m *GetMinimumBalanceForRentExemptionResponse) XXX_DiscardUnknown()
- func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Merge(src proto.Message)
- func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Size() int
- func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Unmarshal(b []byte) error
- type GetMinimumBalanceForRentExemptionResponseValidationError
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) Cause() error
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) Error() string
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) ErrorName() string
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) Field() string
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) Key() bool
- func (e GetMinimumBalanceForRentExemptionResponseValidationError) Reason() string
- type GetMinimumKinVersionRequest
- func (*GetMinimumKinVersionRequest) Descriptor() ([]byte, []int)
- func (*GetMinimumKinVersionRequest) ProtoMessage()
- func (m *GetMinimumKinVersionRequest) Reset()
- func (m *GetMinimumKinVersionRequest) String() string
- func (m *GetMinimumKinVersionRequest) Validate() error
- func (m *GetMinimumKinVersionRequest) XXX_DiscardUnknown()
- func (m *GetMinimumKinVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMinimumKinVersionRequest) XXX_Merge(src proto.Message)
- func (m *GetMinimumKinVersionRequest) XXX_Size() int
- func (m *GetMinimumKinVersionRequest) XXX_Unmarshal(b []byte) error
- type GetMinimumKinVersionRequestValidationError
- func (e GetMinimumKinVersionRequestValidationError) Cause() error
- func (e GetMinimumKinVersionRequestValidationError) Error() string
- func (e GetMinimumKinVersionRequestValidationError) ErrorName() string
- func (e GetMinimumKinVersionRequestValidationError) Field() string
- func (e GetMinimumKinVersionRequestValidationError) Key() bool
- func (e GetMinimumKinVersionRequestValidationError) Reason() string
- type GetMinimumKinVersionResponse
- func (*GetMinimumKinVersionResponse) Descriptor() ([]byte, []int)
- func (m *GetMinimumKinVersionResponse) GetVersion() uint32
- func (*GetMinimumKinVersionResponse) ProtoMessage()
- func (m *GetMinimumKinVersionResponse) Reset()
- func (m *GetMinimumKinVersionResponse) String() string
- func (m *GetMinimumKinVersionResponse) Validate() error
- func (m *GetMinimumKinVersionResponse) XXX_DiscardUnknown()
- func (m *GetMinimumKinVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetMinimumKinVersionResponse) XXX_Merge(src proto.Message)
- func (m *GetMinimumKinVersionResponse) XXX_Size() int
- func (m *GetMinimumKinVersionResponse) XXX_Unmarshal(b []byte) error
- type GetMinimumKinVersionResponseValidationError
- func (e GetMinimumKinVersionResponseValidationError) Cause() error
- func (e GetMinimumKinVersionResponseValidationError) Error() string
- func (e GetMinimumKinVersionResponseValidationError) ErrorName() string
- func (e GetMinimumKinVersionResponseValidationError) Field() string
- func (e GetMinimumKinVersionResponseValidationError) Key() bool
- func (e GetMinimumKinVersionResponseValidationError) Reason() string
- type GetRecentBlockhashRequest
- func (*GetRecentBlockhashRequest) Descriptor() ([]byte, []int)
- func (*GetRecentBlockhashRequest) ProtoMessage()
- func (m *GetRecentBlockhashRequest) Reset()
- func (m *GetRecentBlockhashRequest) String() string
- func (m *GetRecentBlockhashRequest) Validate() error
- func (m *GetRecentBlockhashRequest) XXX_DiscardUnknown()
- func (m *GetRecentBlockhashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRecentBlockhashRequest) XXX_Merge(src proto.Message)
- func (m *GetRecentBlockhashRequest) XXX_Size() int
- func (m *GetRecentBlockhashRequest) XXX_Unmarshal(b []byte) error
- type GetRecentBlockhashRequestValidationError
- func (e GetRecentBlockhashRequestValidationError) Cause() error
- func (e GetRecentBlockhashRequestValidationError) Error() string
- func (e GetRecentBlockhashRequestValidationError) ErrorName() string
- func (e GetRecentBlockhashRequestValidationError) Field() string
- func (e GetRecentBlockhashRequestValidationError) Key() bool
- func (e GetRecentBlockhashRequestValidationError) Reason() string
- type GetRecentBlockhashResponse
- func (*GetRecentBlockhashResponse) Descriptor() ([]byte, []int)
- func (m *GetRecentBlockhashResponse) GetBlockhash() *v4.Blockhash
- func (*GetRecentBlockhashResponse) ProtoMessage()
- func (m *GetRecentBlockhashResponse) Reset()
- func (m *GetRecentBlockhashResponse) String() string
- func (m *GetRecentBlockhashResponse) Validate() error
- func (m *GetRecentBlockhashResponse) XXX_DiscardUnknown()
- func (m *GetRecentBlockhashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetRecentBlockhashResponse) XXX_Merge(src proto.Message)
- func (m *GetRecentBlockhashResponse) XXX_Size() int
- func (m *GetRecentBlockhashResponse) XXX_Unmarshal(b []byte) error
- type GetRecentBlockhashResponseValidationError
- func (e GetRecentBlockhashResponseValidationError) Cause() error
- func (e GetRecentBlockhashResponseValidationError) Error() string
- func (e GetRecentBlockhashResponseValidationError) ErrorName() string
- func (e GetRecentBlockhashResponseValidationError) Field() string
- func (e GetRecentBlockhashResponseValidationError) Key() bool
- func (e GetRecentBlockhashResponseValidationError) Reason() string
- type GetServiceConfigRequest
- func (*GetServiceConfigRequest) Descriptor() ([]byte, []int)
- func (*GetServiceConfigRequest) ProtoMessage()
- func (m *GetServiceConfigRequest) Reset()
- func (m *GetServiceConfigRequest) String() string
- func (m *GetServiceConfigRequest) Validate() error
- func (m *GetServiceConfigRequest) XXX_DiscardUnknown()
- func (m *GetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServiceConfigRequest) XXX_Merge(src proto.Message)
- func (m *GetServiceConfigRequest) XXX_Size() int
- func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error
- type GetServiceConfigRequestValidationError
- func (e GetServiceConfigRequestValidationError) Cause() error
- func (e GetServiceConfigRequestValidationError) Error() string
- func (e GetServiceConfigRequestValidationError) ErrorName() string
- func (e GetServiceConfigRequestValidationError) Field() string
- func (e GetServiceConfigRequestValidationError) Key() bool
- func (e GetServiceConfigRequestValidationError) Reason() string
- type GetServiceConfigResponse
- func (*GetServiceConfigResponse) Descriptor() ([]byte, []int)
- func (m *GetServiceConfigResponse) GetSubsidizerAccount() *v4.SolanaAccountId
- func (m *GetServiceConfigResponse) GetToken() *v4.SolanaAccountId
- func (m *GetServiceConfigResponse) GetTokenProgram() *v4.SolanaAccountId
- func (*GetServiceConfigResponse) ProtoMessage()
- func (m *GetServiceConfigResponse) Reset()
- func (m *GetServiceConfigResponse) String() string
- func (m *GetServiceConfigResponse) Validate() error
- func (m *GetServiceConfigResponse) XXX_DiscardUnknown()
- func (m *GetServiceConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetServiceConfigResponse) XXX_Merge(src proto.Message)
- func (m *GetServiceConfigResponse) XXX_Size() int
- func (m *GetServiceConfigResponse) XXX_Unmarshal(b []byte) error
- type GetServiceConfigResponseValidationError
- func (e GetServiceConfigResponseValidationError) Cause() error
- func (e GetServiceConfigResponseValidationError) Error() string
- func (e GetServiceConfigResponseValidationError) ErrorName() string
- func (e GetServiceConfigResponseValidationError) Field() string
- func (e GetServiceConfigResponseValidationError) Key() bool
- func (e GetServiceConfigResponseValidationError) Reason() string
- type GetTransactionRequest
- func (*GetTransactionRequest) Descriptor() ([]byte, []int)
- func (m *GetTransactionRequest) GetCommitment() v4.Commitment
- func (m *GetTransactionRequest) GetTransactionId() *v4.TransactionId
- func (*GetTransactionRequest) ProtoMessage()
- func (m *GetTransactionRequest) Reset()
- func (m *GetTransactionRequest) String() string
- func (m *GetTransactionRequest) Validate() error
- func (m *GetTransactionRequest) XXX_DiscardUnknown()
- func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionRequest) XXX_Merge(src proto.Message)
- func (m *GetTransactionRequest) XXX_Size() int
- func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error
- type GetTransactionRequestValidationError
- func (e GetTransactionRequestValidationError) Cause() error
- func (e GetTransactionRequestValidationError) Error() string
- func (e GetTransactionRequestValidationError) ErrorName() string
- func (e GetTransactionRequestValidationError) Field() string
- func (e GetTransactionRequestValidationError) Key() bool
- func (e GetTransactionRequestValidationError) Reason() string
- type GetTransactionResponse
- func (*GetTransactionResponse) Descriptor() ([]byte, []int)
- func (m *GetTransactionResponse) GetConfirmations() uint32
- func (m *GetTransactionResponse) GetItem() *HistoryItem
- func (m *GetTransactionResponse) GetSlot() uint64
- func (m *GetTransactionResponse) GetState() GetTransactionResponse_State
- func (*GetTransactionResponse) ProtoMessage()
- func (m *GetTransactionResponse) Reset()
- func (m *GetTransactionResponse) String() string
- func (m *GetTransactionResponse) Validate() error
- func (m *GetTransactionResponse) XXX_DiscardUnknown()
- func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
- func (m *GetTransactionResponse) XXX_Size() int
- func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
- type GetTransactionResponseValidationError
- func (e GetTransactionResponseValidationError) Cause() error
- func (e GetTransactionResponseValidationError) Error() string
- func (e GetTransactionResponseValidationError) ErrorName() string
- func (e GetTransactionResponseValidationError) Field() string
- func (e GetTransactionResponseValidationError) Key() bool
- func (e GetTransactionResponseValidationError) Reason() string
- type GetTransactionResponse_State
- type HistoryItem
- func (*HistoryItem) Descriptor() ([]byte, []int)
- func (m *HistoryItem) GetCursor() *Cursor
- func (m *HistoryItem) GetInvoiceList() *v3.InvoiceList
- func (m *HistoryItem) GetPayments() []*HistoryItem_Payment
- func (m *HistoryItem) GetRawTransaction() isHistoryItem_RawTransaction
- func (m *HistoryItem) GetSolanaTransaction() *v4.Transaction
- func (m *HistoryItem) GetStellarTransaction() *v4.StellarTransaction
- func (m *HistoryItem) GetTransactionError() *v4.TransactionError
- func (m *HistoryItem) GetTransactionId() *v4.TransactionId
- func (m *HistoryItem) GetTransactionTime() *timestamp.Timestamp
- func (*HistoryItem) ProtoMessage()
- func (m *HistoryItem) Reset()
- func (m *HistoryItem) String() string
- func (m *HistoryItem) Validate() error
- func (m *HistoryItem) XXX_DiscardUnknown()
- func (m *HistoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryItem) XXX_Merge(src proto.Message)
- func (*HistoryItem) XXX_OneofWrappers() []interface{}
- func (m *HistoryItem) XXX_Size() int
- func (m *HistoryItem) XXX_Unmarshal(b []byte) error
- type HistoryItemValidationError
- func (e HistoryItemValidationError) Cause() error
- func (e HistoryItemValidationError) Error() string
- func (e HistoryItemValidationError) ErrorName() string
- func (e HistoryItemValidationError) Field() string
- func (e HistoryItemValidationError) Key() bool
- func (e HistoryItemValidationError) Reason() string
- type HistoryItem_Payment
- func (*HistoryItem_Payment) Descriptor() ([]byte, []int)
- func (m *HistoryItem_Payment) GetAmount() int64
- func (m *HistoryItem_Payment) GetDestination() *v4.SolanaAccountId
- func (m *HistoryItem_Payment) GetIndex() uint32
- func (m *HistoryItem_Payment) GetSource() *v4.SolanaAccountId
- func (*HistoryItem_Payment) ProtoMessage()
- func (m *HistoryItem_Payment) Reset()
- func (m *HistoryItem_Payment) String() string
- func (m *HistoryItem_Payment) Validate() error
- func (m *HistoryItem_Payment) XXX_DiscardUnknown()
- func (m *HistoryItem_Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *HistoryItem_Payment) XXX_Merge(src proto.Message)
- func (m *HistoryItem_Payment) XXX_Size() int
- func (m *HistoryItem_Payment) XXX_Unmarshal(b []byte) error
- type HistoryItem_PaymentValidationError
- func (e HistoryItem_PaymentValidationError) Cause() error
- func (e HistoryItem_PaymentValidationError) Error() string
- func (e HistoryItem_PaymentValidationError) ErrorName() string
- func (e HistoryItem_PaymentValidationError) Field() string
- func (e HistoryItem_PaymentValidationError) Key() bool
- func (e HistoryItem_PaymentValidationError) Reason() string
- type HistoryItem_SolanaTransaction
- type HistoryItem_StellarTransaction
- type SignTransactionRequest
- func (*SignTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SignTransactionRequest) GetInvoiceList() *v3.InvoiceList
- func (m *SignTransactionRequest) GetTransaction() *v4.Transaction
- func (*SignTransactionRequest) ProtoMessage()
- func (m *SignTransactionRequest) Reset()
- func (m *SignTransactionRequest) String() string
- func (m *SignTransactionRequest) Validate() error
- func (m *SignTransactionRequest) XXX_DiscardUnknown()
- func (m *SignTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SignTransactionRequest) XXX_Size() int
- func (m *SignTransactionRequest) XXX_Unmarshal(b []byte) error
- type SignTransactionRequestValidationError
- func (e SignTransactionRequestValidationError) Cause() error
- func (e SignTransactionRequestValidationError) Error() string
- func (e SignTransactionRequestValidationError) ErrorName() string
- func (e SignTransactionRequestValidationError) Field() string
- func (e SignTransactionRequestValidationError) Key() bool
- func (e SignTransactionRequestValidationError) Reason() string
- type SignTransactionResponse
- func (*SignTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SignTransactionResponse) GetInvoiceErrors() []*v3.InvoiceError
- func (m *SignTransactionResponse) GetResult() SignTransactionResponse_Result
- func (m *SignTransactionResponse) GetSignature() *v4.TransactionSignature
- func (*SignTransactionResponse) ProtoMessage()
- func (m *SignTransactionResponse) Reset()
- func (m *SignTransactionResponse) String() string
- func (m *SignTransactionResponse) Validate() error
- func (m *SignTransactionResponse) XXX_DiscardUnknown()
- func (m *SignTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignTransactionResponse) XXX_Merge(src proto.Message)
- func (m *SignTransactionResponse) XXX_Size() int
- func (m *SignTransactionResponse) XXX_Unmarshal(b []byte) error
- type SignTransactionResponseValidationError
- func (e SignTransactionResponseValidationError) Cause() error
- func (e SignTransactionResponseValidationError) Error() string
- func (e SignTransactionResponseValidationError) ErrorName() string
- func (e SignTransactionResponseValidationError) Field() string
- func (e SignTransactionResponseValidationError) Key() bool
- func (e SignTransactionResponseValidationError) Reason() string
- type SignTransactionResponse_Result
- type SubmitTransactionRequest
- func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
- func (m *SubmitTransactionRequest) GetCommitment() v4.Commitment
- func (m *SubmitTransactionRequest) GetDedupeId() []byte
- func (m *SubmitTransactionRequest) GetInvoiceList() *v3.InvoiceList
- func (m *SubmitTransactionRequest) GetSendSimulationEvent() bool
- func (m *SubmitTransactionRequest) GetTransaction() *v4.Transaction
- func (*SubmitTransactionRequest) ProtoMessage()
- func (m *SubmitTransactionRequest) Reset()
- func (m *SubmitTransactionRequest) String() string
- func (m *SubmitTransactionRequest) Validate() error
- func (m *SubmitTransactionRequest) XXX_DiscardUnknown()
- func (m *SubmitTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitTransactionRequest) XXX_Merge(src proto.Message)
- func (m *SubmitTransactionRequest) XXX_Size() int
- func (m *SubmitTransactionRequest) XXX_Unmarshal(b []byte) error
- type SubmitTransactionRequestValidationError
- func (e SubmitTransactionRequestValidationError) Cause() error
- func (e SubmitTransactionRequestValidationError) Error() string
- func (e SubmitTransactionRequestValidationError) ErrorName() string
- func (e SubmitTransactionRequestValidationError) Field() string
- func (e SubmitTransactionRequestValidationError) Key() bool
- func (e SubmitTransactionRequestValidationError) Reason() string
- type SubmitTransactionResponse
- func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
- func (m *SubmitTransactionResponse) GetInvoiceErrors() []*v3.InvoiceError
- func (m *SubmitTransactionResponse) GetResult() SubmitTransactionResponse_Result
- func (m *SubmitTransactionResponse) GetSignature() *v4.TransactionSignature
- func (m *SubmitTransactionResponse) GetTransactionError() *v4.TransactionError
- func (*SubmitTransactionResponse) ProtoMessage()
- func (m *SubmitTransactionResponse) Reset()
- func (m *SubmitTransactionResponse) String() string
- func (m *SubmitTransactionResponse) Validate() error
- func (m *SubmitTransactionResponse) XXX_DiscardUnknown()
- func (m *SubmitTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SubmitTransactionResponse) XXX_Merge(src proto.Message)
- func (m *SubmitTransactionResponse) XXX_Size() int
- func (m *SubmitTransactionResponse) XXX_Unmarshal(b []byte) error
- type SubmitTransactionResponseValidationError
- func (e SubmitTransactionResponseValidationError) Cause() error
- func (e SubmitTransactionResponseValidationError) Error() string
- func (e SubmitTransactionResponseValidationError) ErrorName() string
- func (e SubmitTransactionResponseValidationError) Field() string
- func (e SubmitTransactionResponseValidationError) Key() bool
- func (e SubmitTransactionResponseValidationError) Reason() string
- type SubmitTransactionResponse_Result
- type TransactionClient
- type TransactionServer
- type UnimplementedTransactionServer
- func (*UnimplementedTransactionServer) GetHistory(ctx context.Context, req *GetHistoryRequest) (*GetHistoryResponse, error)
- func (*UnimplementedTransactionServer) GetMinimumBalanceForRentExemption(ctx context.Context, req *GetMinimumBalanceForRentExemptionRequest) (*GetMinimumBalanceForRentExemptionResponse, error)
- func (*UnimplementedTransactionServer) GetMinimumKinVersion(ctx context.Context, req *GetMinimumKinVersionRequest) (*GetMinimumKinVersionResponse, error)
- func (*UnimplementedTransactionServer) GetRecentBlockhash(ctx context.Context, req *GetRecentBlockhashRequest) (*GetRecentBlockhashResponse, error)
- func (*UnimplementedTransactionServer) GetServiceConfig(ctx context.Context, req *GetServiceConfigRequest) (*GetServiceConfigResponse, error)
- func (*UnimplementedTransactionServer) GetTransaction(ctx context.Context, req *GetTransactionRequest) (*GetTransactionResponse, error)
- func (*UnimplementedTransactionServer) SignTransaction(ctx context.Context, req *SignTransactionRequest) (*SignTransactionResponse, error)
- func (*UnimplementedTransactionServer) SubmitTransaction(ctx context.Context, req *SubmitTransactionRequest) (*SubmitTransactionResponse, error)
Constants ¶
This section is empty.
Variables ¶
var GetHistoryRequest_Direction_name = map[int32]string{
0: "ASC",
1: "DESC",
}
var GetHistoryRequest_Direction_value = map[string]int32{
"ASC": 0,
"DESC": 1,
}
var GetHistoryResponse_Result_name = map[int32]string{
0: "OK",
1: "NOT_FOUND",
}
var GetHistoryResponse_Result_value = map[string]int32{
"OK": 0,
"NOT_FOUND": 1,
}
var GetTransactionResponse_State_name = map[int32]string{
0: "UNKNOWN",
1: "SUCCESS",
2: "FAILED",
3: "PENDING",
}
var GetTransactionResponse_State_value = map[string]int32{
"UNKNOWN": 0,
"SUCCESS": 1,
"FAILED": 2,
"PENDING": 3,
}
var SignTransactionResponse_Result_name = map[int32]string{
0: "OK",
3: "REJECTED",
4: "INVOICE_ERROR",
}
var SignTransactionResponse_Result_value = map[string]int32{
"OK": 0,
"REJECTED": 3,
"INVOICE_ERROR": 4,
}
var SubmitTransactionResponse_Result_name = map[int32]string{
0: "OK",
1: "ALREADY_SUBMITTED",
2: "FAILED",
3: "REJECTED",
4: "INVOICE_ERROR",
5: "PAYER_REQUIRED",
}
var SubmitTransactionResponse_Result_value = map[string]int32{
"OK": 0,
"ALREADY_SUBMITTED": 1,
"FAILED": 2,
"REJECTED": 3,
"INVOICE_ERROR": 4,
"PAYER_REQUIRED": 5,
}
Functions ¶
func RegisterTransactionServer ¶
func RegisterTransactionServer(s *grpc.Server, srv TransactionServer)
Types ¶
type Cursor ¶
type Cursor struct { Value []byte `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Cursor) Descriptor ¶
func (*Cursor) ProtoMessage ¶
func (*Cursor) ProtoMessage()
func (*Cursor) Validate ¶
Validate checks the field values on Cursor with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*Cursor) XXX_DiscardUnknown ¶
func (m *Cursor) XXX_DiscardUnknown()
func (*Cursor) XXX_Marshal ¶
func (*Cursor) XXX_Unmarshal ¶
type CursorValidationError ¶
type CursorValidationError struct {
// contains filtered or unexported fields
}
CursorValidationError is the validation error returned by Cursor.Validate if the designated constraints aren't met.
func (CursorValidationError) Cause ¶
func (e CursorValidationError) Cause() error
Cause function returns cause value.
func (CursorValidationError) Error ¶
func (e CursorValidationError) Error() string
Error satisfies the builtin error interface
func (CursorValidationError) ErrorName ¶
func (e CursorValidationError) ErrorName() string
ErrorName returns error name.
func (CursorValidationError) Field ¶
func (e CursorValidationError) Field() string
Field function returns field value.
func (CursorValidationError) Key ¶
func (e CursorValidationError) Key() bool
Key function returns key value.
func (CursorValidationError) Reason ¶
func (e CursorValidationError) Reason() string
Reason function returns reason value.
type GetHistoryRequest ¶
type GetHistoryRequest struct { // Account to get history for. AccountId *v4.SolanaAccountId `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"` // An optional history cursor indicating where in // the history to 'resume' from. Cursor *Cursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // The order in which to return history items from // the cursor. Direction GetHistoryRequest_Direction `` /* 130-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetHistoryRequest) Descriptor ¶
func (*GetHistoryRequest) Descriptor() ([]byte, []int)
func (*GetHistoryRequest) GetAccountId ¶
func (m *GetHistoryRequest) GetAccountId() *v4.SolanaAccountId
func (*GetHistoryRequest) GetCursor ¶
func (m *GetHistoryRequest) GetCursor() *Cursor
func (*GetHistoryRequest) GetDirection ¶
func (m *GetHistoryRequest) GetDirection() GetHistoryRequest_Direction
func (*GetHistoryRequest) ProtoMessage ¶
func (*GetHistoryRequest) ProtoMessage()
func (*GetHistoryRequest) Reset ¶
func (m *GetHistoryRequest) Reset()
func (*GetHistoryRequest) String ¶
func (m *GetHistoryRequest) String() string
func (*GetHistoryRequest) Validate ¶
func (m *GetHistoryRequest) Validate() error
Validate checks the field values on GetHistoryRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetHistoryRequest) XXX_DiscardUnknown ¶
func (m *GetHistoryRequest) XXX_DiscardUnknown()
func (*GetHistoryRequest) XXX_Marshal ¶
func (m *GetHistoryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHistoryRequest) XXX_Merge ¶
func (m *GetHistoryRequest) XXX_Merge(src proto.Message)
func (*GetHistoryRequest) XXX_Size ¶
func (m *GetHistoryRequest) XXX_Size() int
func (*GetHistoryRequest) XXX_Unmarshal ¶
func (m *GetHistoryRequest) XXX_Unmarshal(b []byte) error
type GetHistoryRequestValidationError ¶
type GetHistoryRequestValidationError struct {
// contains filtered or unexported fields
}
GetHistoryRequestValidationError is the validation error returned by GetHistoryRequest.Validate if the designated constraints aren't met.
func (GetHistoryRequestValidationError) Cause ¶
func (e GetHistoryRequestValidationError) Cause() error
Cause function returns cause value.
func (GetHistoryRequestValidationError) Error ¶
func (e GetHistoryRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoryRequestValidationError) ErrorName ¶
func (e GetHistoryRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoryRequestValidationError) Field ¶
func (e GetHistoryRequestValidationError) Field() string
Field function returns field value.
func (GetHistoryRequestValidationError) Key ¶
func (e GetHistoryRequestValidationError) Key() bool
Key function returns key value.
func (GetHistoryRequestValidationError) Reason ¶
func (e GetHistoryRequestValidationError) Reason() string
Reason function returns reason value.
type GetHistoryRequest_Direction ¶
type GetHistoryRequest_Direction int32
const ( // ASC direction returns all history items in // ascending (based on chain order) from the cursor. GetHistoryRequest_ASC GetHistoryRequest_Direction = 0 // DESC direction returns all history items in // descending (based on chain order) from _before_ the cursor. GetHistoryRequest_DESC GetHistoryRequest_Direction = 1 )
func (GetHistoryRequest_Direction) EnumDescriptor ¶
func (GetHistoryRequest_Direction) EnumDescriptor() ([]byte, []int)
func (GetHistoryRequest_Direction) String ¶
func (x GetHistoryRequest_Direction) String() string
type GetHistoryResponse ¶
type GetHistoryResponse struct { Result GetHistoryResponse_Result `protobuf:"varint,1,opt,name=result,proto3,enum=kin.agora.transaction.v4.GetHistoryResponse_Result" json:"result,omitempty"` Items []*HistoryItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetHistoryResponse) Descriptor ¶
func (*GetHistoryResponse) Descriptor() ([]byte, []int)
func (*GetHistoryResponse) GetItems ¶
func (m *GetHistoryResponse) GetItems() []*HistoryItem
func (*GetHistoryResponse) GetResult ¶
func (m *GetHistoryResponse) GetResult() GetHistoryResponse_Result
func (*GetHistoryResponse) ProtoMessage ¶
func (*GetHistoryResponse) ProtoMessage()
func (*GetHistoryResponse) Reset ¶
func (m *GetHistoryResponse) Reset()
func (*GetHistoryResponse) String ¶
func (m *GetHistoryResponse) String() string
func (*GetHistoryResponse) Validate ¶
func (m *GetHistoryResponse) Validate() error
Validate checks the field values on GetHistoryResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetHistoryResponse) XXX_DiscardUnknown ¶
func (m *GetHistoryResponse) XXX_DiscardUnknown()
func (*GetHistoryResponse) XXX_Marshal ¶
func (m *GetHistoryResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetHistoryResponse) XXX_Merge ¶
func (m *GetHistoryResponse) XXX_Merge(src proto.Message)
func (*GetHistoryResponse) XXX_Size ¶
func (m *GetHistoryResponse) XXX_Size() int
func (*GetHistoryResponse) XXX_Unmarshal ¶
func (m *GetHistoryResponse) XXX_Unmarshal(b []byte) error
type GetHistoryResponseValidationError ¶
type GetHistoryResponseValidationError struct {
// contains filtered or unexported fields
}
GetHistoryResponseValidationError is the validation error returned by GetHistoryResponse.Validate if the designated constraints aren't met.
func (GetHistoryResponseValidationError) Cause ¶
func (e GetHistoryResponseValidationError) Cause() error
Cause function returns cause value.
func (GetHistoryResponseValidationError) Error ¶
func (e GetHistoryResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetHistoryResponseValidationError) ErrorName ¶
func (e GetHistoryResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetHistoryResponseValidationError) Field ¶
func (e GetHistoryResponseValidationError) Field() string
Field function returns field value.
func (GetHistoryResponseValidationError) Key ¶
func (e GetHistoryResponseValidationError) Key() bool
Key function returns key value.
func (GetHistoryResponseValidationError) Reason ¶
func (e GetHistoryResponseValidationError) Reason() string
Reason function returns reason value.
type GetHistoryResponse_Result ¶
type GetHistoryResponse_Result int32
const ( GetHistoryResponse_OK GetHistoryResponse_Result = 0 GetHistoryResponse_NOT_FOUND GetHistoryResponse_Result = 1 )
func (GetHistoryResponse_Result) EnumDescriptor ¶
func (GetHistoryResponse_Result) EnumDescriptor() ([]byte, []int)
func (GetHistoryResponse_Result) String ¶
func (x GetHistoryResponse_Result) String() string
type GetMinimumBalanceForRentExemptionRequest ¶
type GetMinimumBalanceForRentExemptionRequest struct { Size uint64 `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMinimumBalanceForRentExemptionRequest) Descriptor ¶
func (*GetMinimumBalanceForRentExemptionRequest) Descriptor() ([]byte, []int)
func (*GetMinimumBalanceForRentExemptionRequest) GetSize ¶
func (m *GetMinimumBalanceForRentExemptionRequest) GetSize() uint64
func (*GetMinimumBalanceForRentExemptionRequest) ProtoMessage ¶
func (*GetMinimumBalanceForRentExemptionRequest) ProtoMessage()
func (*GetMinimumBalanceForRentExemptionRequest) Reset ¶
func (m *GetMinimumBalanceForRentExemptionRequest) Reset()
func (*GetMinimumBalanceForRentExemptionRequest) String ¶
func (m *GetMinimumBalanceForRentExemptionRequest) String() string
func (*GetMinimumBalanceForRentExemptionRequest) Validate ¶
func (m *GetMinimumBalanceForRentExemptionRequest) Validate() error
Validate checks the field values on GetMinimumBalanceForRentExemptionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetMinimumBalanceForRentExemptionRequest) XXX_DiscardUnknown ¶
func (m *GetMinimumBalanceForRentExemptionRequest) XXX_DiscardUnknown()
func (*GetMinimumBalanceForRentExemptionRequest) XXX_Marshal ¶
func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMinimumBalanceForRentExemptionRequest) XXX_Merge ¶
func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Merge(src proto.Message)
func (*GetMinimumBalanceForRentExemptionRequest) XXX_Size ¶
func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Size() int
func (*GetMinimumBalanceForRentExemptionRequest) XXX_Unmarshal ¶
func (m *GetMinimumBalanceForRentExemptionRequest) XXX_Unmarshal(b []byte) error
type GetMinimumBalanceForRentExemptionRequestValidationError ¶
type GetMinimumBalanceForRentExemptionRequestValidationError struct {
// contains filtered or unexported fields
}
GetMinimumBalanceForRentExemptionRequestValidationError is the validation error returned by GetMinimumBalanceForRentExemptionRequest.Validate if the designated constraints aren't met.
func (GetMinimumBalanceForRentExemptionRequestValidationError) Cause ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMinimumBalanceForRentExemptionRequestValidationError) Error ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinimumBalanceForRentExemptionRequestValidationError) ErrorName ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinimumBalanceForRentExemptionRequestValidationError) Field ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) Field() string
Field function returns field value.
func (GetMinimumBalanceForRentExemptionRequestValidationError) Key ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) Key() bool
Key function returns key value.
func (GetMinimumBalanceForRentExemptionRequestValidationError) Reason ¶
func (e GetMinimumBalanceForRentExemptionRequestValidationError) Reason() string
Reason function returns reason value.
type GetMinimumBalanceForRentExemptionResponse ¶
type GetMinimumBalanceForRentExemptionResponse struct { Lamports uint64 `protobuf:"varint,1,opt,name=lamports,proto3" json:"lamports,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMinimumBalanceForRentExemptionResponse) Descriptor ¶
func (*GetMinimumBalanceForRentExemptionResponse) Descriptor() ([]byte, []int)
func (*GetMinimumBalanceForRentExemptionResponse) GetLamports ¶
func (m *GetMinimumBalanceForRentExemptionResponse) GetLamports() uint64
func (*GetMinimumBalanceForRentExemptionResponse) ProtoMessage ¶
func (*GetMinimumBalanceForRentExemptionResponse) ProtoMessage()
func (*GetMinimumBalanceForRentExemptionResponse) Reset ¶
func (m *GetMinimumBalanceForRentExemptionResponse) Reset()
func (*GetMinimumBalanceForRentExemptionResponse) String ¶
func (m *GetMinimumBalanceForRentExemptionResponse) String() string
func (*GetMinimumBalanceForRentExemptionResponse) Validate ¶
func (m *GetMinimumBalanceForRentExemptionResponse) Validate() error
Validate checks the field values on GetMinimumBalanceForRentExemptionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetMinimumBalanceForRentExemptionResponse) XXX_DiscardUnknown ¶
func (m *GetMinimumBalanceForRentExemptionResponse) XXX_DiscardUnknown()
func (*GetMinimumBalanceForRentExemptionResponse) XXX_Marshal ¶
func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMinimumBalanceForRentExemptionResponse) XXX_Merge ¶
func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Merge(src proto.Message)
func (*GetMinimumBalanceForRentExemptionResponse) XXX_Size ¶
func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Size() int
func (*GetMinimumBalanceForRentExemptionResponse) XXX_Unmarshal ¶
func (m *GetMinimumBalanceForRentExemptionResponse) XXX_Unmarshal(b []byte) error
type GetMinimumBalanceForRentExemptionResponseValidationError ¶
type GetMinimumBalanceForRentExemptionResponseValidationError struct {
// contains filtered or unexported fields
}
GetMinimumBalanceForRentExemptionResponseValidationError is the validation error returned by GetMinimumBalanceForRentExemptionResponse.Validate if the designated constraints aren't met.
func (GetMinimumBalanceForRentExemptionResponseValidationError) Cause ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMinimumBalanceForRentExemptionResponseValidationError) Error ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinimumBalanceForRentExemptionResponseValidationError) ErrorName ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinimumBalanceForRentExemptionResponseValidationError) Field ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) Field() string
Field function returns field value.
func (GetMinimumBalanceForRentExemptionResponseValidationError) Key ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) Key() bool
Key function returns key value.
func (GetMinimumBalanceForRentExemptionResponseValidationError) Reason ¶
func (e GetMinimumBalanceForRentExemptionResponseValidationError) Reason() string
Reason function returns reason value.
type GetMinimumKinVersionRequest ¶ added in v0.23.0
type GetMinimumKinVersionRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMinimumKinVersionRequest) Descriptor ¶ added in v0.23.0
func (*GetMinimumKinVersionRequest) Descriptor() ([]byte, []int)
func (*GetMinimumKinVersionRequest) ProtoMessage ¶ added in v0.23.0
func (*GetMinimumKinVersionRequest) ProtoMessage()
func (*GetMinimumKinVersionRequest) Reset ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) Reset()
func (*GetMinimumKinVersionRequest) String ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) String() string
func (*GetMinimumKinVersionRequest) Validate ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) Validate() error
Validate checks the field values on GetMinimumKinVersionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetMinimumKinVersionRequest) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) XXX_DiscardUnknown()
func (*GetMinimumKinVersionRequest) XXX_Marshal ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMinimumKinVersionRequest) XXX_Merge ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) XXX_Merge(src proto.Message)
func (*GetMinimumKinVersionRequest) XXX_Size ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) XXX_Size() int
func (*GetMinimumKinVersionRequest) XXX_Unmarshal ¶ added in v0.23.0
func (m *GetMinimumKinVersionRequest) XXX_Unmarshal(b []byte) error
type GetMinimumKinVersionRequestValidationError ¶ added in v0.23.0
type GetMinimumKinVersionRequestValidationError struct {
// contains filtered or unexported fields
}
GetMinimumKinVersionRequestValidationError is the validation error returned by GetMinimumKinVersionRequest.Validate if the designated constraints aren't met.
func (GetMinimumKinVersionRequestValidationError) Cause ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetMinimumKinVersionRequestValidationError) Error ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinimumKinVersionRequestValidationError) ErrorName ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinimumKinVersionRequestValidationError) Field ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) Field() string
Field function returns field value.
func (GetMinimumKinVersionRequestValidationError) Key ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) Key() bool
Key function returns key value.
func (GetMinimumKinVersionRequestValidationError) Reason ¶ added in v0.23.0
func (e GetMinimumKinVersionRequestValidationError) Reason() string
Reason function returns reason value.
type GetMinimumKinVersionResponse ¶ added in v0.23.0
type GetMinimumKinVersionResponse struct { Version uint32 `protobuf:"varint,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetMinimumKinVersionResponse) Descriptor ¶ added in v0.23.0
func (*GetMinimumKinVersionResponse) Descriptor() ([]byte, []int)
func (*GetMinimumKinVersionResponse) GetVersion ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) GetVersion() uint32
func (*GetMinimumKinVersionResponse) ProtoMessage ¶ added in v0.23.0
func (*GetMinimumKinVersionResponse) ProtoMessage()
func (*GetMinimumKinVersionResponse) Reset ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) Reset()
func (*GetMinimumKinVersionResponse) String ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) String() string
func (*GetMinimumKinVersionResponse) Validate ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) Validate() error
Validate checks the field values on GetMinimumKinVersionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetMinimumKinVersionResponse) XXX_DiscardUnknown ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) XXX_DiscardUnknown()
func (*GetMinimumKinVersionResponse) XXX_Marshal ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetMinimumKinVersionResponse) XXX_Merge ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) XXX_Merge(src proto.Message)
func (*GetMinimumKinVersionResponse) XXX_Size ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) XXX_Size() int
func (*GetMinimumKinVersionResponse) XXX_Unmarshal ¶ added in v0.23.0
func (m *GetMinimumKinVersionResponse) XXX_Unmarshal(b []byte) error
type GetMinimumKinVersionResponseValidationError ¶ added in v0.23.0
type GetMinimumKinVersionResponseValidationError struct {
// contains filtered or unexported fields
}
GetMinimumKinVersionResponseValidationError is the validation error returned by GetMinimumKinVersionResponse.Validate if the designated constraints aren't met.
func (GetMinimumKinVersionResponseValidationError) Cause ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetMinimumKinVersionResponseValidationError) Error ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetMinimumKinVersionResponseValidationError) ErrorName ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetMinimumKinVersionResponseValidationError) Field ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) Field() string
Field function returns field value.
func (GetMinimumKinVersionResponseValidationError) Key ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) Key() bool
Key function returns key value.
func (GetMinimumKinVersionResponseValidationError) Reason ¶ added in v0.23.0
func (e GetMinimumKinVersionResponseValidationError) Reason() string
Reason function returns reason value.
type GetRecentBlockhashRequest ¶
type GetRecentBlockhashRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRecentBlockhashRequest) Descriptor ¶
func (*GetRecentBlockhashRequest) Descriptor() ([]byte, []int)
func (*GetRecentBlockhashRequest) ProtoMessage ¶
func (*GetRecentBlockhashRequest) ProtoMessage()
func (*GetRecentBlockhashRequest) Reset ¶
func (m *GetRecentBlockhashRequest) Reset()
func (*GetRecentBlockhashRequest) String ¶
func (m *GetRecentBlockhashRequest) String() string
func (*GetRecentBlockhashRequest) Validate ¶
func (m *GetRecentBlockhashRequest) Validate() error
Validate checks the field values on GetRecentBlockhashRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetRecentBlockhashRequest) XXX_DiscardUnknown ¶
func (m *GetRecentBlockhashRequest) XXX_DiscardUnknown()
func (*GetRecentBlockhashRequest) XXX_Marshal ¶
func (m *GetRecentBlockhashRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRecentBlockhashRequest) XXX_Merge ¶
func (m *GetRecentBlockhashRequest) XXX_Merge(src proto.Message)
func (*GetRecentBlockhashRequest) XXX_Size ¶
func (m *GetRecentBlockhashRequest) XXX_Size() int
func (*GetRecentBlockhashRequest) XXX_Unmarshal ¶
func (m *GetRecentBlockhashRequest) XXX_Unmarshal(b []byte) error
type GetRecentBlockhashRequestValidationError ¶
type GetRecentBlockhashRequestValidationError struct {
// contains filtered or unexported fields
}
GetRecentBlockhashRequestValidationError is the validation error returned by GetRecentBlockhashRequest.Validate if the designated constraints aren't met.
func (GetRecentBlockhashRequestValidationError) Cause ¶
func (e GetRecentBlockhashRequestValidationError) Cause() error
Cause function returns cause value.
func (GetRecentBlockhashRequestValidationError) Error ¶
func (e GetRecentBlockhashRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetRecentBlockhashRequestValidationError) ErrorName ¶
func (e GetRecentBlockhashRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetRecentBlockhashRequestValidationError) Field ¶
func (e GetRecentBlockhashRequestValidationError) Field() string
Field function returns field value.
func (GetRecentBlockhashRequestValidationError) Key ¶
func (e GetRecentBlockhashRequestValidationError) Key() bool
Key function returns key value.
func (GetRecentBlockhashRequestValidationError) Reason ¶
func (e GetRecentBlockhashRequestValidationError) Reason() string
Reason function returns reason value.
type GetRecentBlockhashResponse ¶
type GetRecentBlockhashResponse struct { Blockhash *v4.Blockhash `protobuf:"bytes,1,opt,name=blockhash,proto3" json:"blockhash,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetRecentBlockhashResponse) Descriptor ¶
func (*GetRecentBlockhashResponse) Descriptor() ([]byte, []int)
func (*GetRecentBlockhashResponse) GetBlockhash ¶
func (m *GetRecentBlockhashResponse) GetBlockhash() *v4.Blockhash
func (*GetRecentBlockhashResponse) ProtoMessage ¶
func (*GetRecentBlockhashResponse) ProtoMessage()
func (*GetRecentBlockhashResponse) Reset ¶
func (m *GetRecentBlockhashResponse) Reset()
func (*GetRecentBlockhashResponse) String ¶
func (m *GetRecentBlockhashResponse) String() string
func (*GetRecentBlockhashResponse) Validate ¶
func (m *GetRecentBlockhashResponse) Validate() error
Validate checks the field values on GetRecentBlockhashResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetRecentBlockhashResponse) XXX_DiscardUnknown ¶
func (m *GetRecentBlockhashResponse) XXX_DiscardUnknown()
func (*GetRecentBlockhashResponse) XXX_Marshal ¶
func (m *GetRecentBlockhashResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetRecentBlockhashResponse) XXX_Merge ¶
func (m *GetRecentBlockhashResponse) XXX_Merge(src proto.Message)
func (*GetRecentBlockhashResponse) XXX_Size ¶
func (m *GetRecentBlockhashResponse) XXX_Size() int
func (*GetRecentBlockhashResponse) XXX_Unmarshal ¶
func (m *GetRecentBlockhashResponse) XXX_Unmarshal(b []byte) error
type GetRecentBlockhashResponseValidationError ¶
type GetRecentBlockhashResponseValidationError struct {
// contains filtered or unexported fields
}
GetRecentBlockhashResponseValidationError is the validation error returned by GetRecentBlockhashResponse.Validate if the designated constraints aren't met.
func (GetRecentBlockhashResponseValidationError) Cause ¶
func (e GetRecentBlockhashResponseValidationError) Cause() error
Cause function returns cause value.
func (GetRecentBlockhashResponseValidationError) Error ¶
func (e GetRecentBlockhashResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetRecentBlockhashResponseValidationError) ErrorName ¶
func (e GetRecentBlockhashResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetRecentBlockhashResponseValidationError) Field ¶
func (e GetRecentBlockhashResponseValidationError) Field() string
Field function returns field value.
func (GetRecentBlockhashResponseValidationError) Key ¶
func (e GetRecentBlockhashResponseValidationError) Key() bool
Key function returns key value.
func (GetRecentBlockhashResponseValidationError) Reason ¶
func (e GetRecentBlockhashResponseValidationError) Reason() string
Reason function returns reason value.
type GetServiceConfigRequest ¶
type GetServiceConfigRequest struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetServiceConfigRequest) Descriptor ¶
func (*GetServiceConfigRequest) Descriptor() ([]byte, []int)
func (*GetServiceConfigRequest) ProtoMessage ¶
func (*GetServiceConfigRequest) ProtoMessage()
func (*GetServiceConfigRequest) Reset ¶
func (m *GetServiceConfigRequest) Reset()
func (*GetServiceConfigRequest) String ¶
func (m *GetServiceConfigRequest) String() string
func (*GetServiceConfigRequest) Validate ¶
func (m *GetServiceConfigRequest) Validate() error
Validate checks the field values on GetServiceConfigRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetServiceConfigRequest) XXX_DiscardUnknown ¶
func (m *GetServiceConfigRequest) XXX_DiscardUnknown()
func (*GetServiceConfigRequest) XXX_Marshal ¶
func (m *GetServiceConfigRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServiceConfigRequest) XXX_Merge ¶
func (m *GetServiceConfigRequest) XXX_Merge(src proto.Message)
func (*GetServiceConfigRequest) XXX_Size ¶
func (m *GetServiceConfigRequest) XXX_Size() int
func (*GetServiceConfigRequest) XXX_Unmarshal ¶
func (m *GetServiceConfigRequest) XXX_Unmarshal(b []byte) error
type GetServiceConfigRequestValidationError ¶
type GetServiceConfigRequestValidationError struct {
// contains filtered or unexported fields
}
GetServiceConfigRequestValidationError is the validation error returned by GetServiceConfigRequest.Validate if the designated constraints aren't met.
func (GetServiceConfigRequestValidationError) Cause ¶
func (e GetServiceConfigRequestValidationError) Cause() error
Cause function returns cause value.
func (GetServiceConfigRequestValidationError) Error ¶
func (e GetServiceConfigRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceConfigRequestValidationError) ErrorName ¶
func (e GetServiceConfigRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceConfigRequestValidationError) Field ¶
func (e GetServiceConfigRequestValidationError) Field() string
Field function returns field value.
func (GetServiceConfigRequestValidationError) Key ¶
func (e GetServiceConfigRequestValidationError) Key() bool
Key function returns key value.
func (GetServiceConfigRequestValidationError) Reason ¶
func (e GetServiceConfigRequestValidationError) Reason() string
Reason function returns reason value.
type GetServiceConfigResponse ¶
type GetServiceConfigResponse struct { // The public key of the account that the service will use to sign transactions for funding. // If not specified, the service is _not_ configured to fund transactions. SubsidizerAccount *v4.SolanaAccountId `protobuf:"bytes,1,opt,name=subsidizer_account,json=subsidizerAccount,proto3" json:"subsidizer_account,omitempty"` // note: after release these values cannot change, and will be static per environment. TokenProgram *v4.SolanaAccountId `protobuf:"bytes,2,opt,name=token_program,json=tokenProgram,proto3" json:"token_program,omitempty"` Token *v4.SolanaAccountId `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetServiceConfigResponse) Descriptor ¶
func (*GetServiceConfigResponse) Descriptor() ([]byte, []int)
func (*GetServiceConfigResponse) GetSubsidizerAccount ¶
func (m *GetServiceConfigResponse) GetSubsidizerAccount() *v4.SolanaAccountId
func (*GetServiceConfigResponse) GetToken ¶
func (m *GetServiceConfigResponse) GetToken() *v4.SolanaAccountId
func (*GetServiceConfigResponse) GetTokenProgram ¶
func (m *GetServiceConfigResponse) GetTokenProgram() *v4.SolanaAccountId
func (*GetServiceConfigResponse) ProtoMessage ¶
func (*GetServiceConfigResponse) ProtoMessage()
func (*GetServiceConfigResponse) Reset ¶
func (m *GetServiceConfigResponse) Reset()
func (*GetServiceConfigResponse) String ¶
func (m *GetServiceConfigResponse) String() string
func (*GetServiceConfigResponse) Validate ¶
func (m *GetServiceConfigResponse) Validate() error
Validate checks the field values on GetServiceConfigResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetServiceConfigResponse) XXX_DiscardUnknown ¶
func (m *GetServiceConfigResponse) XXX_DiscardUnknown()
func (*GetServiceConfigResponse) XXX_Marshal ¶
func (m *GetServiceConfigResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetServiceConfigResponse) XXX_Merge ¶
func (m *GetServiceConfigResponse) XXX_Merge(src proto.Message)
func (*GetServiceConfigResponse) XXX_Size ¶
func (m *GetServiceConfigResponse) XXX_Size() int
func (*GetServiceConfigResponse) XXX_Unmarshal ¶
func (m *GetServiceConfigResponse) XXX_Unmarshal(b []byte) error
type GetServiceConfigResponseValidationError ¶
type GetServiceConfigResponseValidationError struct {
// contains filtered or unexported fields
}
GetServiceConfigResponseValidationError is the validation error returned by GetServiceConfigResponse.Validate if the designated constraints aren't met.
func (GetServiceConfigResponseValidationError) Cause ¶
func (e GetServiceConfigResponseValidationError) Cause() error
Cause function returns cause value.
func (GetServiceConfigResponseValidationError) Error ¶
func (e GetServiceConfigResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetServiceConfigResponseValidationError) ErrorName ¶
func (e GetServiceConfigResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetServiceConfigResponseValidationError) Field ¶
func (e GetServiceConfigResponseValidationError) Field() string
Field function returns field value.
func (GetServiceConfigResponseValidationError) Key ¶
func (e GetServiceConfigResponseValidationError) Key() bool
Key function returns key value.
func (GetServiceConfigResponseValidationError) Reason ¶
func (e GetServiceConfigResponseValidationError) Reason() string
Reason function returns reason value.
type GetTransactionRequest ¶
type GetTransactionRequest struct { TransactionId *v4.TransactionId `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` Commitment v4.Commitment `protobuf:"varint,2,opt,name=commitment,proto3,enum=kin.agora.common.v4.Commitment" json:"commitment,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTransactionRequest) Descriptor ¶
func (*GetTransactionRequest) Descriptor() ([]byte, []int)
func (*GetTransactionRequest) GetCommitment ¶
func (m *GetTransactionRequest) GetCommitment() v4.Commitment
func (*GetTransactionRequest) GetTransactionId ¶
func (m *GetTransactionRequest) GetTransactionId() *v4.TransactionId
func (*GetTransactionRequest) ProtoMessage ¶
func (*GetTransactionRequest) ProtoMessage()
func (*GetTransactionRequest) Reset ¶
func (m *GetTransactionRequest) Reset()
func (*GetTransactionRequest) String ¶
func (m *GetTransactionRequest) String() string
func (*GetTransactionRequest) Validate ¶
func (m *GetTransactionRequest) Validate() error
Validate checks the field values on GetTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetTransactionRequest) XXX_DiscardUnknown ¶
func (m *GetTransactionRequest) XXX_DiscardUnknown()
func (*GetTransactionRequest) XXX_Marshal ¶
func (m *GetTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionRequest) XXX_Merge ¶
func (m *GetTransactionRequest) XXX_Merge(src proto.Message)
func (*GetTransactionRequest) XXX_Size ¶
func (m *GetTransactionRequest) XXX_Size() int
func (*GetTransactionRequest) XXX_Unmarshal ¶
func (m *GetTransactionRequest) XXX_Unmarshal(b []byte) error
type GetTransactionRequestValidationError ¶
type GetTransactionRequestValidationError struct {
// contains filtered or unexported fields
}
GetTransactionRequestValidationError is the validation error returned by GetTransactionRequest.Validate if the designated constraints aren't met.
func (GetTransactionRequestValidationError) Cause ¶
func (e GetTransactionRequestValidationError) Cause() error
Cause function returns cause value.
func (GetTransactionRequestValidationError) Error ¶
func (e GetTransactionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetTransactionRequestValidationError) ErrorName ¶
func (e GetTransactionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetTransactionRequestValidationError) Field ¶
func (e GetTransactionRequestValidationError) Field() string
Field function returns field value.
func (GetTransactionRequestValidationError) Key ¶
func (e GetTransactionRequestValidationError) Key() bool
Key function returns key value.
func (GetTransactionRequestValidationError) Reason ¶
func (e GetTransactionRequestValidationError) Reason() string
Reason function returns reason value.
type GetTransactionResponse ¶
type GetTransactionResponse struct { // The state of the transaction. The states are the same as // SubmitTransaction, with the exception of UNKNOWN, which indicates // that the system does not have a record of the transaction. This // can occur if the transaction is still pending or if it has failed. // // If the transaction state is UNKNOWN for an extended period of // time, it is likely that it was dropped. As a result, clients // should limit the total times GetTransaction is called for a // an UNKNOWN transaction. State GetTransactionResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=kin.agora.transaction.v4.GetTransactionResponse_State" json:"state,omitempty"` // Non-zero when state == State::SUCCESS Slot uint64 `protobuf:"varint,2,opt,name=slot,proto3" json:"slot,omitempty"` // The number of confirmations for the transaction. // The value is irrelevant when state != State::PENDING. Confirmations uint32 `protobuf:"varint,3,opt,name=confirmations,proto3" json:"confirmations,omitempty"` // Present when state == State::SUCCESS. // May or may not be present in other cases. Item *HistoryItem `protobuf:"bytes,4,opt,name=item,proto3" json:"item,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetTransactionResponse) Descriptor ¶
func (*GetTransactionResponse) Descriptor() ([]byte, []int)
func (*GetTransactionResponse) GetConfirmations ¶
func (m *GetTransactionResponse) GetConfirmations() uint32
func (*GetTransactionResponse) GetItem ¶
func (m *GetTransactionResponse) GetItem() *HistoryItem
func (*GetTransactionResponse) GetSlot ¶
func (m *GetTransactionResponse) GetSlot() uint64
func (*GetTransactionResponse) GetState ¶
func (m *GetTransactionResponse) GetState() GetTransactionResponse_State
func (*GetTransactionResponse) ProtoMessage ¶
func (*GetTransactionResponse) ProtoMessage()
func (*GetTransactionResponse) Reset ¶
func (m *GetTransactionResponse) Reset()
func (*GetTransactionResponse) String ¶
func (m *GetTransactionResponse) String() string
func (*GetTransactionResponse) Validate ¶
func (m *GetTransactionResponse) Validate() error
Validate checks the field values on GetTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetTransactionResponse) XXX_DiscardUnknown ¶
func (m *GetTransactionResponse) XXX_DiscardUnknown()
func (*GetTransactionResponse) XXX_Marshal ¶
func (m *GetTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetTransactionResponse) XXX_Merge ¶
func (m *GetTransactionResponse) XXX_Merge(src proto.Message)
func (*GetTransactionResponse) XXX_Size ¶
func (m *GetTransactionResponse) XXX_Size() int
func (*GetTransactionResponse) XXX_Unmarshal ¶
func (m *GetTransactionResponse) XXX_Unmarshal(b []byte) error
type GetTransactionResponseValidationError ¶
type GetTransactionResponseValidationError struct {
// contains filtered or unexported fields
}
GetTransactionResponseValidationError is the validation error returned by GetTransactionResponse.Validate if the designated constraints aren't met.
func (GetTransactionResponseValidationError) Cause ¶
func (e GetTransactionResponseValidationError) Cause() error
Cause function returns cause value.
func (GetTransactionResponseValidationError) Error ¶
func (e GetTransactionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetTransactionResponseValidationError) ErrorName ¶
func (e GetTransactionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetTransactionResponseValidationError) Field ¶
func (e GetTransactionResponseValidationError) Field() string
Field function returns field value.
func (GetTransactionResponseValidationError) Key ¶
func (e GetTransactionResponseValidationError) Key() bool
Key function returns key value.
func (GetTransactionResponseValidationError) Reason ¶
func (e GetTransactionResponseValidationError) Reason() string
Reason function returns reason value.
type GetTransactionResponse_State ¶
type GetTransactionResponse_State int32
const ( GetTransactionResponse_UNKNOWN GetTransactionResponse_State = 0 GetTransactionResponse_SUCCESS GetTransactionResponse_State = 1 GetTransactionResponse_FAILED GetTransactionResponse_State = 2 GetTransactionResponse_PENDING GetTransactionResponse_State = 3 )
func (GetTransactionResponse_State) EnumDescriptor ¶
func (GetTransactionResponse_State) EnumDescriptor() ([]byte, []int)
func (GetTransactionResponse_State) String ¶
func (x GetTransactionResponse_State) String() string
type HistoryItem ¶
type HistoryItem struct { TransactionId *v4.TransactionId `protobuf:"bytes,1,opt,name=transaction_id,json=transactionId,proto3" json:"transaction_id,omitempty"` // The cursor position of this item. Cursor *Cursor `protobuf:"bytes,2,opt,name=cursor,proto3" json:"cursor,omitempty"` // The raw transaction primitive for the transaction. // // Types that are valid to be assigned to RawTransaction: // *HistoryItem_SolanaTransaction // *HistoryItem_StellarTransaction RawTransaction isHistoryItem_RawTransaction `protobuf_oneof:"raw_transaction"` // Present if the transaction failed. TransactionError *v4.TransactionError `protobuf:"bytes,5,opt,name=transaction_error,json=transactionError,proto3" json:"transaction_error,omitempty"` // The set of payments contained in the raw_transaction. // // Payment is an abstract view over a StellarPayment or // a Solana transfer. In the Stellar case, the Stellar // accounts will be mapped to a SolanaAccountId. // // Note: A transaction _may_ not contain any transfers, in // which case `payments` will be empty. Payments []*HistoryItem_Payment `protobuf:"bytes,6,rep,name=payments,proto3" json:"payments,omitempty"` // If an invoice list was submitted with the transaction, and the transaction // was submitted via this instance of the service, this field will be set. InvoiceList *v3.InvoiceList `protobuf:"bytes,7,opt,name=invoice_list,json=invoiceList,proto3" json:"invoice_list,omitempty"` // Note: this may not always be available. TransactionTime *timestamp.Timestamp `protobuf:"bytes,8,opt,name=transaction_time,json=transactionTime,proto3" json:"transaction_time,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryItem) Descriptor ¶
func (*HistoryItem) Descriptor() ([]byte, []int)
func (*HistoryItem) GetCursor ¶
func (m *HistoryItem) GetCursor() *Cursor
func (*HistoryItem) GetInvoiceList ¶
func (m *HistoryItem) GetInvoiceList() *v3.InvoiceList
func (*HistoryItem) GetPayments ¶
func (m *HistoryItem) GetPayments() []*HistoryItem_Payment
func (*HistoryItem) GetRawTransaction ¶
func (m *HistoryItem) GetRawTransaction() isHistoryItem_RawTransaction
func (*HistoryItem) GetSolanaTransaction ¶
func (m *HistoryItem) GetSolanaTransaction() *v4.Transaction
func (*HistoryItem) GetStellarTransaction ¶
func (m *HistoryItem) GetStellarTransaction() *v4.StellarTransaction
func (*HistoryItem) GetTransactionError ¶
func (m *HistoryItem) GetTransactionError() *v4.TransactionError
func (*HistoryItem) GetTransactionId ¶
func (m *HistoryItem) GetTransactionId() *v4.TransactionId
func (*HistoryItem) GetTransactionTime ¶ added in v0.26.0
func (m *HistoryItem) GetTransactionTime() *timestamp.Timestamp
func (*HistoryItem) ProtoMessage ¶
func (*HistoryItem) ProtoMessage()
func (*HistoryItem) Reset ¶
func (m *HistoryItem) Reset()
func (*HistoryItem) String ¶
func (m *HistoryItem) String() string
func (*HistoryItem) Validate ¶
func (m *HistoryItem) Validate() error
Validate checks the field values on HistoryItem with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HistoryItem) XXX_DiscardUnknown ¶
func (m *HistoryItem) XXX_DiscardUnknown()
func (*HistoryItem) XXX_Marshal ¶
func (m *HistoryItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryItem) XXX_Merge ¶
func (m *HistoryItem) XXX_Merge(src proto.Message)
func (*HistoryItem) XXX_OneofWrappers ¶
func (*HistoryItem) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*HistoryItem) XXX_Size ¶
func (m *HistoryItem) XXX_Size() int
func (*HistoryItem) XXX_Unmarshal ¶
func (m *HistoryItem) XXX_Unmarshal(b []byte) error
type HistoryItemValidationError ¶
type HistoryItemValidationError struct {
// contains filtered or unexported fields
}
HistoryItemValidationError is the validation error returned by HistoryItem.Validate if the designated constraints aren't met.
func (HistoryItemValidationError) Cause ¶
func (e HistoryItemValidationError) Cause() error
Cause function returns cause value.
func (HistoryItemValidationError) Error ¶
func (e HistoryItemValidationError) Error() string
Error satisfies the builtin error interface
func (HistoryItemValidationError) ErrorName ¶
func (e HistoryItemValidationError) ErrorName() string
ErrorName returns error name.
func (HistoryItemValidationError) Field ¶
func (e HistoryItemValidationError) Field() string
Field function returns field value.
func (HistoryItemValidationError) Key ¶
func (e HistoryItemValidationError) Key() bool
Key function returns key value.
func (HistoryItemValidationError) Reason ¶
func (e HistoryItemValidationError) Reason() string
Reason function returns reason value.
type HistoryItem_Payment ¶
type HistoryItem_Payment struct { Source *v4.SolanaAccountId `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` Destination *v4.SolanaAccountId `protobuf:"bytes,2,opt,name=destination,proto3" json:"destination,omitempty"` // Amount in quarks Amount int64 `protobuf:"varint,3,opt,name=amount,proto3" json:"amount,omitempty"` // The index of the transfer within the transaction. Index uint32 `protobuf:"varint,4,opt,name=index,proto3" json:"index,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*HistoryItem_Payment) Descriptor ¶
func (*HistoryItem_Payment) Descriptor() ([]byte, []int)
func (*HistoryItem_Payment) GetAmount ¶
func (m *HistoryItem_Payment) GetAmount() int64
func (*HistoryItem_Payment) GetDestination ¶
func (m *HistoryItem_Payment) GetDestination() *v4.SolanaAccountId
func (*HistoryItem_Payment) GetIndex ¶
func (m *HistoryItem_Payment) GetIndex() uint32
func (*HistoryItem_Payment) GetSource ¶
func (m *HistoryItem_Payment) GetSource() *v4.SolanaAccountId
func (*HistoryItem_Payment) ProtoMessage ¶
func (*HistoryItem_Payment) ProtoMessage()
func (*HistoryItem_Payment) Reset ¶
func (m *HistoryItem_Payment) Reset()
func (*HistoryItem_Payment) String ¶
func (m *HistoryItem_Payment) String() string
func (*HistoryItem_Payment) Validate ¶
func (m *HistoryItem_Payment) Validate() error
Validate checks the field values on HistoryItem_Payment with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*HistoryItem_Payment) XXX_DiscardUnknown ¶
func (m *HistoryItem_Payment) XXX_DiscardUnknown()
func (*HistoryItem_Payment) XXX_Marshal ¶
func (m *HistoryItem_Payment) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*HistoryItem_Payment) XXX_Merge ¶
func (m *HistoryItem_Payment) XXX_Merge(src proto.Message)
func (*HistoryItem_Payment) XXX_Size ¶
func (m *HistoryItem_Payment) XXX_Size() int
func (*HistoryItem_Payment) XXX_Unmarshal ¶
func (m *HistoryItem_Payment) XXX_Unmarshal(b []byte) error
type HistoryItem_PaymentValidationError ¶
type HistoryItem_PaymentValidationError struct {
// contains filtered or unexported fields
}
HistoryItem_PaymentValidationError is the validation error returned by HistoryItem_Payment.Validate if the designated constraints aren't met.
func (HistoryItem_PaymentValidationError) Cause ¶
func (e HistoryItem_PaymentValidationError) Cause() error
Cause function returns cause value.
func (HistoryItem_PaymentValidationError) Error ¶
func (e HistoryItem_PaymentValidationError) Error() string
Error satisfies the builtin error interface
func (HistoryItem_PaymentValidationError) ErrorName ¶
func (e HistoryItem_PaymentValidationError) ErrorName() string
ErrorName returns error name.
func (HistoryItem_PaymentValidationError) Field ¶
func (e HistoryItem_PaymentValidationError) Field() string
Field function returns field value.
func (HistoryItem_PaymentValidationError) Key ¶
func (e HistoryItem_PaymentValidationError) Key() bool
Key function returns key value.
func (HistoryItem_PaymentValidationError) Reason ¶
func (e HistoryItem_PaymentValidationError) Reason() string
Reason function returns reason value.
type HistoryItem_SolanaTransaction ¶
type HistoryItem_SolanaTransaction struct {
SolanaTransaction *v4.Transaction `protobuf:"bytes,3,opt,name=solana_transaction,json=solanaTransaction,proto3,oneof"`
}
type HistoryItem_StellarTransaction ¶
type HistoryItem_StellarTransaction struct {
StellarTransaction *v4.StellarTransaction `protobuf:"bytes,4,opt,name=stellar_transaction,json=stellarTransaction,proto3,oneof"`
}
type SignTransactionRequest ¶ added in v0.26.0
type SignTransactionRequest struct { Transaction *v4.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // An optional invoice list associating each operation with an invoice. // // If an invoice list is included, it is expected that the foreign key in // the transaction memo is the SHA-224 hash of the serialized invoice list. // // The invoice list will be included in webhook calls for the application the // transaction pertains to (as specified by the memo app index). // // The submitted invoice data will only be available for retrieval from the service it // was submitted to and not directly from the blockchain nor any other deployments of // the service. InvoiceList *v3.InvoiceList `protobuf:"bytes,2,opt,name=invoice_list,json=invoiceList,proto3" json:"invoice_list,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignTransactionRequest) Descriptor ¶ added in v0.26.0
func (*SignTransactionRequest) Descriptor() ([]byte, []int)
func (*SignTransactionRequest) GetInvoiceList ¶ added in v0.26.0
func (m *SignTransactionRequest) GetInvoiceList() *v3.InvoiceList
func (*SignTransactionRequest) GetTransaction ¶ added in v0.26.0
func (m *SignTransactionRequest) GetTransaction() *v4.Transaction
func (*SignTransactionRequest) ProtoMessage ¶ added in v0.26.0
func (*SignTransactionRequest) ProtoMessage()
func (*SignTransactionRequest) Reset ¶ added in v0.26.0
func (m *SignTransactionRequest) Reset()
func (*SignTransactionRequest) String ¶ added in v0.26.0
func (m *SignTransactionRequest) String() string
func (*SignTransactionRequest) Validate ¶ added in v0.26.0
func (m *SignTransactionRequest) Validate() error
Validate checks the field values on SignTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SignTransactionRequest) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *SignTransactionRequest) XXX_DiscardUnknown()
func (*SignTransactionRequest) XXX_Marshal ¶ added in v0.26.0
func (m *SignTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignTransactionRequest) XXX_Merge ¶ added in v0.26.0
func (m *SignTransactionRequest) XXX_Merge(src proto.Message)
func (*SignTransactionRequest) XXX_Size ¶ added in v0.26.0
func (m *SignTransactionRequest) XXX_Size() int
func (*SignTransactionRequest) XXX_Unmarshal ¶ added in v0.26.0
func (m *SignTransactionRequest) XXX_Unmarshal(b []byte) error
type SignTransactionRequestValidationError ¶ added in v0.26.0
type SignTransactionRequestValidationError struct {
// contains filtered or unexported fields
}
SignTransactionRequestValidationError is the validation error returned by SignTransactionRequest.Validate if the designated constraints aren't met.
func (SignTransactionRequestValidationError) Cause ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) Cause() error
Cause function returns cause value.
func (SignTransactionRequestValidationError) Error ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SignTransactionRequestValidationError) ErrorName ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SignTransactionRequestValidationError) Field ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) Field() string
Field function returns field value.
func (SignTransactionRequestValidationError) Key ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) Key() bool
Key function returns key value.
func (SignTransactionRequestValidationError) Reason ¶ added in v0.26.0
func (e SignTransactionRequestValidationError) Reason() string
Reason function returns reason value.
type SignTransactionResponse ¶ added in v0.26.0
type SignTransactionResponse struct { Result SignTransactionResponse_Result `` /* 127-byte string literal not displayed */ // Present when result = OK Signature *v4.TransactionSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Present when result = INVOICE_ERROR. InvoiceErrors []*v3.InvoiceError `protobuf:"bytes,4,rep,name=invoice_errors,json=invoiceErrors,proto3" json:"invoice_errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SignTransactionResponse) Descriptor ¶ added in v0.26.0
func (*SignTransactionResponse) Descriptor() ([]byte, []int)
func (*SignTransactionResponse) GetInvoiceErrors ¶ added in v0.26.0
func (m *SignTransactionResponse) GetInvoiceErrors() []*v3.InvoiceError
func (*SignTransactionResponse) GetResult ¶ added in v0.26.0
func (m *SignTransactionResponse) GetResult() SignTransactionResponse_Result
func (*SignTransactionResponse) GetSignature ¶ added in v0.26.0
func (m *SignTransactionResponse) GetSignature() *v4.TransactionSignature
func (*SignTransactionResponse) ProtoMessage ¶ added in v0.26.0
func (*SignTransactionResponse) ProtoMessage()
func (*SignTransactionResponse) Reset ¶ added in v0.26.0
func (m *SignTransactionResponse) Reset()
func (*SignTransactionResponse) String ¶ added in v0.26.0
func (m *SignTransactionResponse) String() string
func (*SignTransactionResponse) Validate ¶ added in v0.26.0
func (m *SignTransactionResponse) Validate() error
Validate checks the field values on SignTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SignTransactionResponse) XXX_DiscardUnknown ¶ added in v0.26.0
func (m *SignTransactionResponse) XXX_DiscardUnknown()
func (*SignTransactionResponse) XXX_Marshal ¶ added in v0.26.0
func (m *SignTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SignTransactionResponse) XXX_Merge ¶ added in v0.26.0
func (m *SignTransactionResponse) XXX_Merge(src proto.Message)
func (*SignTransactionResponse) XXX_Size ¶ added in v0.26.0
func (m *SignTransactionResponse) XXX_Size() int
func (*SignTransactionResponse) XXX_Unmarshal ¶ added in v0.26.0
func (m *SignTransactionResponse) XXX_Unmarshal(b []byte) error
type SignTransactionResponseValidationError ¶ added in v0.26.0
type SignTransactionResponseValidationError struct {
// contains filtered or unexported fields
}
SignTransactionResponseValidationError is the validation error returned by SignTransactionResponse.Validate if the designated constraints aren't met.
func (SignTransactionResponseValidationError) Cause ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) Cause() error
Cause function returns cause value.
func (SignTransactionResponseValidationError) Error ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SignTransactionResponseValidationError) ErrorName ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SignTransactionResponseValidationError) Field ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) Field() string
Field function returns field value.
func (SignTransactionResponseValidationError) Key ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) Key() bool
Key function returns key value.
func (SignTransactionResponseValidationError) Reason ¶ added in v0.26.0
func (e SignTransactionResponseValidationError) Reason() string
Reason function returns reason value.
type SignTransactionResponse_Result ¶ added in v0.26.0
type SignTransactionResponse_Result int32
const ( SignTransactionResponse_OK SignTransactionResponse_Result = 0 // Indicates that the configured webhook for this transaction // rejected the transaction without a specified reason. SignTransactionResponse_REJECTED SignTransactionResponse_Result = 3 // Indicates there was an error with one or more of the // supplied invoices. // // See: invoice_errors. SignTransactionResponse_INVOICE_ERROR SignTransactionResponse_Result = 4 )
func (SignTransactionResponse_Result) EnumDescriptor ¶ added in v0.26.0
func (SignTransactionResponse_Result) EnumDescriptor() ([]byte, []int)
func (SignTransactionResponse_Result) String ¶ added in v0.26.0
func (x SignTransactionResponse_Result) String() string
type SubmitTransactionRequest ¶
type SubmitTransactionRequest struct { Transaction *v4.Transaction `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"` // An optional invoice list associating each operation with an invoice. // // If an invoice list is included, it is expected that the foreign key in // the transaction memo is the SHA-224 hash of the serialized invoice list. // // The invoice list will be included in webhook calls for the application the // transaction pertains to (as specified by the memo app index). // // The submitted invoice data will only be available for retrieval from the service it // was submitted to and not directly from the blockchain nor any other deployments of // the service. InvoiceList *v3.InvoiceList `protobuf:"bytes,2,opt,name=invoice_list,json=invoiceList,proto3" json:"invoice_list,omitempty"` Commitment v4.Commitment `protobuf:"varint,3,opt,name=commitment,proto3,enum=kin.agora.common.v4.Commitment" json:"commitment,omitempty"` // dedupe_id specifies an identifier that this transaction is associated with. // // If the service has already seen this ID, it will return the previous transaction // status. // // The motivator for this identifier is that SDKs that retry at a higher level do // not have access to the Blockhash information that the underlying SDK used in // certain circumstances. Notably, in time out related cases, it is possible that // the transaction was submitted, but the (SDK) caller will not be able to infer // the signature. DedupeId []byte `protobuf:"bytes,4,opt,name=dedupe_id,json=dedupeId,proto3" json:"dedupe_id,omitempty"` // SendSimulationEvent will inform the server to trigger an event over the // account.v4.GetEvents stream when simulation has passed. This event will // notify all participants of the transaction. // // Both successful and failed simulations will trigger an event. SendSimulationEvent bool `protobuf:"varint,5,opt,name=send_simulation_event,json=sendSimulationEvent,proto3" json:"send_simulation_event,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitTransactionRequest) Descriptor ¶
func (*SubmitTransactionRequest) Descriptor() ([]byte, []int)
func (*SubmitTransactionRequest) GetCommitment ¶
func (m *SubmitTransactionRequest) GetCommitment() v4.Commitment
func (*SubmitTransactionRequest) GetDedupeId ¶ added in v0.25.0
func (m *SubmitTransactionRequest) GetDedupeId() []byte
func (*SubmitTransactionRequest) GetInvoiceList ¶
func (m *SubmitTransactionRequest) GetInvoiceList() *v3.InvoiceList
func (*SubmitTransactionRequest) GetSendSimulationEvent ¶ added in v0.27.0
func (m *SubmitTransactionRequest) GetSendSimulationEvent() bool
func (*SubmitTransactionRequest) GetTransaction ¶
func (m *SubmitTransactionRequest) GetTransaction() *v4.Transaction
func (*SubmitTransactionRequest) ProtoMessage ¶
func (*SubmitTransactionRequest) ProtoMessage()
func (*SubmitTransactionRequest) Reset ¶
func (m *SubmitTransactionRequest) Reset()
func (*SubmitTransactionRequest) String ¶
func (m *SubmitTransactionRequest) String() string
func (*SubmitTransactionRequest) Validate ¶
func (m *SubmitTransactionRequest) Validate() error
Validate checks the field values on SubmitTransactionRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SubmitTransactionRequest) XXX_DiscardUnknown ¶
func (m *SubmitTransactionRequest) XXX_DiscardUnknown()
func (*SubmitTransactionRequest) XXX_Marshal ¶
func (m *SubmitTransactionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitTransactionRequest) XXX_Merge ¶
func (m *SubmitTransactionRequest) XXX_Merge(src proto.Message)
func (*SubmitTransactionRequest) XXX_Size ¶
func (m *SubmitTransactionRequest) XXX_Size() int
func (*SubmitTransactionRequest) XXX_Unmarshal ¶
func (m *SubmitTransactionRequest) XXX_Unmarshal(b []byte) error
type SubmitTransactionRequestValidationError ¶
type SubmitTransactionRequestValidationError struct {
// contains filtered or unexported fields
}
SubmitTransactionRequestValidationError is the validation error returned by SubmitTransactionRequest.Validate if the designated constraints aren't met.
func (SubmitTransactionRequestValidationError) Cause ¶
func (e SubmitTransactionRequestValidationError) Cause() error
Cause function returns cause value.
func (SubmitTransactionRequestValidationError) Error ¶
func (e SubmitTransactionRequestValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitTransactionRequestValidationError) ErrorName ¶
func (e SubmitTransactionRequestValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitTransactionRequestValidationError) Field ¶
func (e SubmitTransactionRequestValidationError) Field() string
Field function returns field value.
func (SubmitTransactionRequestValidationError) Key ¶
func (e SubmitTransactionRequestValidationError) Key() bool
Key function returns key value.
func (SubmitTransactionRequestValidationError) Reason ¶
func (e SubmitTransactionRequestValidationError) Reason() string
Reason function returns reason value.
type SubmitTransactionResponse ¶
type SubmitTransactionResponse struct { Result SubmitTransactionResponse_Result `` /* 129-byte string literal not displayed */ // The signature of the transaction. Signature *v4.TransactionSignature `protobuf:"bytes,2,opt,name=signature,proto3" json:"signature,omitempty"` // Present when result = FAILED. TransactionError *v4.TransactionError `protobuf:"bytes,3,opt,name=transaction_error,json=transactionError,proto3" json:"transaction_error,omitempty"` // Present when result = INVOICE_ERROR. InvoiceErrors []*v3.InvoiceError `protobuf:"bytes,4,rep,name=invoice_errors,json=invoiceErrors,proto3" json:"invoice_errors,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SubmitTransactionResponse) Descriptor ¶
func (*SubmitTransactionResponse) Descriptor() ([]byte, []int)
func (*SubmitTransactionResponse) GetInvoiceErrors ¶
func (m *SubmitTransactionResponse) GetInvoiceErrors() []*v3.InvoiceError
func (*SubmitTransactionResponse) GetResult ¶
func (m *SubmitTransactionResponse) GetResult() SubmitTransactionResponse_Result
func (*SubmitTransactionResponse) GetSignature ¶
func (m *SubmitTransactionResponse) GetSignature() *v4.TransactionSignature
func (*SubmitTransactionResponse) GetTransactionError ¶
func (m *SubmitTransactionResponse) GetTransactionError() *v4.TransactionError
func (*SubmitTransactionResponse) ProtoMessage ¶
func (*SubmitTransactionResponse) ProtoMessage()
func (*SubmitTransactionResponse) Reset ¶
func (m *SubmitTransactionResponse) Reset()
func (*SubmitTransactionResponse) String ¶
func (m *SubmitTransactionResponse) String() string
func (*SubmitTransactionResponse) Validate ¶
func (m *SubmitTransactionResponse) Validate() error
Validate checks the field values on SubmitTransactionResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*SubmitTransactionResponse) XXX_DiscardUnknown ¶
func (m *SubmitTransactionResponse) XXX_DiscardUnknown()
func (*SubmitTransactionResponse) XXX_Marshal ¶
func (m *SubmitTransactionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SubmitTransactionResponse) XXX_Merge ¶
func (m *SubmitTransactionResponse) XXX_Merge(src proto.Message)
func (*SubmitTransactionResponse) XXX_Size ¶
func (m *SubmitTransactionResponse) XXX_Size() int
func (*SubmitTransactionResponse) XXX_Unmarshal ¶
func (m *SubmitTransactionResponse) XXX_Unmarshal(b []byte) error
type SubmitTransactionResponseValidationError ¶
type SubmitTransactionResponseValidationError struct {
// contains filtered or unexported fields
}
SubmitTransactionResponseValidationError is the validation error returned by SubmitTransactionResponse.Validate if the designated constraints aren't met.
func (SubmitTransactionResponseValidationError) Cause ¶
func (e SubmitTransactionResponseValidationError) Cause() error
Cause function returns cause value.
func (SubmitTransactionResponseValidationError) Error ¶
func (e SubmitTransactionResponseValidationError) Error() string
Error satisfies the builtin error interface
func (SubmitTransactionResponseValidationError) ErrorName ¶
func (e SubmitTransactionResponseValidationError) ErrorName() string
ErrorName returns error name.
func (SubmitTransactionResponseValidationError) Field ¶
func (e SubmitTransactionResponseValidationError) Field() string
Field function returns field value.
func (SubmitTransactionResponseValidationError) Key ¶
func (e SubmitTransactionResponseValidationError) Key() bool
Key function returns key value.
func (SubmitTransactionResponseValidationError) Reason ¶
func (e SubmitTransactionResponseValidationError) Reason() string
Reason function returns reason value.
type SubmitTransactionResponse_Result ¶
type SubmitTransactionResponse_Result int32
const ( SubmitTransactionResponse_OK SubmitTransactionResponse_Result = 0 // Indicates that the transaction has already been submitted. // // If the client is retrying a submission due to a transient // failure, then this can occur if the submission in a previous // attempt was successful. Otherwise, it may indicate that the // transcation is indistinguishable from a previous transaction // (i.e. same block hash, sender, dest, and amount), and the client // should use a different recent block hash and try again. SubmitTransactionResponse_ALREADY_SUBMITTED SubmitTransactionResponse_Result = 1 // There was an issue with submitting the transaction // to the underlying chain. Clients should retry with // a rebuilt transaction in case there are temporal // issues with the transaction, such as sequence number, // or some other chain-specific errors. The detail of // the error is present in the result xdr. SubmitTransactionResponse_FAILED SubmitTransactionResponse_Result = 2 // Indicates that the configured webhook for this transaction // rejected the transaction without a specified reason. SubmitTransactionResponse_REJECTED SubmitTransactionResponse_Result = 3 // Indicates there was an error with one or more of the // supplied invoices. // // See: invoice_errors. SubmitTransactionResponse_INVOICE_ERROR SubmitTransactionResponse_Result = 4 // Payer required indicates that the submitted transaction does not contain // a signature at for the transaction funder account (the account at the 0th index). // // This can occur if the service does not have a subsdizier configured, or if // the service refuses to subsidize this specific transaction. The latter // case can occur during rate limiting situations. In this case, the client // may either retry at a later time, or attempt to fund the transaction some // other way. SubmitTransactionResponse_PAYER_REQUIRED SubmitTransactionResponse_Result = 5 )
func (SubmitTransactionResponse_Result) EnumDescriptor ¶
func (SubmitTransactionResponse_Result) EnumDescriptor() ([]byte, []int)
func (SubmitTransactionResponse_Result) String ¶
func (x SubmitTransactionResponse_Result) String() string
type TransactionClient ¶
type TransactionClient interface { // GetServiceConfig returns the service and token parameters for the token. // // The subsidizer key returned may vary based on the 'app-index' header. GetServiceConfig(ctx context.Context, in *GetServiceConfigRequest, opts ...grpc.CallOption) (*GetServiceConfigResponse, error) // GetMinimumKinVersion returns the minimum Kin version that is supported. // // This version will _never_ decrease in non-test scenarios, as it indicates // a global migration has occured. GetMinimumKinVersion(ctx context.Context, in *GetMinimumKinVersionRequest, opts ...grpc.CallOption) (*GetMinimumKinVersionResponse, error) // GetRecentBlockhash returns a recent block hash from the underlying network, // which should be used when crafting transactions. If a transaction fails with // DuplicateSignature or InvalidNonce, it is recommended that a new block hash // is retrieved. // // Block hashes are expected to be valid for ~2 minutes. GetRecentBlockhash(ctx context.Context, in *GetRecentBlockhashRequest, opts ...grpc.CallOption) (*GetRecentBlockhashResponse, error) // GetMinimumBalanceForRentExemption returns the minimum amount of lamports that // must be in an account for it not to be garbage collected. GetMinimumBalanceForRentExemption(ctx context.Context, in *GetMinimumBalanceForRentExemptionRequest, opts ...grpc.CallOption) (*GetMinimumBalanceForRentExemptionResponse, error) // GetHistory returns the transaction history for an account, // with additional off-chain invoice data, if available. GetHistory(ctx context.Context, in *GetHistoryRequest, opts ...grpc.CallOption) (*GetHistoryResponse, error) // SignTransaction signs the provided transaction, returning the signature to be used. // // The transaction may include the following types of instructions: // - SplAssociateTokenAccount::CreateAssociatedTokenAccount() // - SplToken::SetAuthority(CloseAuthority) // - SplToken::Transfer() // - SplToken::CloseAccount() // - Memo::Memo() // // The transaction can be divided into one or more 'regions', which are delineated by // the memo instruction. Each instruction within a region is considered to be 'related to' // the memo at the beginning of the region. The first (or only) region may not have a memo. // For example, if there are instructions before the first memo instruction, or if there // is no memo at all. // // If an invoice is applied, there must be a memo whose foreign key contains the SHA-226 // of the serialized memo. Additionally, the number of SplToken::Transfer instructions in // the region _must_ match the number of invoices. Furthermore, the invoice cannot be // referenced by more than one region. // // Examples: // // Basic Transfer (No Invoice) // 1. SplToken::Transfer() // // Basic Transfer (Invoice) // 1. Memo::Memo(Spend) // 2. SplToken::Transfer() // // Transfer with Cleanup (Sender has token accounts A, B, sending to C) // 1. Memo::Memo(GC) [Optional, 'memoless' region is ok] // 2. SplToken::Transfer(B -> A) // 3. SplToken::CloseAccount(B) // 4. Memo::Memo(Spend) // 5. SplToken::Transfer(A -> C) // // Transfer with Cleanup At End (Sender has token accounts A, B, sending to C) // 1. Memo::Memo(Spend) // 2. SplToken::Transfer(A -> C) // 3. Memo::Memo(GC) [Required, delineate cleanup region from above] // 4. SplToken::Transfer(B -> A) // 5. SplToken::CloseAccount(B) // // Sender Creates Destination (No Invoice) // 1. SplAssociateTokenAccount::CreateAssociatedTokenAccount() // 2. SplToken::SetAuthority(CloseAuthority) // 2. SplToken::Transfer() // // Sender Creates Destination (Invoice) // 1. SplAssociateTokenAccount::CreateAssociatedTokenAccount() // 2. SplToken::SetAuthority(CloseAuthority) // 3. Memo::Memo(Earn) // 4. SplToken::Transfer() SignTransaction(ctx context.Context, in *SignTransactionRequest, opts ...grpc.CallOption) (*SignTransactionResponse, error) // SubmitTransaction submits a transaction. // // If the transaction is already signed, the SignTransaction webhook will not // be called. SubmitTransaction(ctx context.Context, in *SubmitTransactionRequest, opts ...grpc.CallOption) (*SubmitTransactionResponse, error) // GetTransaction returns a transaction and additional off-chain invoice data, if available. GetTransaction(ctx context.Context, in *GetTransactionRequest, opts ...grpc.CallOption) (*GetTransactionResponse, error) }
TransactionClient is the client API for Transaction service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTransactionClient ¶
func NewTransactionClient(cc *grpc.ClientConn) TransactionClient
type TransactionServer ¶
type TransactionServer interface { // GetServiceConfig returns the service and token parameters for the token. // // The subsidizer key returned may vary based on the 'app-index' header. GetServiceConfig(context.Context, *GetServiceConfigRequest) (*GetServiceConfigResponse, error) // GetMinimumKinVersion returns the minimum Kin version that is supported. // // This version will _never_ decrease in non-test scenarios, as it indicates // a global migration has occured. GetMinimumKinVersion(context.Context, *GetMinimumKinVersionRequest) (*GetMinimumKinVersionResponse, error) // GetRecentBlockhash returns a recent block hash from the underlying network, // which should be used when crafting transactions. If a transaction fails with // DuplicateSignature or InvalidNonce, it is recommended that a new block hash // is retrieved. // // Block hashes are expected to be valid for ~2 minutes. GetRecentBlockhash(context.Context, *GetRecentBlockhashRequest) (*GetRecentBlockhashResponse, error) // GetMinimumBalanceForRentExemption returns the minimum amount of lamports that // must be in an account for it not to be garbage collected. GetMinimumBalanceForRentExemption(context.Context, *GetMinimumBalanceForRentExemptionRequest) (*GetMinimumBalanceForRentExemptionResponse, error) // GetHistory returns the transaction history for an account, // with additional off-chain invoice data, if available. GetHistory(context.Context, *GetHistoryRequest) (*GetHistoryResponse, error) // SignTransaction signs the provided transaction, returning the signature to be used. // // The transaction may include the following types of instructions: // - SplAssociateTokenAccount::CreateAssociatedTokenAccount() // - SplToken::SetAuthority(CloseAuthority) // - SplToken::Transfer() // - SplToken::CloseAccount() // - Memo::Memo() // // The transaction can be divided into one or more 'regions', which are delineated by // the memo instruction. Each instruction within a region is considered to be 'related to' // the memo at the beginning of the region. The first (or only) region may not have a memo. // For example, if there are instructions before the first memo instruction, or if there // is no memo at all. // // If an invoice is applied, there must be a memo whose foreign key contains the SHA-226 // of the serialized memo. Additionally, the number of SplToken::Transfer instructions in // the region _must_ match the number of invoices. Furthermore, the invoice cannot be // referenced by more than one region. // // Examples: // // Basic Transfer (No Invoice) // 1. SplToken::Transfer() // // Basic Transfer (Invoice) // 1. Memo::Memo(Spend) // 2. SplToken::Transfer() // // Transfer with Cleanup (Sender has token accounts A, B, sending to C) // 1. Memo::Memo(GC) [Optional, 'memoless' region is ok] // 2. SplToken::Transfer(B -> A) // 3. SplToken::CloseAccount(B) // 4. Memo::Memo(Spend) // 5. SplToken::Transfer(A -> C) // // Transfer with Cleanup At End (Sender has token accounts A, B, sending to C) // 1. Memo::Memo(Spend) // 2. SplToken::Transfer(A -> C) // 3. Memo::Memo(GC) [Required, delineate cleanup region from above] // 4. SplToken::Transfer(B -> A) // 5. SplToken::CloseAccount(B) // // Sender Creates Destination (No Invoice) // 1. SplAssociateTokenAccount::CreateAssociatedTokenAccount() // 2. SplToken::SetAuthority(CloseAuthority) // 2. SplToken::Transfer() // // Sender Creates Destination (Invoice) // 1. SplAssociateTokenAccount::CreateAssociatedTokenAccount() // 2. SplToken::SetAuthority(CloseAuthority) // 3. Memo::Memo(Earn) // 4. SplToken::Transfer() SignTransaction(context.Context, *SignTransactionRequest) (*SignTransactionResponse, error) // SubmitTransaction submits a transaction. // // If the transaction is already signed, the SignTransaction webhook will not // be called. SubmitTransaction(context.Context, *SubmitTransactionRequest) (*SubmitTransactionResponse, error) // GetTransaction returns a transaction and additional off-chain invoice data, if available. GetTransaction(context.Context, *GetTransactionRequest) (*GetTransactionResponse, error) }
TransactionServer is the server API for Transaction service.
type UnimplementedTransactionServer ¶
type UnimplementedTransactionServer struct { }
UnimplementedTransactionServer can be embedded to have forward compatible implementations.
func (*UnimplementedTransactionServer) GetHistory ¶
func (*UnimplementedTransactionServer) GetHistory(ctx context.Context, req *GetHistoryRequest) (*GetHistoryResponse, error)
func (*UnimplementedTransactionServer) GetMinimumBalanceForRentExemption ¶
func (*UnimplementedTransactionServer) GetMinimumBalanceForRentExemption(ctx context.Context, req *GetMinimumBalanceForRentExemptionRequest) (*GetMinimumBalanceForRentExemptionResponse, error)
func (*UnimplementedTransactionServer) GetMinimumKinVersion ¶ added in v0.23.0
func (*UnimplementedTransactionServer) GetMinimumKinVersion(ctx context.Context, req *GetMinimumKinVersionRequest) (*GetMinimumKinVersionResponse, error)
func (*UnimplementedTransactionServer) GetRecentBlockhash ¶
func (*UnimplementedTransactionServer) GetRecentBlockhash(ctx context.Context, req *GetRecentBlockhashRequest) (*GetRecentBlockhashResponse, error)
func (*UnimplementedTransactionServer) GetServiceConfig ¶
func (*UnimplementedTransactionServer) GetServiceConfig(ctx context.Context, req *GetServiceConfigRequest) (*GetServiceConfigResponse, error)
func (*UnimplementedTransactionServer) GetTransaction ¶
func (*UnimplementedTransactionServer) GetTransaction(ctx context.Context, req *GetTransactionRequest) (*GetTransactionResponse, error)
func (*UnimplementedTransactionServer) SignTransaction ¶ added in v0.26.0
func (*UnimplementedTransactionServer) SignTransaction(ctx context.Context, req *SignTransactionRequest) (*SignTransactionResponse, error)
func (*UnimplementedTransactionServer) SubmitTransaction ¶
func (*UnimplementedTransactionServer) SubmitTransaction(ctx context.Context, req *SubmitTransactionRequest) (*SubmitTransactionResponse, error)