transaction

package
v0.0.0-...-5096976 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package transaction is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	TransactionQuery_Transaction_FullMethodName              = "/transaction.TransactionQuery/Transaction"
	TransactionQuery_TransactionsByAddress_FullMethodName    = "/transaction.TransactionQuery/TransactionsByAddress"
	TransactionQuery_TransactionsAtLedgerSeq_FullMethodName  = "/transaction.TransactionQuery/TransactionsAtLedgerSeq"
	TransactionQuery_TransactionsAtLedgerHash_FullMethodName = "/transaction.TransactionQuery/TransactionsAtLedgerHash"
	TransactionQuery_ContractTransactions_FullMethodName     = "/transaction.TransactionQuery/ContractTransactions"
	TransactionQuery_UserContractTransactions_FullMethodName = "/transaction.TransactionQuery/UserContractTransactions"
)

Variables

View Source
var File_transaction_query_proto protoreflect.FileDescriptor
View Source
var File_transaction_transaction_proto protoreflect.FileDescriptor
View Source
var TransactionQuery_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "transaction.TransactionQuery",
	HandlerType: (*TransactionQueryServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Transaction",
			Handler:    _TransactionQuery_Transaction_Handler,
		},
		{
			MethodName: "TransactionsByAddress",
			Handler:    _TransactionQuery_TransactionsByAddress_Handler,
		},
		{
			MethodName: "TransactionsAtLedgerSeq",
			Handler:    _TransactionQuery_TransactionsAtLedgerSeq_Handler,
		},
		{
			MethodName: "TransactionsAtLedgerHash",
			Handler:    _TransactionQuery_TransactionsAtLedgerHash_Handler,
		},
		{
			MethodName: "ContractTransactions",
			Handler:    _TransactionQuery_ContractTransactions_Handler,
		},
		{
			MethodName: "UserContractTransactions",
			Handler:    _TransactionQuery_UserContractTransactions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "transaction/query.proto",
}

TransactionQuery_ServiceDesc is the grpc.ServiceDesc for TransactionQuery service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterTransactionQueryHandler

func RegisterTransactionQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTransactionQueryHandler registers the http handlers for service TransactionQuery to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTransactionQueryHandlerClient

func RegisterTransactionQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TransactionQueryClient) error

RegisterTransactionQueryHandlerClient registers the http handlers for service TransactionQuery to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TransactionQueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TransactionQueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TransactionQueryClient" to call the correct interceptors.

func RegisterTransactionQueryHandlerFromEndpoint

func RegisterTransactionQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTransactionQueryHandlerFromEndpoint is same as RegisterTransactionQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTransactionQueryHandlerServer

func RegisterTransactionQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TransactionQueryServer) error

RegisterTransactionQueryHandlerServer registers the http handlers for service TransactionQuery to "mux". UnaryRPC :call TransactionQueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTransactionQueryHandlerFromEndpoint instead.

func RegisterTransactionQueryServer

func RegisterTransactionQueryServer(s grpc.ServiceRegistrar, srv TransactionQueryServer)

Types

type ContractTransactionsRequest

type ContractTransactionsRequest struct {
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractTransactionsRequest) Descriptor deprecated

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

Deprecated: Use ContractTransactionsRequest.ProtoReflect.Descriptor instead.

func (*ContractTransactionsRequest) GetContract

func (x *ContractTransactionsRequest) GetContract() string

func (*ContractTransactionsRequest) GetPage

func (x *ContractTransactionsRequest) GetPage() int32

func (*ContractTransactionsRequest) GetPageSize

func (x *ContractTransactionsRequest) GetPageSize() int32

func (*ContractTransactionsRequest) ProtoMessage

func (*ContractTransactionsRequest) ProtoMessage()

func (*ContractTransactionsRequest) ProtoReflect

func (*ContractTransactionsRequest) Reset

func (x *ContractTransactionsRequest) Reset()

func (*ContractTransactionsRequest) String

func (x *ContractTransactionsRequest) String() string

type ContractTransactionsResponse

