transaction_by_addr

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: AGPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TransactionErrorType_name = map[int32]string{
		0:  "ACCOUNT_IN_USE",
		1:  "ACCOUNT_LOADED_TWICE",
		2:  "ACCOUNT_NOT_FOUND",
		3:  "PROGRAM_ACCOUNT_NOT_FOUND",
		4:  "INSUFFICIENT_FUNDS_FOR_FEE",
		5:  "INVALID_ACCOUNT_FOR_FEE",
		6:  "ALREADY_PROCESSED",
		7:  "BLOCKHASH_NOT_FOUND",
		8:  "INSTRUCTION_ERROR",
		9:  "CALL_CHAIN_TOO_DEEP",
		10: "MISSING_SIGNATURE_FOR_FEE",
		11: "INVALID_ACCOUNT_INDEX",
		12: "SIGNATURE_FAILURE",
		13: "INVALID_PROGRAM_FOR_EXECUTION",
		14: "SANITIZE_FAILURE",
		15: "CLUSTER_MAINTENANCE",
		16: "ACCOUNT_BORROW_OUTSTANDING_TX",
		17: "WOULD_EXCEED_MAX_BLOCK_COST_LIMIT",
		18: "UNSUPPORTED_VERSION",
		19: "INVALID_WRITABLE_ACCOUNT",
		20: "WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT",
		21: "WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT",
		22: "TOO_MANY_ACCOUNT_LOCKS",
		23: "ADDRESS_LOOKUP_TABLE_NOT_FOUND",
		24: "INVALID_ADDRESS_LOOKUP_TABLE_OWNER",
		25: "INVALID_ADDRESS_LOOKUP_TABLE_DATA",
		26: "INVALID_ADDRESS_LOOKUP_TABLE_INDEX",
		27: "INVALID_RENT_PAYING_ACCOUNT",
		28: "WOULD_EXCEED_MAX_VOTE_COST_LIMIT",
		29: "WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT",
		30: "DUPLICATE_INSTRUCTION",
		31: "INSUFFICIENT_FUNDS_FOR_RENT",
		32: "MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED",
		33: "INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT",
		34: "RESANITIZATION_NEEDED",
		35: "PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED",
		36: "UNBALANCED_TRANSACTION",
		37: "PROGRAM_CACHE_HIT_MAX_LIMIT",
	}
	TransactionErrorType_value = map[string]int32{
		"ACCOUNT_IN_USE":                           0,
		"ACCOUNT_LOADED_TWICE":                     1,
		"ACCOUNT_NOT_FOUND":                        2,
		"PROGRAM_ACCOUNT_NOT_FOUND":                3,
		"INSUFFICIENT_FUNDS_FOR_FEE":               4,
		"INVALID_ACCOUNT_FOR_FEE":                  5,
		"ALREADY_PROCESSED":                        6,
		"BLOCKHASH_NOT_FOUND":                      7,
		"INSTRUCTION_ERROR":                        8,
		"CALL_CHAIN_TOO_DEEP":                      9,
		"MISSING_SIGNATURE_FOR_FEE":                10,
		"INVALID_ACCOUNT_INDEX":                    11,
		"SIGNATURE_FAILURE":                        12,
		"INVALID_PROGRAM_FOR_EXECUTION":            13,
		"SANITIZE_FAILURE":                         14,
		"CLUSTER_MAINTENANCE":                      15,
		"ACCOUNT_BORROW_OUTSTANDING_TX":            16,
		"WOULD_EXCEED_MAX_BLOCK_COST_LIMIT":        17,
		"UNSUPPORTED_VERSION":                      18,
		"INVALID_WRITABLE_ACCOUNT":                 19,
		"WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT":      20,
		"WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT":    21,
		"TOO_MANY_ACCOUNT_LOCKS":                   22,
		"ADDRESS_LOOKUP_TABLE_NOT_FOUND":           23,
		"INVALID_ADDRESS_LOOKUP_TABLE_OWNER":       24,
		"INVALID_ADDRESS_LOOKUP_TABLE_DATA":        25,
		"INVALID_ADDRESS_LOOKUP_TABLE_INDEX":       26,
		"INVALID_RENT_PAYING_ACCOUNT":              27,
		"WOULD_EXCEED_MAX_VOTE_COST_LIMIT":         28,
		"WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT":    29,
		"DUPLICATE_INSTRUCTION":                    30,
		"INSUFFICIENT_FUNDS_FOR_RENT":              31,
		"MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED":   32,
		"INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT":  33,
		"RESANITIZATION_NEEDED":                    34,
		"PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED": 35,
		"UNBALANCED_TRANSACTION":                   36,
		"PROGRAM_CACHE_HIT_MAX_LIMIT":              37,
	}
)

