transaction

package
v0.28.0 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2021 License: MIT Imports: 21 Imported by: 8

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GetHistoryRequest_Direction_name = map[int32]string{
	0: "ASC",
	1: "DESC",
}
View Source
var GetHistoryRequest_Direction_value = map[string]int32{
	"ASC":  0,
	"DESC": 1,
}
View Source
var GetHistoryResponse_Result_name = map[int32]string{
	0: "OK",
	1: "NOT_FOUND",
}
View Source
var GetHistoryResponse_Result_value = map[string]int32{
	"OK":        0,
	"NOT_FOUND": 1,
}
View Source
var GetTransactionResponse_State_name = map[int32]string{
	0: "UNKNOWN",
	1: "SUCCESS",
	2: "FAILED",
	3: "PENDING",
}
View Source
var GetTransactionResponse_State_value = map[string]int32{
	"UNKNOWN": 0,
	"SUCCESS": 1,
	"FAILED":  2,
	"PENDING": 3,
}
View Source
var SignTransactionResponse_Result_name = map[int32]string{
	0: "OK",
	3: "REJECTED",
	4: "INVOICE_ERROR",
}
View Source
var SignTransactionResponse_Result_value = map[string]int32{
	"OK":            0,
	"REJECTED":      3,
	"INVOICE_ERROR": 4,
}
View Source
var SubmitTransactionResponse_Result_name = map[int32]string{
	0: "OK",
	1: "ALREADY_SUBMITTED",
	2: "FAILED",
	3: "REJECTED",
	4: "INVOICE_ERROR",
	5: "PAYER_REQUIRED",
}
View Source
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) Descriptor() ([]byte, []int)

func (*Cursor) GetValue

func (m *Cursor) GetValue() []byte

func (*Cursor) ProtoMessage

func (*Cursor) ProtoMessage()

func (*Cursor) Reset

func (m *Cursor) Reset()

func (*Cursor) String

func (m *Cursor) String() string

func (*Cursor) Validate

func (m *Cursor) Validate() error

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 (m *Cursor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cursor) XXX_Merge

func (m *Cursor) XXX_Merge(src proto.Message)

func (*Cursor) XXX_Size

func (m *Cursor) XXX_Size() int

func (*Cursor) XXX_Unmarshal