type ContractTransactionsResponse struct {
	Txs []*TransactionInfo `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*ContractTransactionsResponse) Descriptor deprecated

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

Deprecated: Use ContractTransactionsResponse.ProtoReflect.Descriptor instead.

func (*ContractTransactionsResponse) GetTxs

func (*ContractTransactionsResponse) ProtoMessage

func (*ContractTransactionsResponse) ProtoMessage()

func (*ContractTransactionsResponse) ProtoReflect

func (*ContractTransactionsResponse) Reset

func (x *ContractTransactionsResponse) Reset()

func (*ContractTransactionsResponse) String

type Transaction

type Transaction struct {
	Hash             string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Status           string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Ledger           uint32 `protobuf:"varint,3,opt,name=ledger,proto3" json:"ledger,omitempty"`
	ApplicationOrder uint32 `protobuf:"varint,4,opt,name=application_order,json=applicationOrder,proto3" json:"application_order,omitempty"`
	EnvelopeXdr      []byte `protobuf:"bytes,5,opt,name=envelope_xdr,json=envelopeXdr,proto3" json:"envelope_xdr,omitempty"`
	ResultXdr        []byte `protobuf:"bytes,6,opt,name=result_xdr,json=resultXdr,proto3" json:"result_xdr,omitempty"`
	ResultMetaXdr    []byte `protobuf:"bytes,7,opt,name=result_meta_xdr,json=resultMetaXdr,proto3" json:"result_meta_xdr,omitempty"`
	SourceAddress    string `protobuf:"bytes,8,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	// contains filtered or unexported fields
}

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetApplicationOrder

func (x *Transaction) GetApplicationOrder() uint32

func (*Transaction) GetEnvelopeXdr

func (x *Transaction) GetEnvelopeXdr() []byte

func (*Transaction) GetHash

func (x *Transaction) GetHash() string

func (*Transaction) GetLedger

func (x *Transaction) GetLedger() uint32

func (*Transaction) GetResultMetaXdr

func (x *Transaction) GetResultMetaXdr() []byte

func (*Transaction) GetResultXdr

func (x *Transaction) GetResultXdr() []byte

func (*Transaction) GetSourceAddress

func (x *Transaction) GetSourceAddress() string

func (*Transaction) GetStatus

func (x *Transaction) GetStatus() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransactionInfo

type TransactionInfo struct {
	Hash             string           `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	Status           string           `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`
	Ledger           uint32           `protobuf:"varint,3,opt,name=ledger,proto3" json:"ledger,omitempty"`
	ApplicationOrder uint32           `protobuf:"varint,4,opt,name=application_order,json=applicationOrder,proto3" json:"application_order,omitempty"`
	Envelope         *structpb.Struct `protobuf:"bytes,5,opt,name=envelope,proto3" json:"envelope,omitempty"`
	Result           *structpb.Struct `protobuf:"bytes,6,opt,name=result,proto3" json:"result,omitempty"`
	ResultMeta       *structpb.Struct `protobuf:"bytes,7,opt,name=result_meta,json=resultMeta,proto3" json:"result_meta,omitempty"`
	SourceAddress    string           `protobuf:"bytes,8,opt,name=source_address,json=sourceAddress,proto3" json:"source_address,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionInfo) Descriptor deprecated

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

Deprecated: Use TransactionInfo.ProtoReflect.Descriptor instead.

func (*TransactionInfo) GetApplicationOrder

func (x *TransactionInfo) GetApplicationOrder() uint32

func (*TransactionInfo) GetEnvelope

func (x *TransactionInfo) GetEnvelope() *structpb.Struct

func (*TransactionInfo) GetHash

func (x *TransactionInfo) GetHash() string

func (*TransactionInfo) GetLedger

func (x *TransactionInfo) GetLedger() uint32

func (*TransactionInfo) GetResult

func (x *TransactionInfo) GetResult() *structpb.Struct

func (*TransactionInfo) GetResultMeta

func (x *TransactionInfo) GetResultMeta() *structpb.Struct

func (*TransactionInfo) GetSourceAddress

func (x *TransactionInfo) GetSourceAddress() string

func (*TransactionInfo) GetStatus

func (x *TransactionInfo) GetStatus() string

func (*TransactionInfo) ProtoMessage

func (*TransactionInfo) ProtoMessage()

func (*TransactionInfo) ProtoReflect

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

func (*TransactionInfo) Reset

func (x *TransactionInfo) Reset()

func (*TransactionInfo) String

func (x *TransactionInfo) String() string

type TransactionQueryClient

type TransactionQueryClient interface {
	// Transaction queries transaction info given transaction hash.
	Transaction(ctx context.Context, in *TransactionRequest, opts ...grpc.CallOption) (*TransactionResponse, error)
	// TransactionsByAddress queries all transactions that match the given source
	// address.
	TransactionsByAddress(ctx context.Context, in *TransactionsByAddressRequest, opts ...grpc.CallOption) (*TransactionsByAddressResponse, error)
	// TransactionsAtLedgerSeq queries all transactions that match the given
	// ledger sequence.
	TransactionsAtLedgerSeq(ctx context.Context, in *TransactionsAtLedgerSeqRequest, opts ...grpc.CallOption) (*TransactionsAtLedgerSeqResponse, error)
	// TransactionsAtLedgerHash queries all transactions that match the given
	// ledger hash.
	TransactionsAtLedgerHash(ctx context.Context, in *TransactionsAtLedgerHashRequest, opts ...grpc.CallOption) (*TransactionsAtLedgerHashResponse, error)
	// ContractTransactions queries all transactions that match the given
	// contract id.
	ContractTransactions(ctx context.Context, in *ContractTransactionsRequest, opts ...grpc.CallOption) (*ContractTransactionsResponse, error)
	// UserContractTransactions queries all transactions that match the given
	// contract id and user address.
	UserContractTransactions(ctx context.Context, in *UserContractTransactionsRequest, opts ...grpc.CallOption) (*UserContractTransactionsResponse, error)
}

TransactionQueryClient is the client API for TransactionQuery service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TransactionQueryServer

type TransactionQueryServer interface {
	// Transaction queries transaction info given transaction hash.
	Transaction(context.Context, *TransactionRequest) (*TransactionResponse, error)
	// TransactionsByAddress queries all transactions that match the given source
	// address.
	TransactionsByAddress(context.Context, *TransactionsByAddressRequest) (*TransactionsByAddressResponse, error)
	// TransactionsAtLedgerSeq queries all transactions that match the given
	// ledger sequence.
	TransactionsAtLedgerSeq(context.Context, *TransactionsAtLedgerSeqRequest) (*TransactionsAtLedgerSeqResponse, error)
	// TransactionsAtLedgerHash queries all transactions that match the given
	// ledger hash.
	TransactionsAtLedgerHash(context.Context, *TransactionsAtLedgerHashRequest) (*TransactionsAtLedgerHashResponse, error)
	// ContractTransactions queries all transactions that match the given
	// contract id.
	ContractTransactions(context.Context, *ContractTransactionsRequest) (*ContractTransactionsResponse, error)
	// UserContractTransactions queries all transactions that match the given
	// contract id and user address.
	UserContractTransactions(context.Context, *UserContractTransactionsRequest) (*UserContractTransactionsResponse, error)
	// contains filtered or unexported methods
}

TransactionQueryServer is the server API for TransactionQuery service. All implementations must embed UnimplementedTransactionQueryServer for forward compatibility.

type TransactionRequest

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

func (*TransactionRequest) Descriptor deprecated

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

Deprecated: Use TransactionRequest.ProtoReflect.Descriptor instead.

func (*TransactionRequest) GetHash

func (x *TransactionRequest) GetHash() string

func (*TransactionRequest) ProtoMessage

func (*TransactionRequest) ProtoMessage()

func (*TransactionRequest) ProtoReflect

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

func (*TransactionRequest) Reset

func (x *TransactionRequest) Reset()

func (*TransactionRequest) String

func (x *TransactionRequest) String() string

type TransactionResponse

type TransactionResponse struct {
	Transaction *TransactionInfo `protobuf:"bytes,1,opt,name=transaction,proto3" json:"transaction,omitempty"`
	Found       bool             `protobuf:"varint,2,opt,name=found,proto3" json:"found,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionResponse) Descriptor deprecated

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

Deprecated: Use TransactionResponse.ProtoReflect.Descriptor instead.

func (*TransactionResponse) GetFound

func (x *TransactionResponse) GetFound() bool

func (*TransactionResponse) GetTransaction

func (x *TransactionResponse) GetTransaction() *TransactionInfo

func (*TransactionResponse) ProtoMessage

func (*TransactionResponse) ProtoMessage()

func (*TransactionResponse) ProtoReflect

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

func (*TransactionResponse) Reset

func (x *TransactionResponse) Reset()

func (*TransactionResponse) String

func (x *TransactionResponse) String() string

type TransactionsAtLedgerHashRequest

type TransactionsAtLedgerHashRequest struct {
	LedgerHash string `protobuf:"bytes,1,opt,name=ledger_hash,json=ledgerHash,proto3" json:"ledger_hash,omitempty"`
	Page       int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize   int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsAtLedgerHashRequest) Descriptor deprecated

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

Deprecated: Use TransactionsAtLedgerHashRequest.ProtoReflect.Descriptor instead.

func (*TransactionsAtLedgerHashRequest) GetLedgerHash

func (x *TransactionsAtLedgerHashRequest) GetLedgerHash() string

func (*TransactionsAtLedgerHashRequest) GetPage

func (*TransactionsAtLedgerHashRequest) GetPageSize

func (x *TransactionsAtLedgerHashRequest) GetPageSize() int32

func (*TransactionsAtLedgerHashRequest) ProtoMessage

func (*TransactionsAtLedgerHashRequest) ProtoMessage()

func (*TransactionsAtLedgerHashRequest) ProtoReflect

func (*TransactionsAtLedgerHashRequest) Reset

func (*TransactionsAtLedgerHashRequest) String

type TransactionsAtLedgerHashResponse

type TransactionsAtLedgerHashResponse struct {
	Txs []*TransactionInfo `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsAtLedgerHashResponse) Descriptor deprecated

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

Deprecated: Use TransactionsAtLedgerHashResponse.ProtoReflect.Descriptor instead.

func (*TransactionsAtLedgerHashResponse) GetTxs

func (*TransactionsAtLedgerHashResponse) ProtoMessage

func (*TransactionsAtLedgerHashResponse) ProtoMessage()

func (*TransactionsAtLedgerHashResponse) ProtoReflect

func (*TransactionsAtLedgerHashResponse) Reset

func (*TransactionsAtLedgerHashResponse) String

type TransactionsAtLedgerSeqRequest

type TransactionsAtLedgerSeqRequest struct {
	Ledger   uint32 `protobuf:"varint,1,opt,name=ledger,proto3" json:"ledger,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsAtLedgerSeqRequest) Descriptor deprecated

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

Deprecated: Use TransactionsAtLedgerSeqRequest.ProtoReflect.Descriptor instead.

func (*TransactionsAtLedgerSeqRequest) GetLedger

func (x *TransactionsAtLedgerSeqRequest) GetLedger() uint32

func (*TransactionsAtLedgerSeqRequest) GetPage

func (*TransactionsAtLedgerSeqRequest) GetPageSize

func (x *TransactionsAtLedgerSeqRequest) GetPageSize() int32

func (*TransactionsAtLedgerSeqRequest) ProtoMessage

func (*TransactionsAtLedgerSeqRequest) ProtoMessage()

func (*TransactionsAtLedgerSeqRequest) ProtoReflect

func (*TransactionsAtLedgerSeqRequest) Reset

func (x *TransactionsAtLedgerSeqRequest) Reset()

func (*TransactionsAtLedgerSeqRequest) String

type TransactionsAtLedgerSeqResponse

type TransactionsAtLedgerSeqResponse struct {
	Txs []*TransactionInfo `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsAtLedgerSeqResponse) Descriptor deprecated

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

Deprecated: Use TransactionsAtLedgerSeqResponse.ProtoReflect.Descriptor instead.

func (*TransactionsAtLedgerSeqResponse) GetTxs

func (*TransactionsAtLedgerSeqResponse) ProtoMessage

func (*TransactionsAtLedgerSeqResponse) ProtoMessage()

func (*TransactionsAtLedgerSeqResponse) ProtoReflect

func (*TransactionsAtLedgerSeqResponse) Reset

func (*TransactionsAtLedgerSeqResponse) String

type TransactionsByAddressRequest

type TransactionsByAddressRequest struct {
	Address  string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"`
	Page     int32  `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	PageSize int32  `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsByAddressRequest) Descriptor deprecated

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

Deprecated: Use TransactionsByAddressRequest.ProtoReflect.Descriptor instead.

func (*TransactionsByAddressRequest) GetAddress

func (x *TransactionsByAddressRequest) GetAddress() string

func (*TransactionsByAddressRequest) GetPage

func (x *TransactionsByAddressRequest) GetPage() int32

func (*TransactionsByAddressRequest) GetPageSize

func (x *TransactionsByAddressRequest) GetPageSize() int32

func (*TransactionsByAddressRequest) ProtoMessage

func (*TransactionsByAddressRequest) ProtoMessage()

func (*TransactionsByAddressRequest) ProtoReflect

func (*TransactionsByAddressRequest) Reset

func (x *TransactionsByAddressRequest) Reset()

func (*TransactionsByAddressRequest) String

type TransactionsByAddressResponse

type TransactionsByAddressResponse struct {
	Txs []*TransactionInfo `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*TransactionsByAddressResponse) Descriptor deprecated

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

Deprecated: Use TransactionsByAddressResponse.ProtoReflect.Descriptor instead.

func (*TransactionsByAddressResponse) GetTxs

func (*TransactionsByAddressResponse) ProtoMessage

func (*TransactionsByAddressResponse) ProtoMessage()

func (*TransactionsByAddressResponse) ProtoReflect

func (*TransactionsByAddressResponse) Reset

func (x *TransactionsByAddressResponse) Reset()

func (*TransactionsByAddressResponse) String

type UnimplementedTransactionQueryServer

type UnimplementedTransactionQueryServer struct{}

UnimplementedTransactionQueryServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTransactionQueryServer) Transaction

type UnsafeTransactionQueryServer

type UnsafeTransactionQueryServer interface {
	// contains filtered or unexported methods
}

UnsafeTransactionQueryServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TransactionQueryServer will result in compilation errors.

type UserContractTransactionsRequest

type UserContractTransactionsRequest struct {
	Contract string `protobuf:"bytes,1,opt,name=contract,proto3" json:"contract,omitempty"`
	Address  string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	// contains filtered or unexported fields
}

func (*UserContractTransactionsRequest) Descriptor deprecated

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

Deprecated: Use UserContractTransactionsRequest.ProtoReflect.Descriptor instead.

func (*UserContractTransactionsRequest) GetAddress

func (x *UserContractTransactionsRequest) GetAddress() string

func (*UserContractTransactionsRequest) GetContract

func (x *UserContractTransactionsRequest) GetContract() string

func (*UserContractTransactionsRequest) ProtoMessage

func (*UserContractTransactionsRequest) ProtoMessage()

func (*UserContractTransactionsRequest) ProtoReflect

func (*UserContractTransactionsRequest) Reset

func (*UserContractTransactionsRequest) String

type UserContractTransactionsResponse

type UserContractTransactionsResponse struct {
	Txs []*TransactionInfo `protobuf:"bytes,1,rep,name=txs,proto3" json:"txs,omitempty"`
	// contains filtered or unexported fields
}

func (*UserContractTransactionsResponse) Descriptor deprecated

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

Deprecated: Use UserContractTransactionsResponse.ProtoReflect.Descriptor instead.

func (*UserContractTransactionsResponse) GetTxs

func (*UserContractTransactionsResponse) ProtoMessage

func (*UserContractTransactionsResponse) ProtoMessage()

func (*UserContractTransactionsResponse) ProtoReflect

func (*UserContractTransactionsResponse) Reset

func (*UserContractTransactionsResponse) String

Jump to

Keyboard shortcuts

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