Enum value maps for TransactionErrorType.

View Source
var (
	InstructionErrorType_name = map[int32]string{
		0:  "GENERIC_ERROR",
		1:  "INVALID_ARGUMENT",
		2:  "INVALID_INSTRUCTION_DATA",
		3:  "INVALID_ACCOUNT_DATA",
		4:  "ACCOUNT_DATA_TOO_SMALL",
		5:  "INSUFFICIENT_FUNDS",
		6:  "INCORRECT_PROGRAM_ID",
		7:  "MISSING_REQUIRED_SIGNATURE",
		8:  "ACCOUNT_ALREADY_INITIALIZED",
		9:  "UNINITIALIZED_ACCOUNT",
		10: "UNBALANCED_INSTRUCTION",
		11: "MODIFIED_PROGRAM_ID",
		12: "EXTERNAL_ACCOUNT_LAMPORT_SPEND",
		13: "EXTERNAL_ACCOUNT_DATA_MODIFIED",
		14: "READONLY_LAMPORT_CHANGE",
		15: "READONLY_DATA_MODIFIED",
		16: "DUPLICATE_ACCOUNT_INDEX",
		17: "EXECUTABLE_MODIFIED",
		18: "RENT_EPOCH_MODIFIED",
		19: "NOT_ENOUGH_ACCOUNT_KEYS",
		20: "ACCOUNT_DATA_SIZE_CHANGED",
		21: "ACCOUNT_NOT_EXECUTABLE",
		22: "ACCOUNT_BORROW_FAILED",
		23: "ACCOUNT_BORROW_OUTSTANDING",
		24: "DUPLICATE_ACCOUNT_OUT_OF_SYNC",
		25: "CUSTOM",
		26: "INVALID_ERROR",
		27: "EXECUTABLE_DATA_MODIFIED",
		28: "EXECUTABLE_LAMPORT_CHANGE",
		29: "EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT",
		30: "UNSUPPORTED_PROGRAM_ID",
		31: "CALL_DEPTH",
		32: "MISSING_ACCOUNT",
		33: "REENTRANCY_NOT_ALLOWED",
		34: "MAX_SEED_LENGTH_EXCEEDED",
		35: "INVALID_SEEDS",
		36: "INVALID_REALLOC",
		37: "COMPUTATIONAL_BUDGET_EXCEEDED",
		38: "PRIVILEGE_ESCALATION",
		39: "PROGRAM_ENVIRONMENT_SETUP_FAILURE",
		40: "PROGRAM_FAILED_TO_COMPLETE",
		41: "PROGRAM_FAILED_TO_COMPILE",
		42: "IMMUTABLE",
		43: "INCORRECT_AUTHORITY",
		44: "BORSH_IO_ERROR",
		45: "ACCOUNT_NOT_RENT_EXEMPT",
		46: "INVALID_ACCOUNT_OWNER",
		47: "ARITHMETIC_OVERFLOW",
		48: "UNSUPPORTED_SYSVAR",
		49: "ILLEGAL_OWNER",
		50: "MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED",
		51: "MAX_ACCOUNTS_EXCEEDED",
		52: "MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED",
		53: "BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS",
	}
	InstructionErrorType_value = map[string]int32{
		"GENERIC_ERROR":                               0,
		"INVALID_ARGUMENT":                            1,
		"INVALID_INSTRUCTION_DATA":                    2,
		"INVALID_ACCOUNT_DATA":                        3,
		"ACCOUNT_DATA_TOO_SMALL":                      4,
		"INSUFFICIENT_FUNDS":                          5,
		"INCORRECT_PROGRAM_ID":                        6,
		"MISSING_REQUIRED_SIGNATURE":                  7,
		"ACCOUNT_ALREADY_INITIALIZED":                 8,
		"UNINITIALIZED_ACCOUNT":                       9,
		"UNBALANCED_INSTRUCTION":                      10,
		"MODIFIED_PROGRAM_ID":                         11,
		"EXTERNAL_ACCOUNT_LAMPORT_SPEND":              12,
		"EXTERNAL_ACCOUNT_DATA_MODIFIED":              13,
		"READONLY_LAMPORT_CHANGE":                     14,
		"READONLY_DATA_MODIFIED":                      15,
		"DUPLICATE_ACCOUNT_INDEX":                     16,
		"EXECUTABLE_MODIFIED":                         17,
		"RENT_EPOCH_MODIFIED":                         18,
		"NOT_ENOUGH_ACCOUNT_KEYS":                     19,
		"ACCOUNT_DATA_SIZE_CHANGED":                   20,
		"ACCOUNT_NOT_EXECUTABLE":                      21,
		"ACCOUNT_BORROW_FAILED":                       22,
		"ACCOUNT_BORROW_OUTSTANDING":                  23,
		"DUPLICATE_ACCOUNT_OUT_OF_SYNC":               24,
		"CUSTOM":                                      25,
		"INVALID_ERROR":                               26,
		"EXECUTABLE_DATA_MODIFIED":                    27,
		"EXECUTABLE_LAMPORT_CHANGE":                   28,
		"EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT":          29,
		"UNSUPPORTED_PROGRAM_ID":                      30,
		"CALL_DEPTH":                                  31,
		"MISSING_ACCOUNT":                             32,
		"REENTRANCY_NOT_ALLOWED":                      33,
		"MAX_SEED_LENGTH_EXCEEDED":                    34,
		"INVALID_SEEDS":                               35,
		"INVALID_REALLOC":                             36,
		"COMPUTATIONAL_BUDGET_EXCEEDED":               37,
		"PRIVILEGE_ESCALATION":                        38,
		"PROGRAM_ENVIRONMENT_SETUP_FAILURE":           39,
		"PROGRAM_FAILED_TO_COMPLETE":                  40,
		"PROGRAM_FAILED_TO_COMPILE":                   41,
		"IMMUTABLE":                                   42,
		"INCORRECT_AUTHORITY":                         43,
		"BORSH_IO_ERROR":                              44,
		"ACCOUNT_NOT_RENT_EXEMPT":                     45,
		"INVALID_ACCOUNT_OWNER":                       46,
		"ARITHMETIC_OVERFLOW":                         47,
		"UNSUPPORTED_SYSVAR":                          48,
		"ILLEGAL_OWNER":                               49,
		"MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED":      50,
		"MAX_ACCOUNTS_EXCEEDED":                       51,
		"MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED":       52,
		"BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS": 53,
	}
)