func (m *Cursor) XXX_Unmarshal(b []byte) error

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 (*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

Cause function returns cause value.

func (GetHistoryRequestValidationError) Error

Error satisfies the builtin error interface

func (GetHistoryRequestValidationError) ErrorName

ErrorName returns error name.

func (GetHistoryRequestValidationError) Field

Field function returns field value.

func (GetHistoryRequestValidationError) Key

Key function returns key value.

func (GetHistoryRequestValidationError) Reason

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

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 (*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

Cause function returns cause value.

func (GetHistoryResponseValidationError) Error

Error satisfies the builtin error interface

func (GetHistoryResponseValidationError) ErrorName

ErrorName returns error name.

func (GetHistoryResponseValidationError) Field

Field function returns field value.

func (GetHistoryResponseValidationError) Key

Key function returns key value.

func (GetHistoryResponseValidationError) Reason

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 (*GetMinimumBalanceForRentExemptionRequest) ProtoMessage

func (*GetMinimumBalanceForRentExemptionRequest) Reset

func (*GetMinimumBalanceForRentExemptionRequest) String

func (*GetMinimumBalanceForRentExemptionRequest) Validate

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 (*GetMinimumBalanceForRentExemptionRequest) XXX_Size

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

Cause function returns cause value.

func (GetMinimumBalanceForRentExemptionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetMinimumBalanceForRentExemptionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetMinimumBalanceForRentExemptionRequestValidationError) Field

Field function returns field value.

func (GetMinimumBalanceForRentExemptionRequestValidationError) Key

Key function returns key value.

func (GetMinimumBalanceForRentExemptionRequestValidationError) Reason

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 (*GetMinimumBalanceForRentExemptionResponse) ProtoMessage

func (*GetMinimumBalanceForRentExemptionResponse) Reset

func (*GetMinimumBalanceForRentExemptionResponse) String

func (*GetMinimumBalanceForRentExemptionResponse) Validate

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 (*GetMinimumBalanceForRentExemptionResponse) XXX_Size

func (*GetMinimumBalanceForRentExemptionResponse) XXX_Unmarshal

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

Cause function returns cause value.

func (GetMinimumBalanceForRentExemptionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetMinimumBalanceForRentExemptionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetMinimumBalanceForRentExemptionResponseValidationError) Field

Field function returns field value.

func (GetMinimumBalanceForRentExemptionResponseValidationError) Key

Key function returns key value.

func (GetMinimumBalanceForRentExemptionResponseValidationError) Reason

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

Cause function returns cause value.

func (GetMinimumKinVersionRequestValidationError) Error added in v0.23.0

Error satisfies the builtin error interface

func (GetMinimumKinVersionRequestValidationError) ErrorName added in v0.23.0

ErrorName returns error name.

func (GetMinimumKinVersionRequestValidationError) Field added in v0.23.0

Field function returns field value.

func (GetMinimumKinVersionRequestValidationError) Key added in v0.23.0

Key function returns key value.

func (GetMinimumKinVersionRequestValidationError) Reason added in v0.23.0

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 (*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

Cause function returns cause value.

func (GetMinimumKinVersionResponseValidationError) Error added in v0.23.0

Error satisfies the builtin error interface

func (GetMinimumKinVersionResponseValidationError) ErrorName added in v0.23.0

ErrorName returns error name.

func (GetMinimumKinVersionResponseValidationError) Field added in v0.23.0

Field function returns field value.

func (GetMinimumKinVersionResponseValidationError) Key added in v0.23.0

Key function returns key value.

func (GetMinimumKinVersionResponseValidationError) Reason added in v0.23.0

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

Cause function returns cause value.

func (GetRecentBlockhashRequestValidationError) Error

Error satisfies the builtin error interface

func (GetRecentBlockhashRequestValidationError) ErrorName

ErrorName returns error name.

func (GetRecentBlockhashRequestValidationError) Field

Field function returns field value.

func (GetRecentBlockhashRequestValidationError) Key

Key function returns key value.

func (GetRecentBlockhashRequestValidationError) Reason

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

Cause function returns cause value.

func (GetRecentBlockhashResponseValidationError) Error

Error satisfies the builtin error interface

func (GetRecentBlockhashResponseValidationError) ErrorName

ErrorName returns error name.

func (GetRecentBlockhashResponseValidationError) Field

Field function returns field value.

func (GetRecentBlockhashResponseValidationError) Key

Key function returns key value.

func (GetRecentBlockhashResponseValidationError) Reason

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

Cause function returns cause value.

func (GetServiceConfigRequestValidationError) Error

Error satisfies the builtin error interface

func (GetServiceConfigRequestValidationError) ErrorName

ErrorName returns error name.

func (GetServiceConfigRequestValidationError) Field

Field function returns field value.

func (GetServiceConfigRequestValidationError) Key

Key function returns key value.

func (GetServiceConfigRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (GetServiceConfigResponseValidationError) Error

Error satisfies the builtin error interface

func (GetServiceConfigResponseValidationError) ErrorName

ErrorName returns error name.

func (GetServiceConfigResponseValidationError) Field

Field function returns field value.

func (GetServiceConfigResponseValidationError) Key

Key function returns key value.

func (GetServiceConfigResponseValidationError) Reason

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

Cause function returns cause value.

func (GetTransactionRequestValidationError) Error

Error satisfies the builtin error interface

func (GetTransactionRequestValidationError) ErrorName

ErrorName returns error name.

func (GetTransactionRequestValidationError) Field

Field function returns field value.

func (GetTransactionRequestValidationError) Key

Key function returns key value.

func (GetTransactionRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (GetTransactionResponseValidationError) Error

Error satisfies the builtin error interface

func (GetTransactionResponseValidationError) ErrorName

ErrorName returns error name.

func (GetTransactionResponseValidationError) Field

Field function returns field value.

func (GetTransactionResponseValidationError) Key

Key function returns key value.

func (GetTransactionResponseValidationError) Reason

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

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

Cause function returns cause value.

func (HistoryItemValidationError) Error

Error satisfies the builtin error interface

func (HistoryItemValidationError) ErrorName

func (e HistoryItemValidationError) ErrorName() string

ErrorName returns error name.

func (HistoryItemValidationError) Field

Field function returns field value.

func (HistoryItemValidationError) Key

Key function returns key value.

func (HistoryItemValidationError) Reason

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

Cause function returns cause value.

func (HistoryItem_PaymentValidationError) Error

Error satisfies the builtin error interface

func (HistoryItem_PaymentValidationError) ErrorName

ErrorName returns error name.

func (HistoryItem_PaymentValidationError) Field

Field function returns field value.

func (HistoryItem_PaymentValidationError) Key

Key function returns key value.

func (HistoryItem_PaymentValidationError) Reason

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

Cause function returns cause value.

func (SignTransactionRequestValidationError) Error added in v0.26.0

Error satisfies the builtin error interface

func (SignTransactionRequestValidationError) ErrorName added in v0.26.0

ErrorName returns error name.

func (SignTransactionRequestValidationError) Field added in v0.26.0

Field function returns field value.

func (SignTransactionRequestValidationError) Key added in v0.26.0

Key function returns key value.

func (SignTransactionRequestValidationError) Reason added in v0.26.0

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 (*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

Cause function returns cause value.

func (SignTransactionResponseValidationError) Error added in v0.26.0

Error satisfies the builtin error interface

func (SignTransactionResponseValidationError) ErrorName added in v0.26.0

ErrorName returns error name.

func (SignTransactionResponseValidationError) Field added in v0.26.0

Field function returns field value.

func (SignTransactionResponseValidationError) Key added in v0.26.0

Key function returns key value.

func (SignTransactionResponseValidationError) Reason added in v0.26.0

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

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

Cause function returns cause value.

func (SubmitTransactionRequestValidationError) Error

Error satisfies the builtin error interface

func (SubmitTransactionRequestValidationError) ErrorName

ErrorName returns error name.

func (SubmitTransactionRequestValidationError) Field

Field function returns field value.

func (SubmitTransactionRequestValidationError) Key

Key function returns key value.

func (SubmitTransactionRequestValidationError) Reason

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 (*SubmitTransactionResponse) GetSignature

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

Cause function returns cause value.

func (SubmitTransactionResponseValidationError) Error

Error satisfies the builtin error interface

func (SubmitTransactionResponseValidationError) ErrorName

ErrorName returns error name.

func (SubmitTransactionResponseValidationError) Field

Field function returns field value.

func (SubmitTransactionResponseValidationError) Key

Key function returns key value.

func (SubmitTransactionResponseValidationError) Reason

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

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) GetMinimumKinVersion added in v0.23.0

func (*UnimplementedTransactionServer) GetRecentBlockhash

func (*UnimplementedTransactionServer) GetServiceConfig

func (*UnimplementedTransactionServer) GetTransaction

func (*UnimplementedTransactionServer) SignTransaction added in v0.26.0

func (*UnimplementedTransactionServer) SubmitTransaction

Jump to

Keyboard shortcuts

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