Versions in this module Expand all Collapse all v0 v0.9.6 Sep 26, 2025 v0.9.5 Sep 19, 2025 v0.9.4 Sep 2, 2025 v0.9.3 Aug 21, 2025 v0.9.2 Aug 21, 2025 v0.9.1 Aug 20, 2025 v0.9.0 Aug 8, 2025 v0.8.0 Jul 14, 2025 Changes in this version + const TON_GetAccountBalance_FullMethodName + const TON_GetBlockData_FullMethodName + const TON_GetMasterchainInfo_FullMethodName + const TON_GetTxExecutionFees_FullMethodName + const TON_GetTxStatus_FullMethodName + const TON_HasFilter_FullMethodName + const TON_RegisterFilter_FullMethodName + const TON_SendTx_FullMethodName + const TON_UnregisterFilter_FullMethodName + var File_ton_proto protoreflect.FileDescriptor + var TON_ServiceDesc = grpc.ServiceDesc + var TransactionStatus_name = map[int32]string + var TransactionStatus_value = map[string]int32 + func RegisterTONServer(s grpc.ServiceRegistrar, srv TONServer) + type Balance struct + Balance *pb.BigInt + func NewBalance(balance *types.Balance) *Balance + func (*Balance) Descriptor() ([]byte, []int) + func (*Balance) ProtoMessage() + func (pb *Balance) AsBalance() *types.Balance + func (x *Balance) GetBalance() *pb.BigInt + func (x *Balance) ProtoReflect() protoreflect.Message + func (x *Balance) Reset() + func (x *Balance) String() string + type Block struct + GlobalId int32 + func NewBlock(block *types.Block) *Block + func (*Block) Descriptor() ([]byte, []int) + func (*Block) ProtoMessage() + func (pb *Block) AsBlock() *types.Block + func (x *Block) GetGlobalId() int32 + func (x *Block) ProtoReflect() protoreflect.Message + func (x *Block) Reset() + func (x *Block) String() string + type BlockIDExt struct + SeqNo uint32 + Shard int64 + Workchain int32 + func NewBlockIDExt(block *types.BlockIDExt) *BlockIDExt + func (*BlockIDExt) Descriptor() ([]byte, []int) + func (*BlockIDExt) ProtoMessage() + func (pb *BlockIDExt) AsBlockIDExt() *types.BlockIDExt + func (x *BlockIDExt) GetSeqNo() uint32 + func (x *BlockIDExt) GetShard() int64 + func (x *BlockIDExt) GetWorkchain() int32 + func (x *BlockIDExt) ProtoReflect() protoreflect.Message + func (x *BlockIDExt) Reset() + func (x *BlockIDExt) String() string + type GetAccountBalanceRequest struct + Address string + Block *BlockIDExt + func (*GetAccountBalanceRequest) Descriptor() ([]byte, []int) + func (*GetAccountBalanceRequest) ProtoMessage() + func (x *GetAccountBalanceRequest) GetAddress() string + func (x *GetAccountBalanceRequest) GetBlock() *BlockIDExt + func (x *GetAccountBalanceRequest) ProtoReflect() protoreflect.Message + func (x *GetAccountBalanceRequest) Reset() + func (x *GetAccountBalanceRequest) String() string + type GetBlockDataRequest struct + Block *BlockIDExt + func (*GetBlockDataRequest) Descriptor() ([]byte, []int) + func (*GetBlockDataRequest) ProtoMessage() + func (x *GetBlockDataRequest) GetBlock() *BlockIDExt + func (x *GetBlockDataRequest) ProtoReflect() protoreflect.Message + func (x *GetBlockDataRequest) Reset() + func (x *GetBlockDataRequest) String() string + type GetTxExecutionFeesReply struct + TotalFees *pb.BigInt + func (*GetTxExecutionFeesReply) Descriptor() ([]byte, []int) + func (*GetTxExecutionFeesReply) ProtoMessage() + func (x *GetTxExecutionFeesReply) GetTotalFees() *pb.BigInt + func (x *GetTxExecutionFeesReply) ProtoReflect() protoreflect.Message + func (x *GetTxExecutionFeesReply) Reset() + func (x *GetTxExecutionFeesReply) String() string + type GetTxExecutionFeesRequest struct + LogicalTime uint64 + func (*GetTxExecutionFeesRequest) Descriptor() ([]byte, []int) + func (*GetTxExecutionFeesRequest) ProtoMessage() + func (x *GetTxExecutionFeesRequest) GetLogicalTime() uint64 + func (x *GetTxExecutionFeesRequest) ProtoReflect() protoreflect.Message + func (x *GetTxExecutionFeesRequest) Reset() + func (x *GetTxExecutionFeesRequest) String() string + type GetTxStatusReply struct + ExitCode *int32 + Status TransactionStatus + func (*GetTxStatusReply) Descriptor() ([]byte, []int) + func (*GetTxStatusReply) ProtoMessage() + func (x *GetTxStatusReply) GetExitCode() int32 + func (x *GetTxStatusReply) GetStatus() TransactionStatus + func (x *GetTxStatusReply) ProtoReflect() protoreflect.Message + func (x *GetTxStatusReply) Reset() + func (x *GetTxStatusReply) String() string + type GetTxStatusRequest struct + LogicalTime uint64 + func (*GetTxStatusRequest) Descriptor() ([]byte, []int) + func (*GetTxStatusRequest) ProtoMessage() + func (x *GetTxStatusRequest) GetLogicalTime() uint64 + func (x *GetTxStatusRequest) ProtoReflect() protoreflect.Message + func (x *GetTxStatusRequest) Reset() + func (x *GetTxStatusRequest) String() string + type HasFilterReply struct + Exists bool + func (*HasFilterReply) Descriptor() ([]byte, []int) + func (*HasFilterReply) ProtoMessage() + func (x *HasFilterReply) GetExists() bool + func (x *HasFilterReply) ProtoReflect() protoreflect.Message + func (x *HasFilterReply) Reset() + func (x *HasFilterReply) String() string + type HasFilterRequest struct + Name string + func (*HasFilterRequest) Descriptor() ([]byte, []int) + func (*HasFilterRequest) ProtoMessage() + func (x *HasFilterRequest) GetName() string + func (x *HasFilterRequest) ProtoReflect() protoreflect.Message + func (x *HasFilterRequest) Reset() + func (x *HasFilterRequest) String() string + type LPFilterQuery struct + Address string + EventName string + EventTopic uint64 + Id int64 + Name string + RetentionSecs int64 + StartingSeq uint32 + func NewLPFilter(f types.LPFilterQuery) *LPFilterQuery + func (*LPFilterQuery) Descriptor() ([]byte, []int) + func (*LPFilterQuery) ProtoMessage() + func (pb *LPFilterQuery) AsLPFilter() types.LPFilterQuery + func (x *LPFilterQuery) GetAddress() string + func (x *LPFilterQuery) GetEventName() string + func (x *LPFilterQuery) GetEventTopic() uint64 + func (x *LPFilterQuery) GetId() int64 + func (x *LPFilterQuery) GetName() string + func (x *LPFilterQuery) GetRetentionSecs() int64 + func (x *LPFilterQuery) GetStartingSeq() uint32 + func (x *LPFilterQuery) ProtoReflect() protoreflect.Message + func (x *LPFilterQuery) Reset() + func (x *LPFilterQuery) String() string + type Log struct + Address string + Data []byte + Error *string + EventTopic uint64 + ExpiresAt *timestamppb.Timestamp + FilterId int64 + Id int64 + ReceivedAt *timestamppb.Timestamp + SeqNo uint32 + func (*Log) Descriptor() ([]byte, []int) + func (*Log) ProtoMessage() + func (x *Log) GetAddress() string + func (x *Log) GetData() []byte + func (x *Log) GetError() string + func (x *Log) GetEventTopic() uint64 + func (x *Log) GetExpiresAt() *timestamppb.Timestamp + func (x *Log) GetFilterId() int64 + func (x *Log) GetId() int64 + func (x *Log) GetReceivedAt() *timestamppb.Timestamp + func (x *Log) GetSeqNo() uint32 + func (x *Log) ProtoReflect() protoreflect.Message + func (x *Log) Reset() + func (x *Log) String() string + type Message struct + Amount string + Body []byte + Bounce bool + Mode uint32 + StateInit []byte + ToAddress string + func NewMessage(msg *types.Message) *Message + func (*Message) Descriptor() ([]byte, []int) + func (*Message) ProtoMessage() + func (pb *Message) AsMessage() *types.Message + func (x *Message) GetAmount() string + func (x *Message) GetBody() []byte + func (x *Message) GetBounce() bool + func (x *Message) GetMode() uint32 + func (x *Message) GetStateInit() []byte + func (x *Message) GetToAddress() string + func (x *Message) ProtoReflect() protoreflect.Message + func (x *Message) Reset() + func (x *Message) String() string + type RegisterFilterRequest struct + Filter *LPFilterQuery + func (*RegisterFilterRequest) Descriptor() ([]byte, []int) + func (*RegisterFilterRequest) ProtoMessage() + func (x *RegisterFilterRequest) GetFilter() *LPFilterQuery + func (x *RegisterFilterRequest) ProtoReflect() protoreflect.Message + func (x *RegisterFilterRequest) Reset() + func (x *RegisterFilterRequest) String() string + type SendTxRequest struct + Message *Message + func (*SendTxRequest) Descriptor() ([]byte, []int) + func (*SendTxRequest) ProtoMessage() + func (x *SendTxRequest) GetMessage() *Message + func (x *SendTxRequest) ProtoReflect() protoreflect.Message + func (x *SendTxRequest) Reset() + func (x *SendTxRequest) String() string + type TONClient interface + GetAccountBalance func(ctx context.Context, in *GetAccountBalanceRequest, opts ...grpc.CallOption) (*Balance, error) + GetBlockData func(ctx context.Context, in *GetBlockDataRequest, opts ...grpc.CallOption) (*Block, error) + GetMasterchainInfo func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*BlockIDExt, error) + GetTxExecutionFees func(ctx context.Context, in *GetTxExecutionFeesRequest, opts ...grpc.CallOption) (*GetTxExecutionFeesReply, error) + GetTxStatus func(ctx context.Context, in *GetTxStatusRequest, opts ...grpc.CallOption) (*GetTxStatusReply, error) + HasFilter func(ctx context.Context, in *HasFilterRequest, opts ...grpc.CallOption) (*HasFilterReply, error) + RegisterFilter func(ctx context.Context, in *RegisterFilterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + SendTx func(ctx context.Context, in *SendTxRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + UnregisterFilter func(ctx context.Context, in *UnregisterFilterRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) + func NewTONClient(cc grpc.ClientConnInterface) TONClient + type TONServer interface + GetAccountBalance func(context.Context, *GetAccountBalanceRequest) (*Balance, error) + GetBlockData func(context.Context, *GetBlockDataRequest) (*Block, error) + GetMasterchainInfo func(context.Context, *emptypb.Empty) (*BlockIDExt, error) + GetTxExecutionFees func(context.Context, *GetTxExecutionFeesRequest) (*GetTxExecutionFeesReply, error) + GetTxStatus func(context.Context, *GetTxStatusRequest) (*GetTxStatusReply, error) + HasFilter func(context.Context, *HasFilterRequest) (*HasFilterReply, error) + RegisterFilter func(context.Context, *RegisterFilterRequest) (*emptypb.Empty, error) + SendTx func(context.Context, *SendTxRequest) (*emptypb.Empty, error) + UnregisterFilter func(context.Context, *UnregisterFilterRequest) (*emptypb.Empty, error) + type TransactionStatus int32 + const TransactionStatus_TRANSACTION_STATUS_FAILED + const TransactionStatus_TRANSACTION_STATUS_FINALIZED + const TransactionStatus_TRANSACTION_STATUS_PENDING + const TransactionStatus_TRANSACTION_STATUS_UNKNOWN + func (TransactionStatus) Descriptor() protoreflect.EnumDescriptor + func (TransactionStatus) EnumDescriptor() ([]byte, []int) + func (TransactionStatus) Type() protoreflect.EnumType + func (x TransactionStatus) Enum() *TransactionStatus + func (x TransactionStatus) Number() protoreflect.EnumNumber + func (x TransactionStatus) String() string + type UnimplementedTONServer struct + func (UnimplementedTONServer) GetAccountBalance(context.Context, *GetAccountBalanceRequest) (*Balance, error) + func (UnimplementedTONServer) GetBlockData(context.Context, *GetBlockDataRequest) (*Block, error) + func (UnimplementedTONServer) GetMasterchainInfo(context.Context, *emptypb.Empty) (*BlockIDExt, error) + func (UnimplementedTONServer) GetTxExecutionFees(context.Context, *GetTxExecutionFeesRequest) (*GetTxExecutionFeesReply, error) + func (UnimplementedTONServer) GetTxStatus(context.Context, *GetTxStatusRequest) (*GetTxStatusReply, error) + func (UnimplementedTONServer) HasFilter(context.Context, *HasFilterRequest) (*HasFilterReply, error) + func (UnimplementedTONServer) RegisterFilter(context.Context, *RegisterFilterRequest) (*emptypb.Empty, error) + func (UnimplementedTONServer) SendTx(context.Context, *SendTxRequest) (*emptypb.Empty, error) + func (UnimplementedTONServer) UnregisterFilter(context.Context, *UnregisterFilterRequest) (*emptypb.Empty, error) + type UnregisterFilterRequest struct + Name string + func (*UnregisterFilterRequest) Descriptor() ([]byte, []int) + func (*UnregisterFilterRequest) ProtoMessage() + func (x *UnregisterFilterRequest) GetName() string + func (x *UnregisterFilterRequest) ProtoReflect() protoreflect.Message + func (x *UnregisterFilterRequest) Reset() + func (x *UnregisterFilterRequest) String() string + type UnsafeTONServer interface