Enum value maps for InstructionErrorType.

View Source
var File_transaction_by_addr_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type CustomError

type CustomError struct {
	Custom uint32 `protobuf:"varint,1,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

func (*CustomError) Descriptor deprecated

func (*CustomError) Descriptor() ([]byte, []int)

Deprecated: Use CustomError.ProtoReflect.Descriptor instead.

func (*CustomError) GetCustom

func (x *CustomError) GetCustom() uint32

func (*CustomError) ProtoMessage

func (*CustomError) ProtoMessage()

func (*CustomError) ProtoReflect

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

func (*CustomError) Reset

func (x *CustomError) Reset()

func (*CustomError) String

func (x *CustomError) String() string

type InstructionError

type InstructionError struct {
	Index  uint32               `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	Error  InstructionErrorType `protobuf:"varint,2,opt,name=error,proto3,enum=solana.storage.TransactionByAddr.InstructionErrorType" json:"error,omitempty"`
	Custom *CustomError         `protobuf:"bytes,3,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

func (*InstructionError) Descriptor deprecated

func (*InstructionError) Descriptor() ([]byte, []int)

Deprecated: Use InstructionError.ProtoReflect.Descriptor instead.

func (*InstructionError) GetCustom

func (x *InstructionError) GetCustom() *CustomError

func (*InstructionError) GetError

func (x *InstructionError) GetError() InstructionErrorType

func (*InstructionError) GetIndex

func (x *InstructionError) GetIndex() uint32

func (*InstructionError) ProtoMessage

func (*InstructionError) ProtoMessage()

func (*InstructionError) ProtoReflect

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

func (*InstructionError) Reset

func (x *InstructionError) Reset()

func (*InstructionError) String

func (x *InstructionError) String() string

type InstructionErrorType

type InstructionErrorType int32
const (
	InstructionErrorType_GENERIC_ERROR                               InstructionErrorType = 0
	InstructionErrorType_INVALID_ARGUMENT                            InstructionErrorType = 1
	InstructionErrorType_INVALID_INSTRUCTION_DATA                    InstructionErrorType = 2
	InstructionErrorType_INVALID_ACCOUNT_DATA                        InstructionErrorType = 3
	InstructionErrorType_ACCOUNT_DATA_TOO_SMALL                      InstructionErrorType = 4
	InstructionErrorType_INSUFFICIENT_FUNDS                          InstructionErrorType = 5
	InstructionErrorType_INCORRECT_PROGRAM_ID                        InstructionErrorType = 6
	InstructionErrorType_MISSING_REQUIRED_SIGNATURE                  InstructionErrorType = 7
	InstructionErrorType_ACCOUNT_ALREADY_INITIALIZED                 InstructionErrorType = 8
	InstructionErrorType_UNINITIALIZED_ACCOUNT                       InstructionErrorType = 9
	InstructionErrorType_UNBALANCED_INSTRUCTION                      InstructionErrorType = 10
	InstructionErrorType_MODIFIED_PROGRAM_ID                         InstructionErrorType = 11
	InstructionErrorType_EXTERNAL_ACCOUNT_LAMPORT_SPEND              InstructionErrorType = 12
	InstructionErrorType_EXTERNAL_ACCOUNT_DATA_MODIFIED              InstructionErrorType = 13
	InstructionErrorType_READONLY_LAMPORT_CHANGE                     InstructionErrorType = 14
	InstructionErrorType_READONLY_DATA_MODIFIED                      InstructionErrorType = 15
	InstructionErrorType_DUPLICATE_ACCOUNT_INDEX                     InstructionErrorType = 16
	InstructionErrorType_EXECUTABLE_MODIFIED                         InstructionErrorType = 17
	InstructionErrorType_RENT_EPOCH_MODIFIED                         InstructionErrorType = 18
	InstructionErrorType_NOT_ENOUGH_ACCOUNT_KEYS                     InstructionErrorType = 19
	InstructionErrorType_ACCOUNT_DATA_SIZE_CHANGED                   InstructionErrorType = 20
	InstructionErrorType_ACCOUNT_NOT_EXECUTABLE                      InstructionErrorType = 21
	InstructionErrorType_ACCOUNT_BORROW_FAILED                       InstructionErrorType = 22
	InstructionErrorType_ACCOUNT_BORROW_OUTSTANDING                  InstructionErrorType = 23
	InstructionErrorType_DUPLICATE_ACCOUNT_OUT_OF_SYNC               InstructionErrorType = 24
	InstructionErrorType_CUSTOM                                      InstructionErrorType = 25
	InstructionErrorType_INVALID_ERROR                               InstructionErrorType = 26
	InstructionErrorType_EXECUTABLE_DATA_MODIFIED                    InstructionErrorType = 27
	InstructionErrorType_EXECUTABLE_LAMPORT_CHANGE                   InstructionErrorType = 28
	InstructionErrorType_EXECUTABLE_ACCOUNT_NOT_RENT_EXEMPT          InstructionErrorType = 29
	InstructionErrorType_UNSUPPORTED_PROGRAM_ID                      InstructionErrorType = 30
	InstructionErrorType_CALL_DEPTH                                  InstructionErrorType = 31
	InstructionErrorType_MISSING_ACCOUNT                             InstructionErrorType = 32
	InstructionErrorType_REENTRANCY_NOT_ALLOWED                      InstructionErrorType = 33
	InstructionErrorType_MAX_SEED_LENGTH_EXCEEDED                    InstructionErrorType = 34
	InstructionErrorType_INVALID_SEEDS                               InstructionErrorType = 35
	InstructionErrorType_INVALID_REALLOC                             InstructionErrorType = 36
	InstructionErrorType_COMPUTATIONAL_BUDGET_EXCEEDED               InstructionErrorType = 37
	InstructionErrorType_PRIVILEGE_ESCALATION                        InstructionErrorType = 38
	InstructionErrorType_PROGRAM_ENVIRONMENT_SETUP_FAILURE           InstructionErrorType = 39
	InstructionErrorType_PROGRAM_FAILED_TO_COMPLETE                  InstructionErrorType = 40
	InstructionErrorType_PROGRAM_FAILED_TO_COMPILE                   InstructionErrorType = 41
	InstructionErrorType_IMMUTABLE                                   InstructionErrorType = 42
	InstructionErrorType_INCORRECT_AUTHORITY                         InstructionErrorType = 43
	InstructionErrorType_BORSH_IO_ERROR                              InstructionErrorType = 44
	InstructionErrorType_ACCOUNT_NOT_RENT_EXEMPT                     InstructionErrorType = 45
	InstructionErrorType_INVALID_ACCOUNT_OWNER                       InstructionErrorType = 46
	InstructionErrorType_ARITHMETIC_OVERFLOW                         InstructionErrorType = 47
	InstructionErrorType_UNSUPPORTED_SYSVAR                          InstructionErrorType = 48
	InstructionErrorType_ILLEGAL_OWNER                               InstructionErrorType = 49
	InstructionErrorType_MAX_ACCOUNTS_DATA_ALLOCATIONS_EXCEEDED      InstructionErrorType = 50
	InstructionErrorType_MAX_ACCOUNTS_EXCEEDED                       InstructionErrorType = 51
	InstructionErrorType_MAX_INSTRUCTION_TRACE_LENGTH_EXCEEDED       InstructionErrorType = 52
	InstructionErrorType_BUILTIN_PROGRAMS_MUST_CONSUME_COMPUTE_UNITS InstructionErrorType = 53
)

func (InstructionErrorType) Descriptor

func (InstructionErrorType) Enum

func (InstructionErrorType) EnumDescriptor deprecated

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

Deprecated: Use InstructionErrorType.Descriptor instead.

func (InstructionErrorType) Number

func (InstructionErrorType) String

func (x InstructionErrorType) String() string

func (InstructionErrorType) Type

type Memo

type Memo struct {
	Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
	// contains filtered or unexported fields
}

func (*Memo) Descriptor deprecated

func (*Memo) Descriptor() ([]byte, []int)

Deprecated: Use Memo.ProtoReflect.Descriptor instead.

func (*Memo) GetMemo

func (x *Memo) GetMemo() string

func (*Memo) ProtoMessage

func (*Memo) ProtoMessage()

func (*Memo) ProtoReflect

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

func (*Memo) Reset

func (x *Memo) Reset()

func (*Memo) String

func (x *Memo) String() string

type TransactionByAddr

type TransactionByAddr struct {
	TxByAddrs []*TransactionByAddrInfo `protobuf:"bytes,1,rep,name=tx_by_addrs,json=txByAddrs,proto3" json:"tx_by_addrs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionByAddr) Descriptor deprecated

func (*TransactionByAddr) Descriptor() ([]byte, []int)

Deprecated: Use TransactionByAddr.ProtoReflect.Descriptor instead.

func (*TransactionByAddr) GetTxByAddrs

func (x *TransactionByAddr) GetTxByAddrs() []*TransactionByAddrInfo

func (*TransactionByAddr) ProtoMessage

func (*TransactionByAddr) ProtoMessage()

func (*TransactionByAddr) ProtoReflect

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

func (*TransactionByAddr) Reset

func (x *TransactionByAddr) Reset()

func (*TransactionByAddr) String

func (x *TransactionByAddr) String() string

type TransactionByAddrInfo

type TransactionByAddrInfo struct {
	Signature []byte            `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	Err       *TransactionError `protobuf:"bytes,2,opt,name=err,proto3" json:"err,omitempty"`
	Index     uint32            `protobuf:"varint,3,opt,name=index,proto3" json:"index,omitempty"`
	Memo      *Memo             `protobuf:"bytes,4,opt,name=memo,proto3" json:"memo,omitempty"`
	BlockTime *UnixTimestamp    `protobuf:"bytes,5,opt,name=block_time,json=blockTime,proto3" json:"block_time,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionByAddrInfo) Descriptor deprecated

func (*TransactionByAddrInfo) Descriptor() ([]byte, []int)

Deprecated: Use TransactionByAddrInfo.ProtoReflect.Descriptor instead.

func (*TransactionByAddrInfo) GetBlockTime

func (x *TransactionByAddrInfo) GetBlockTime() *UnixTimestamp

func (*TransactionByAddrInfo) GetErr

func (*TransactionByAddrInfo) GetIndex

func (x *TransactionByAddrInfo) GetIndex() uint32

func (*TransactionByAddrInfo) GetMemo

func (x *TransactionByAddrInfo) GetMemo() *Memo

func (*TransactionByAddrInfo) GetSignature

func (x *TransactionByAddrInfo) GetSignature() []byte

func (*TransactionByAddrInfo) ProtoMessage

func (*TransactionByAddrInfo) ProtoMessage()

func (*TransactionByAddrInfo) ProtoReflect

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

func (*TransactionByAddrInfo) Reset

func (x *TransactionByAddrInfo) Reset()

func (*TransactionByAddrInfo) String

func (x *TransactionByAddrInfo) String() string

type TransactionDetails

type TransactionDetails struct {
	Index uint32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionDetails) Descriptor deprecated

func (*TransactionDetails) Descriptor() ([]byte, []int)

Deprecated: Use TransactionDetails.ProtoReflect.Descriptor instead.

func (*TransactionDetails) GetIndex

func (x *TransactionDetails) GetIndex() uint32

func (*TransactionDetails) ProtoMessage

func (*TransactionDetails) ProtoMessage()

func (*TransactionDetails) ProtoReflect

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

func (*TransactionDetails) Reset

func (x *TransactionDetails) Reset()

func (*TransactionDetails) String

func (x *TransactionDetails) String() string

type TransactionError

type TransactionError struct {
	TransactionError   TransactionErrorType `` /* 169-byte string literal not displayed */
	InstructionError   *InstructionError    `protobuf:"bytes,2,opt,name=instruction_error,json=instructionError,proto3" json:"instruction_error,omitempty"`
	TransactionDetails *TransactionDetails  `protobuf:"bytes,3,opt,name=transaction_details,json=transactionDetails,proto3" json:"transaction_details,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionError) Descriptor deprecated

func (*TransactionError) Descriptor() ([]byte, []int)

Deprecated: Use TransactionError.ProtoReflect.Descriptor instead.

func (*TransactionError) GetInstructionError

func (x *TransactionError) GetInstructionError() *InstructionError

func (*TransactionError) GetTransactionDetails

func (x *TransactionError) GetTransactionDetails() *TransactionDetails

func (*TransactionError) GetTransactionError

func (x *TransactionError) GetTransactionError() TransactionErrorType

func (*TransactionError) ProtoMessage

func (*TransactionError) ProtoMessage()

func (*TransactionError) ProtoReflect

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

func (*TransactionError) Reset

func (x *TransactionError) Reset()

func (*TransactionError) String

func (x *TransactionError) String() string

type TransactionErrorType

type TransactionErrorType int32
const (
	TransactionErrorType_ACCOUNT_IN_USE                           TransactionErrorType = 0
	TransactionErrorType_ACCOUNT_LOADED_TWICE                     TransactionErrorType = 1
	TransactionErrorType_ACCOUNT_NOT_FOUND                        TransactionErrorType = 2
	TransactionErrorType_PROGRAM_ACCOUNT_NOT_FOUND                TransactionErrorType = 3
	TransactionErrorType_INSUFFICIENT_FUNDS_FOR_FEE               TransactionErrorType = 4
	TransactionErrorType_INVALID_ACCOUNT_FOR_FEE                  TransactionErrorType = 5
	TransactionErrorType_ALREADY_PROCESSED                        TransactionErrorType = 6
	TransactionErrorType_BLOCKHASH_NOT_FOUND                      TransactionErrorType = 7
	TransactionErrorType_INSTRUCTION_ERROR                        TransactionErrorType = 8
	TransactionErrorType_CALL_CHAIN_TOO_DEEP                      TransactionErrorType = 9
	TransactionErrorType_MISSING_SIGNATURE_FOR_FEE                TransactionErrorType = 10
	TransactionErrorType_INVALID_ACCOUNT_INDEX                    TransactionErrorType = 11
	TransactionErrorType_SIGNATURE_FAILURE                        TransactionErrorType = 12
	TransactionErrorType_INVALID_PROGRAM_FOR_EXECUTION            TransactionErrorType = 13
	TransactionErrorType_SANITIZE_FAILURE                         TransactionErrorType = 14
	TransactionErrorType_CLUSTER_MAINTENANCE                      TransactionErrorType = 15
	TransactionErrorType_ACCOUNT_BORROW_OUTSTANDING_TX            TransactionErrorType = 16
	TransactionErrorType_WOULD_EXCEED_MAX_BLOCK_COST_LIMIT        TransactionErrorType = 17
	TransactionErrorType_UNSUPPORTED_VERSION                      TransactionErrorType = 18
	TransactionErrorType_INVALID_WRITABLE_ACCOUNT                 TransactionErrorType = 19
	TransactionErrorType_WOULD_EXCEED_MAX_ACCOUNT_COST_LIMIT      TransactionErrorType = 20
	TransactionErrorType_WOULD_EXCEED_ACCOUNT_DATA_BLOCK_LIMIT    TransactionErrorType = 21
	TransactionErrorType_TOO_MANY_ACCOUNT_LOCKS                   TransactionErrorType = 22
	TransactionErrorType_ADDRESS_LOOKUP_TABLE_NOT_FOUND           TransactionErrorType = 23
	TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_OWNER       TransactionErrorType = 24
	TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_DATA        TransactionErrorType = 25
	TransactionErrorType_INVALID_ADDRESS_LOOKUP_TABLE_INDEX       TransactionErrorType = 26
	TransactionErrorType_INVALID_RENT_PAYING_ACCOUNT              TransactionErrorType = 27
	TransactionErrorType_WOULD_EXCEED_MAX_VOTE_COST_LIMIT         TransactionErrorType = 28
	TransactionErrorType_WOULD_EXCEED_ACCOUNT_DATA_TOTAL_LIMIT    TransactionErrorType = 29
	TransactionErrorType_DUPLICATE_INSTRUCTION                    TransactionErrorType = 30
	TransactionErrorType_INSUFFICIENT_FUNDS_FOR_RENT              TransactionErrorType = 31
	TransactionErrorType_MAX_LOADED_ACCOUNTS_DATA_SIZE_EXCEEDED   TransactionErrorType = 32
	TransactionErrorType_INVALID_LOADED_ACCOUNTS_DATA_SIZE_LIMIT  TransactionErrorType = 33
	TransactionErrorType_RESANITIZATION_NEEDED                    TransactionErrorType = 34
	TransactionErrorType_PROGRAM_EXECUTION_TEMPORARILY_RESTRICTED TransactionErrorType = 35
	TransactionErrorType_UNBALANCED_TRANSACTION                   TransactionErrorType = 36
	TransactionErrorType_PROGRAM_CACHE_HIT_MAX_LIMIT              TransactionErrorType = 37
)

func (TransactionErrorType) Descriptor

func (TransactionErrorType) Enum

func (TransactionErrorType) EnumDescriptor deprecated

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

Deprecated: Use TransactionErrorType.Descriptor instead.

func (TransactionErrorType) Number

func (TransactionErrorType) String

func (x TransactionErrorType) String() string

func (TransactionErrorType) Type

type UnixTimestamp

type UnixTimestamp struct {
	Timestamp int64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

func (*UnixTimestamp) Descriptor deprecated

func (*UnixTimestamp) Descriptor() ([]byte, []int)

Deprecated: Use UnixTimestamp.ProtoReflect.Descriptor instead.

func (*UnixTimestamp) GetTimestamp

func (x *UnixTimestamp) GetTimestamp() int64

func (*UnixTimestamp) ProtoMessage

func (*UnixTimestamp) ProtoMessage()

func (*UnixTimestamp) ProtoReflect

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

func (*UnixTimestamp) Reset

func (x *UnixTimestamp) Reset()

func (*UnixTimestamp) String

func (x *UnixTimestamp) String() string

Jump to

Keyboard shortcuts

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