Documentation
¶
Overview ¶
Code generated by ogen, DO NOT EDIT.
Index ¶
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AccStatusChange
- type Account
- func (s *Account) Decode(d *jx.Decoder) error
- func (s Account) Encode(e *jx.Encoder)
- func (s Account) GetAddress() string
- func (s Account) GetBalance() int64
- func (s Account) GetGetMethods() []string
- func (s Account) GetIcon() OptString
- func (s Account) GetInterfaces() []string
- func (s Account) GetIsScam() OptBool
- func (s Account) GetLastActivity() int64
- func (s Account) GetMemoRequired() OptBool
- func (s Account) GetName() OptString
- func (s Account) GetStatus() string
- func (s Account) MarshalJSON() ([]byte, error)
- func (s *Account) SetAddress(val string)
- func (s *Account) SetBalance(val int64)
- func (s *Account) SetGetMethods(val []string)
- func (s *Account) SetIcon(val OptString)
- func (s *Account) SetInterfaces(val []string)
- func (s *Account) SetIsScam(val OptBool)
- func (s *Account) SetLastActivity(val int64)
- func (s *Account) SetMemoRequired(val OptBool)
- func (s *Account) SetName(val OptString)
- func (s *Account) SetStatus(val string)
- func (s *Account) UnmarshalJSON(data []byte) error
- func (s Account) Validate() error
- type AccountAddress
- func (s *AccountAddress) Decode(d *jx.Decoder) error
- func (s AccountAddress) Encode(e *jx.Encoder)
- func (s AccountAddress) GetAddress() string
- func (s AccountAddress) GetIcon() OptString
- func (s AccountAddress) GetIsScam() bool
- func (s AccountAddress) GetName() OptString
- func (s AccountAddress) MarshalJSON() ([]byte, error)
- func (s *AccountAddress) SetAddress(val string)
- func (s *AccountAddress) SetIcon(val OptString)
- func (s *AccountAddress) SetIsScam(val bool)
- func (s *AccountAddress) SetName(val OptString)
- func (s *AccountAddress) UnmarshalJSON(data []byte) error
- type AccountEvent
- func (s *AccountEvent) Decode(d *jx.Decoder) error
- func (s AccountEvent) Encode(e *jx.Encoder)
- func (s AccountEvent) GetAccount() AccountAddress
- func (s AccountEvent) GetActions() []Action
- func (s AccountEvent) GetEventID() string
- func (s AccountEvent) GetExtra() int64
- func (s AccountEvent) GetInProgress() bool
- func (s AccountEvent) GetIsScam() bool
- func (s AccountEvent) GetLt() int64
- func (s AccountEvent) GetTimestamp() int64
- func (s AccountEvent) MarshalJSON() ([]byte, error)
- func (s *AccountEvent) SetAccount(val AccountAddress)
- func (s *AccountEvent) SetActions(val []Action)
- func (s *AccountEvent) SetEventID(val string)
- func (s *AccountEvent) SetExtra(val int64)
- func (s *AccountEvent) SetInProgress(val bool)
- func (s *AccountEvent) SetIsScam(val bool)
- func (s *AccountEvent) SetLt(val int64)
- func (s *AccountEvent) SetTimestamp(val int64)
- func (s *AccountEvent) UnmarshalJSON(data []byte) error
- func (s AccountEvent) Validate() error
- type AccountEvents
- func (s *AccountEvents) Decode(d *jx.Decoder) error
- func (s AccountEvents) Encode(e *jx.Encoder)
- func (s AccountEvents) GetEvents() []AccountEvent
- func (s AccountEvents) GetNextFrom() int64
- func (s AccountEvents) MarshalJSON() ([]byte, error)
- func (s *AccountEvents) SetEvents(val []AccountEvent)
- func (s *AccountEvents) SetNextFrom(val int64)
- func (s *AccountEvents) UnmarshalJSON(data []byte) error
- func (s AccountEvents) Validate() error
- type AccountInfoByStateInit
- func (s *AccountInfoByStateInit) Decode(d *jx.Decoder) error
- func (s AccountInfoByStateInit) Encode(e *jx.Encoder)
- func (s AccountInfoByStateInit) GetAddress() string
- func (s AccountInfoByStateInit) GetPublicKey() string
- func (s AccountInfoByStateInit) MarshalJSON() ([]byte, error)
- func (s *AccountInfoByStateInit) SetAddress(val string)
- func (s *AccountInfoByStateInit) SetPublicKey(val string)
- func (s *AccountInfoByStateInit) UnmarshalJSON(data []byte) error
- type AccountStaking
- func (s *AccountStaking) Decode(d *jx.Decoder) error
- func (s AccountStaking) Encode(e *jx.Encoder)
- func (s AccountStaking) GetPools() []AccountStakingInfo
- func (s AccountStaking) MarshalJSON() ([]byte, error)
- func (s *AccountStaking) SetPools(val []AccountStakingInfo)
- func (s *AccountStaking) UnmarshalJSON(data []byte) error
- func (s AccountStaking) Validate() error
- type AccountStakingInfo
- func (s *AccountStakingInfo) Decode(d *jx.Decoder) error
- func (s AccountStakingInfo) Encode(e *jx.Encoder)
- func (s AccountStakingInfo) GetAmount() int64
- func (s AccountStakingInfo) GetPendingDeposit() int64
- func (s AccountStakingInfo) GetPendingWithdraw() int64
- func (s AccountStakingInfo) GetPool() string
- func (s AccountStakingInfo) GetReadyWithdraw() int64
- func (s AccountStakingInfo) MarshalJSON() ([]byte, error)
- func (s *AccountStakingInfo) SetAmount(val int64)
- func (s *AccountStakingInfo) SetPendingDeposit(val int64)
- func (s *AccountStakingInfo) SetPendingWithdraw(val int64)
- func (s *AccountStakingInfo) SetPool(val string)
- func (s *AccountStakingInfo) SetReadyWithdraw(val int64)
- func (s *AccountStakingInfo) UnmarshalJSON(data []byte) error
- type AccountStatus
- type AccountStorageInfo
- func (s *AccountStorageInfo) Decode(d *jx.Decoder) error
- func (s AccountStorageInfo) Encode(e *jx.Encoder)
- func (s AccountStorageInfo) GetDuePayment() int64
- func (s AccountStorageInfo) GetLastPaid() int64
- func (s AccountStorageInfo) GetUsedBits() int64
- func (s AccountStorageInfo) GetUsedCells() int64
- func (s AccountStorageInfo) GetUsedPublicCells() int64
- func (s AccountStorageInfo) MarshalJSON() ([]byte, error)
- func (s *AccountStorageInfo) SetDuePayment(val int64)
- func (s *AccountStorageInfo) SetLastPaid(val int64)
- func (s *AccountStorageInfo) SetUsedBits(val int64)
- func (s *AccountStorageInfo) SetUsedCells(val int64)
- func (s *AccountStorageInfo) SetUsedPublicCells(val int64)
- func (s *AccountStorageInfo) UnmarshalJSON(data []byte) error
- type Accounts
- func (s *Accounts) Decode(d *jx.Decoder) error
- func (s Accounts) Encode(e *jx.Encoder)
- func (s Accounts) GetAccounts() []Account
- func (s Accounts) MarshalJSON() ([]byte, error)
- func (s *Accounts) SetAccounts(val []Account)
- func (s *Accounts) UnmarshalJSON(data []byte) error
- func (s Accounts) Validate() error
- type Action
- func (s *Action) Decode(d *jx.Decoder) error
- func (s Action) Encode(e *jx.Encoder)
- func (s Action) GetAuctionBid() OptAuctionBidAction
- func (s Action) GetContractDeploy() OptContractDeployAction
- func (s Action) GetDepositStake() OptDepositStakeAction
- func (s Action) GetJettonTransfer() OptJettonTransferAction
- func (s Action) GetNftItemTransfer() OptNftItemTransferAction
- func (s Action) GetNftPurchase() OptNftPurchaseAction
- func (s Action) GetRecoverStake() OptRecoverStakeAction
- func (s Action) GetSTONfiSwap() OptSTONfiSwapAction
- func (s Action) GetSimplePreview() ActionSimplePreview
- func (s Action) GetSmartContractExec() OptSmartContractAction
- func (s Action) GetStatus() ActionStatus
- func (s Action) GetSubscribe() OptSubscriptionAction
- func (s Action) GetTonTransfer() OptTonTransferAction
- func (s Action) GetType() ActionType
- func (s Action) GetUnSubscribe() OptUnSubscriptionAction
- func (s Action) MarshalJSON() ([]byte, error)
- func (s *Action) SetAuctionBid(val OptAuctionBidAction)
- func (s *Action) SetContractDeploy(val OptContractDeployAction)
- func (s *Action) SetDepositStake(val OptDepositStakeAction)
- func (s *Action) SetJettonTransfer(val OptJettonTransferAction)
- func (s *Action) SetNftItemTransfer(val OptNftItemTransferAction)
- func (s *Action) SetNftPurchase(val OptNftPurchaseAction)
- func (s *Action) SetRecoverStake(val OptRecoverStakeAction)
- func (s *Action) SetSTONfiSwap(val OptSTONfiSwapAction)
- func (s *Action) SetSimplePreview(val ActionSimplePreview)
- func (s *Action) SetSmartContractExec(val OptSmartContractAction)
- func (s *Action) SetStatus(val ActionStatus)
- func (s *Action) SetSubscribe(val OptSubscriptionAction)
- func (s *Action) SetTonTransfer(val OptTonTransferAction)
- func (s *Action) SetType(val ActionType)
- func (s *Action) SetUnSubscribe(val OptUnSubscriptionAction)
- func (s *Action) UnmarshalJSON(data []byte) error
- func (s Action) Validate() error
- type ActionPhase
- func (s *ActionPhase) Decode(d *jx.Decoder) error
- func (s ActionPhase) Encode(e *jx.Encoder)
- func (s ActionPhase) GetFwdFees() int64
- func (s ActionPhase) GetSkippedActions() int32
- func (s ActionPhase) GetSuccess() bool
- func (s ActionPhase) GetTotalActions() int32
- func (s ActionPhase) GetTotalFees() int64
- func (s ActionPhase) MarshalJSON() ([]byte, error)
- func (s *ActionPhase) SetFwdFees(val int64)
- func (s *ActionPhase) SetSkippedActions(val int32)
- func (s *ActionPhase) SetSuccess(val bool)
- func (s *ActionPhase) SetTotalActions(val int32)
- func (s *ActionPhase) SetTotalFees(val int64)
- func (s *ActionPhase) UnmarshalJSON(data []byte) error
- type ActionSimplePreview
- func (s *ActionSimplePreview) Decode(d *jx.Decoder) error
- func (s ActionSimplePreview) Encode(e *jx.Encoder)
- func (s ActionSimplePreview) GetAccounts() []AccountAddress
- func (s ActionSimplePreview) GetActionImage() OptString
- func (s ActionSimplePreview) GetDescription() string
- func (s ActionSimplePreview) GetName() string
- func (s ActionSimplePreview) GetValue() OptString
- func (s ActionSimplePreview) GetValueImage() OptString
- func (s ActionSimplePreview) MarshalJSON() ([]byte, error)
- func (s *ActionSimplePreview) SetAccounts(val []AccountAddress)
- func (s *ActionSimplePreview) SetActionImage(val OptString)
- func (s *ActionSimplePreview) SetDescription(val string)
- func (s *ActionSimplePreview) SetName(val string)
- func (s *ActionSimplePreview) SetValue(val OptString)
- func (s *ActionSimplePreview) SetValueImage(val OptString)
- func (s *ActionSimplePreview) UnmarshalJSON(data []byte) error
- func (s ActionSimplePreview) Validate() error
- type ActionStatus
- type ActionType
- type ApyHistory
- func (s *ApyHistory) Decode(d *jx.Decoder) error
- func (s ApyHistory) Encode(e *jx.Encoder)
- func (s ApyHistory) GetApy() float64
- func (s ApyHistory) GetTime() int
- func (s ApyHistory) MarshalJSON() ([]byte, error)
- func (s *ApyHistory) SetApy(val float64)
- func (s *ApyHistory) SetTime(val int)
- func (s *ApyHistory) UnmarshalJSON(data []byte) error
- func (s ApyHistory) Validate() error
- type Auction
- func (s *Auction) Decode(d *jx.Decoder) error
- func (s Auction) Encode(e *jx.Encoder)
- func (s Auction) GetBids() int64
- func (s Auction) GetDate() int64
- func (s Auction) GetDomain() string
- func (s Auction) GetOwner() string
- func (s Auction) GetPrice() int64
- func (s Auction) MarshalJSON() ([]byte, error)
- func (s *Auction) SetBids(val int64)
- func (s *Auction) SetDate(val int64)
- func (s *Auction) SetDomain(val string)
- func (s *Auction) SetOwner(val string)
- func (s *Auction) SetPrice(val int64)
- func (s *Auction) UnmarshalJSON(data []byte) error
- type AuctionBidAction
- func (s *AuctionBidAction) Decode(d *jx.Decoder) error
- func (s AuctionBidAction) Encode(e *jx.Encoder)
- func (s AuctionBidAction) GetAmount() Price
- func (s AuctionBidAction) GetAuctionType() AuctionBidActionAuctionType
- func (s AuctionBidAction) GetBeneficiary() AccountAddress
- func (s AuctionBidAction) GetBidder() AccountAddress
- func (s AuctionBidAction) GetNft() OptNftItem
- func (s AuctionBidAction) MarshalJSON() ([]byte, error)
- func (s *AuctionBidAction) SetAmount(val Price)
- func (s *AuctionBidAction) SetAuctionType(val AuctionBidActionAuctionType)
- func (s *AuctionBidAction) SetBeneficiary(val AccountAddress)
- func (s *AuctionBidAction) SetBidder(val AccountAddress)
- func (s *AuctionBidAction) SetNft(val OptNftItem)
- func (s *AuctionBidAction) UnmarshalJSON(data []byte) error
- func (s AuctionBidAction) Validate() error
- type AuctionBidActionAuctionType
- func (s *AuctionBidActionAuctionType) Decode(d *jx.Decoder) error
- func (s AuctionBidActionAuctionType) Encode(e *jx.Encoder)
- func (s AuctionBidActionAuctionType) MarshalJSON() ([]byte, error)
- func (s *AuctionBidActionAuctionType) UnmarshalJSON(data []byte) error
- func (s AuctionBidActionAuctionType) Validate() error
- type Auctions
- func (s *Auctions) Decode(d *jx.Decoder) error
- func (s Auctions) Encode(e *jx.Encoder)
- func (s Auctions) GetData() []Auction
- func (s Auctions) GetTotal() int64
- func (s Auctions) MarshalJSON() ([]byte, error)
- func (s *Auctions) SetData(val []Auction)
- func (s *Auctions) SetTotal(val int64)
- func (s *Auctions) UnmarshalJSON(data []byte) error
- func (s Auctions) Validate() error
- type BadRequest
- type Block
- func (s *Block) Decode(d *jx.Decoder) error
- func (s Block) Encode(e *jx.Encoder)
- func (s Block) GetAfterMerge() bool
- func (s Block) GetAfterSplit() bool
- func (s Block) GetBeforeSplit() bool
- func (s Block) GetCreatedBy() string
- func (s Block) GetEndLt() int64
- func (s Block) GetFileHash() string
- func (s Block) GetGenCatchainSeqno() int32
- func (s Block) GetGenSoftwareCapabilities() OptInt64
- func (s Block) GetGenSoftwareVersion() OptInt32
- func (s Block) GetGenUtime() int64
- func (s Block) GetGlobalID() int32
- func (s Block) GetInMsgDescrLength() int64
- func (s Block) GetKeyBlock() bool
- func (s Block) GetMasterRef() OptString
- func (s Block) GetMinRefMcSeqno() int32
- func (s Block) GetOutMsgDescrLength() int64
- func (s Block) GetPrevKeyBlockSeqno() int32
- func (s Block) GetPrevRefs() []string
- func (s Block) GetRandSeed() string
- func (s Block) GetRootHash() string
- func (s Block) GetSeqno() int32
- func (s Block) GetShard() string
- func (s Block) GetStartLt() int64
- func (s Block) GetVersion() int32
- func (s Block) GetVertSeqno() int32
- func (s Block) GetWantMerge() bool
- func (s Block) GetWantSplit() bool
- func (s Block) GetWorkchainID() int32
- func (s Block) MarshalJSON() ([]byte, error)
- func (s *Block) SetAfterMerge(val bool)
- func (s *Block) SetAfterSplit(val bool)
- func (s *Block) SetBeforeSplit(val bool)
- func (s *Block) SetCreatedBy(val string)
- func (s *Block) SetEndLt(val int64)
- func (s *Block) SetFileHash(val string)
- func (s *Block) SetGenCatchainSeqno(val int32)
- func (s *Block) SetGenSoftwareCapabilities(val OptInt64)
- func (s *Block) SetGenSoftwareVersion(val OptInt32)
- func (s *Block) SetGenUtime(val int64)
- func (s *Block) SetGlobalID(val int32)
- func (s *Block) SetInMsgDescrLength(val int64)
- func (s *Block) SetKeyBlock(val bool)
- func (s *Block) SetMasterRef(val OptString)
- func (s *Block) SetMinRefMcSeqno(val int32)
- func (s *Block) SetOutMsgDescrLength(val int64)
- func (s *Block) SetPrevKeyBlockSeqno(val int32)
- func (s *Block) SetPrevRefs(val []string)
- func (s *Block) SetRandSeed(val string)
- func (s *Block) SetRootHash(val string)
- func (s *Block) SetSeqno(val int32)
- func (s *Block) SetShard(val string)
- func (s *Block) SetStartLt(val int64)
- func (s *Block) SetVersion(val int32)
- func (s *Block) SetVertSeqno(val int32)
- func (s *Block) SetWantMerge(val bool)
- func (s *Block) SetWantSplit(val bool)
- func (s *Block) SetWorkchainID(val int32)
- func (s *Block) UnmarshalJSON(data []byte) error
- func (s Block) Validate() error
- type BlockRaw
- func (s *BlockRaw) Decode(d *jx.Decoder) error
- func (s BlockRaw) Encode(e *jx.Encoder)
- func (s BlockRaw) GetFileHash() string
- func (s BlockRaw) GetRootHash() string
- func (s BlockRaw) GetSeqno() uint32
- func (s BlockRaw) GetShard() uint64
- func (s BlockRaw) GetWorkchain() uint32
- func (s BlockRaw) MarshalJSON() ([]byte, error)
- func (s *BlockRaw) SetFileHash(val string)
- func (s *BlockRaw) SetRootHash(val string)
- func (s *BlockRaw) SetSeqno(val uint32)
- func (s *BlockRaw) SetShard(val uint64)
- func (s *BlockRaw) SetWorkchain(val uint32)
- func (s *BlockRaw) UnmarshalJSON(data []byte) error
- type BouncePhaseType
- type Client
- func (c *Client) DnsBackResolve(ctx context.Context, params DnsBackResolveParams) (res DnsBackResolveRes, err error)
- func (c *Client) DnsInfo(ctx context.Context, params DnsInfoParams) (res DnsInfoRes, err error)
- func (c *Client) DnsResolve(ctx context.Context, params DnsResolveParams) (res DnsResolveRes, err error)
- func (c *Client) EmulateMessageToAccountEvent(ctx context.Context, request EmulateMessageToAccountEventReq, ...) (res EmulateMessageToAccountEventRes, err error)
- func (c *Client) EmulateMessageToEvent(ctx context.Context, request EmulateMessageToEventReq, ...) (res EmulateMessageToEventRes, err error)
- func (c *Client) EmulateMessageToTrace(ctx context.Context, request EmulateMessageToTraceReq) (res EmulateMessageToTraceRes, err error)
- func (c *Client) EmulateWalletMessage(ctx context.Context, request EmulateWalletMessageReq, ...) (res EmulateWalletMessageRes, err error)
- func (c *Client) ExecGetMethod(ctx context.Context, params ExecGetMethodParams) (res ExecGetMethodRes, err error)
- func (c *Client) GetAccount(ctx context.Context, params GetAccountParams) (res GetAccountRes, err error)
- func (c *Client) GetAccountInfoByStateInit(ctx context.Context, request GetAccountInfoByStateInitReq) (res GetAccountInfoByStateInitRes, err error)
- func (c *Client) GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (res GetAccountSeqnoRes, err error)
- func (c *Client) GetAccountStateLiteServer(ctx context.Context, params GetAccountStateLiteServerParams) (res GetAccountStateLiteServerRes, err error)
- func (c *Client) GetAccountTransactions(ctx context.Context, params GetAccountTransactionsParams) (res GetAccountTransactionsRes, err error)
- func (c *Client) GetAccounts(ctx context.Context, request OptGetAccountsReq) (res GetAccountsRes, err error)
- func (c *Client) GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (res GetAllAuctionsRes, err error)
- func (c *Client) GetAllShardsInfoLiteServer(ctx context.Context, params GetAllShardsInfoLiteServerParams) (res GetAllShardsInfoLiteServerRes, err error)
- func (c *Client) GetBlock(ctx context.Context, params GetBlockParams) (res GetBlockRes, err error)
- func (c *Client) GetBlockHeaderLiteServer(ctx context.Context, params GetBlockHeaderLiteServerParams) (res GetBlockHeaderLiteServerRes, err error)
- func (c *Client) GetBlockLiteServer(ctx context.Context, params GetBlockLiteServerParams) (res GetBlockLiteServerRes, err error)
- func (c *Client) GetBlockProofLiteServer(ctx context.Context, params GetBlockProofLiteServerParams) (res GetBlockProofLiteServerRes, err error)
- func (c *Client) GetBlockTransactions(ctx context.Context, params GetBlockTransactionsParams) (res GetBlockTransactionsRes, err error)
- func (c *Client) GetConfig(ctx context.Context) (res GetConfigRes, err error)
- func (c *Client) GetConfigAllLiteServer(ctx context.Context, params GetConfigAllLiteServerParams) (res GetConfigAllLiteServerRes, err error)
- func (c *Client) GetDnsExpiring(ctx context.Context, params GetDnsExpiringParams) (res GetDnsExpiringRes, err error)
- func (c *Client) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (res GetDomainBidsRes, err error)
- func (c *Client) GetEvent(ctx context.Context, params GetEventParams) (res GetEventRes, err error)
- func (c *Client) GetEventsByAccount(ctx context.Context, params GetEventsByAccountParams) (res GetEventsByAccountRes, err error)
- func (c *Client) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (res GetItemsFromCollectionRes, err error)
- func (c *Client) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (res GetJettonInfoRes, err error)
- func (c *Client) GetJettons(ctx context.Context, params GetJettonsParams) (res GetJettonsRes, err error)
- func (c *Client) GetJettonsBalances(ctx context.Context, params GetJettonsBalancesParams) (res GetJettonsBalancesRes, err error)
- func (c *Client) GetJettonsHistory(ctx context.Context, params GetJettonsHistoryParams) (res GetJettonsHistoryRes, err error)
- func (c *Client) GetJettonsHistoryByID(ctx context.Context, params GetJettonsHistoryByIDParams) (res GetJettonsHistoryByIDRes, err error)
- func (c *Client) GetListBlockTransactionsLiteServer(ctx context.Context, params GetListBlockTransactionsLiteServerParams) (res GetListBlockTransactionsLiteServerRes, err error)
- func (c *Client) GetMasterchainHead(ctx context.Context) (res GetMasterchainHeadRes, err error)
- func (c *Client) GetMasterchainInfoExtLiteServer(ctx context.Context, params GetMasterchainInfoExtLiteServerParams) (res GetMasterchainInfoExtLiteServerRes, err error)
- func (c *Client) GetMasterchainInfoLiteServer(ctx context.Context) (res GetMasterchainInfoLiteServerRes, err error)
- func (c *Client) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (res GetNftCollectionRes, err error)
- func (c *Client) GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (res GetNftCollectionsRes, err error)
- func (c *Client) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (res GetNftItemByAddressRes, err error)
- func (c *Client) GetNftItemsByAddresses(ctx context.Context, request OptGetNftItemsByAddressesReq) (res GetNftItemsByAddressesRes, err error)
- func (c *Client) GetNftItemsByOwner(ctx context.Context, params GetNftItemsByOwnerParams) (res GetNftItemsByOwnerRes, err error)
- func (c *Client) GetPublicKeyByAccountID(ctx context.Context, params GetPublicKeyByAccountIDParams) (res GetPublicKeyByAccountIDRes, err error)
- func (c *Client) GetRates(ctx context.Context, params GetRatesParams) (res GetRatesRes, err error)
- func (c *Client) GetRawAccount(ctx context.Context, params GetRawAccountParams) (res GetRawAccountRes, err error)
- func (c *Client) GetSearchAccounts(ctx context.Context, params GetSearchAccountsParams) (res GetSearchAccountsRes, err error)
- func (c *Client) GetShardBlockProofLiteServer(ctx context.Context, params GetShardBlockProofLiteServerParams) (res GetShardBlockProofLiteServerRes, err error)
- func (c *Client) GetShardInfoLiteServer(ctx context.Context, params GetShardInfoLiteServerParams) (res GetShardInfoLiteServerRes, err error)
- func (c *Client) GetStateLiteServer(ctx context.Context, params GetStateLiteServerParams) (res GetStateLiteServerRes, err error)
- func (c *Client) GetStorageProviders(ctx context.Context) (res GetStorageProvidersRes, err error)
- func (c *Client) GetSubscriptionsByAccount(ctx context.Context, params GetSubscriptionsByAccountParams) (res GetSubscriptionsByAccountRes, err error)
- func (c *Client) GetTimeLiteServer(ctx context.Context) (res GetTimeLiteServerRes, err error)
- func (c *Client) GetTonConnectPayload(ctx context.Context) (res GetTonConnectPayloadRes, err error)
- func (c *Client) GetTrace(ctx context.Context, params GetTraceParams) (res GetTraceRes, err error)
- func (c *Client) GetTracesByAccount(ctx context.Context, params GetTracesByAccountParams) (res GetTracesByAccountRes, err error)
- func (c *Client) GetTransaction(ctx context.Context, params GetTransactionParams) (res GetTransactionRes, err error)
- func (c *Client) GetTransactionByMessageHash(ctx context.Context, params GetTransactionByMessageHashParams) (res GetTransactionByMessageHashRes, err error)
- func (c *Client) GetTransactionsLiteServer(ctx context.Context, params GetTransactionsLiteServerParams) (res GetTransactionsLiteServerRes, err error)
- func (c *Client) GetValidators(ctx context.Context) (res GetValidatorsRes, err error)
- func (c *Client) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (res GetWalletBackupRes, err error)
- func (c *Client) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (res GetWalletsByPublicKeyRes, err error)
- func (c *Client) PoolsByNominators(ctx context.Context, params PoolsByNominatorsParams) (res PoolsByNominatorsRes, err error)
- func (c *Client) ReindexAccount(ctx context.Context, params ReindexAccountParams) (res ReindexAccountRes, err error)
- func (c *Client) SendMessage(ctx context.Context, request SendMessageReq) (res SendMessageRes, err error)
- func (c *Client) SendMessageLiteServer(ctx context.Context, request SendMessageLiteServerReq) (res SendMessageLiteServerRes, err error)
- func (c *Client) SetWalletBackup(ctx context.Context, request SetWalletBackupReq, params SetWalletBackupParams) (res SetWalletBackupRes, err error)
- func (c *Client) StakingPoolHistory(ctx context.Context, params StakingPoolHistoryParams) (res StakingPoolHistoryRes, err error)
- func (c *Client) StakingPoolInfo(ctx context.Context, params StakingPoolInfoParams) (res StakingPoolInfoRes, err error)
- func (c *Client) StakingPools(ctx context.Context, params StakingPoolsParams) (res StakingPoolsRes, err error)
- func (c *Client) TonConnectProof(ctx context.Context, request TonConnectProofReq) (res TonConnectProofRes, err error)
- type ClientOption
- type ComputePhase
- func (s *ComputePhase) Decode(d *jx.Decoder) error
- func (s ComputePhase) Encode(e *jx.Encoder)
- func (s ComputePhase) GetExitCode() OptInt32
- func (s ComputePhase) GetGasFees() OptInt64
- func (s ComputePhase) GetGasUsed() OptInt64
- func (s ComputePhase) GetSkipReason() OptComputeSkipReason
- func (s ComputePhase) GetSkipped() bool
- func (s ComputePhase) GetSuccess() OptBool
- func (s ComputePhase) GetVMSteps() OptUint32
- func (s ComputePhase) MarshalJSON() ([]byte, error)
- func (s *ComputePhase) SetExitCode(val OptInt32)
- func (s *ComputePhase) SetGasFees(val OptInt64)
- func (s *ComputePhase) SetGasUsed(val OptInt64)
- func (s *ComputePhase) SetSkipReason(val OptComputeSkipReason)
- func (s *ComputePhase) SetSkipped(val bool)
- func (s *ComputePhase) SetSuccess(val OptBool)
- func (s *ComputePhase) SetVMSteps(val OptUint32)
- func (s *ComputePhase) UnmarshalJSON(data []byte) error
- func (s ComputePhase) Validate() error
- type ComputeSkipReason
- type Config
- func (s *Config) Decode(d *jx.Decoder) error
- func (s Config) Encode(e *jx.Encoder)
- func (s Config) GetR0() string
- func (s Config) GetR1() string
- func (s Config) GetR2() string
- func (s Config) GetR32() OptValidatorsSet
- func (s Config) GetR33() OptValidatorsSet
- func (s Config) GetR34() OptValidatorsSet
- func (s Config) GetR35() OptValidatorsSet
- func (s Config) GetR36() OptValidatorsSet
- func (s Config) GetR37() OptValidatorsSet
- func (s Config) GetR4() string
- func (s Config) GetRaw() string
- func (s Config) MarshalJSON() ([]byte, error)
- func (s *Config) SetR0(val string)
- func (s *Config) SetR1(val string)
- func (s *Config) SetR2(val string)
- func (s *Config) SetR32(val OptValidatorsSet)
- func (s *Config) SetR33(val OptValidatorsSet)
- func (s *Config) SetR34(val OptValidatorsSet)
- func (s *Config) SetR35(val OptValidatorsSet)
- func (s *Config) SetR36(val OptValidatorsSet)
- func (s *Config) SetR37(val OptValidatorsSet)
- func (s *Config) SetR4(val string)
- func (s *Config) SetRaw(val string)
- func (s *Config) UnmarshalJSON(data []byte) error
- func (s Config) Validate() error
- type ContractDeployAction
- func (s *ContractDeployAction) Decode(d *jx.Decoder) error
- func (s ContractDeployAction) Encode(e *jx.Encoder)
- func (s ContractDeployAction) GetAddress() string
- func (s ContractDeployAction) GetInterfaces() []string
- func (s ContractDeployAction) MarshalJSON() ([]byte, error)
- func (s *ContractDeployAction) SetAddress(val string)
- func (s *ContractDeployAction) SetInterfaces(val []string)
- func (s *ContractDeployAction) UnmarshalJSON(data []byte) error
- func (s ContractDeployAction) Validate() error
- type CreditPhase
- func (s *CreditPhase) Decode(d *jx.Decoder) error
- func (s CreditPhase) Encode(e *jx.Encoder)
- func (s CreditPhase) GetCredit() int64
- func (s CreditPhase) GetFeesCollected() int64
- func (s CreditPhase) MarshalJSON() ([]byte, error)
- func (s *CreditPhase) SetCredit(val int64)
- func (s *CreditPhase) SetFeesCollected(val int64)
- func (s *CreditPhase) UnmarshalJSON(data []byte) error
- type DepositStakeAction
- func (s *DepositStakeAction) Decode(d *jx.Decoder) error
- func (s DepositStakeAction) Encode(e *jx.Encoder)
- func (s DepositStakeAction) GetAmount() int64
- func (s DepositStakeAction) GetStaker() AccountAddress
- func (s DepositStakeAction) MarshalJSON() ([]byte, error)
- func (s *DepositStakeAction) SetAmount(val int64)
- func (s *DepositStakeAction) SetStaker(val AccountAddress)
- func (s *DepositStakeAction) UnmarshalJSON(data []byte) error
- type DnsBackResolveParams
- type DnsBackResolveRes
- type DnsExpiring
- func (s *DnsExpiring) Decode(d *jx.Decoder) error
- func (s DnsExpiring) Encode(e *jx.Encoder)
- func (s DnsExpiring) GetItems() []DnsExpiringItemsItem
- func (s DnsExpiring) MarshalJSON() ([]byte, error)
- func (s *DnsExpiring) SetItems(val []DnsExpiringItemsItem)
- func (s *DnsExpiring) UnmarshalJSON(data []byte) error
- func (s DnsExpiring) Validate() error
- type DnsExpiringItemsItem
- func (s *DnsExpiringItemsItem) Decode(d *jx.Decoder) error
- func (s DnsExpiringItemsItem) Encode(e *jx.Encoder)
- func (s DnsExpiringItemsItem) GetDNSItem() OptNftItem
- func (s DnsExpiringItemsItem) GetExpiringAt() int64
- func (s DnsExpiringItemsItem) GetName() string
- func (s DnsExpiringItemsItem) MarshalJSON() ([]byte, error)
- func (s *DnsExpiringItemsItem) SetDNSItem(val OptNftItem)
- func (s *DnsExpiringItemsItem) SetExpiringAt(val int64)
- func (s *DnsExpiringItemsItem) SetName(val string)
- func (s *DnsExpiringItemsItem) UnmarshalJSON(data []byte) error
- func (s DnsExpiringItemsItem) Validate() error
- type DnsInfoParams
- type DnsInfoRes
- type DnsRecord
- func (s *DnsRecord) Decode(d *jx.Decoder) error
- func (s DnsRecord) Encode(e *jx.Encoder)
- func (s DnsRecord) GetNextResolver() OptString
- func (s DnsRecord) GetSites() []string
- func (s DnsRecord) GetStorage() OptString
- func (s DnsRecord) GetWallet() OptWalletDNS
- func (s DnsRecord) MarshalJSON() ([]byte, error)
- func (s *DnsRecord) SetNextResolver(val OptString)
- func (s *DnsRecord) SetSites(val []string)
- func (s *DnsRecord) SetStorage(val OptString)
- func (s *DnsRecord) SetWallet(val OptWalletDNS)
- func (s *DnsRecord) UnmarshalJSON(data []byte) error
- func (s DnsRecord) Validate() error
- type DnsResolveParams
- type DnsResolveRes
- type DomainBid
- func (s *DomainBid) Decode(d *jx.Decoder) error
- func (s DomainBid) Encode(e *jx.Encoder)
- func (s DomainBid) GetBidder() AccountAddress
- func (s DomainBid) GetSuccess() bool
- func (s DomainBid) GetTxHash() string
- func (s DomainBid) GetTxTime() int64
- func (s DomainBid) GetValue() int64
- func (s DomainBid) MarshalJSON() ([]byte, error)
- func (s *DomainBid) SetBidder(val AccountAddress)
- func (s *DomainBid) SetSuccess(val bool)
- func (s *DomainBid) SetTxHash(val string)
- func (s *DomainBid) SetTxTime(val int64)
- func (s *DomainBid) SetValue(val int64)
- func (s *DomainBid) UnmarshalJSON(data []byte) error
- type DomainBids
- func (s *DomainBids) Decode(d *jx.Decoder) error
- func (s DomainBids) Encode(e *jx.Encoder)
- func (s DomainBids) GetData() []DomainBid
- func (s DomainBids) MarshalJSON() ([]byte, error)
- func (s *DomainBids) SetData(val []DomainBid)
- func (s *DomainBids) UnmarshalJSON(data []byte) error
- func (s DomainBids) Validate() error
- type DomainInfo
- func (s *DomainInfo) Decode(d *jx.Decoder) error
- func (s DomainInfo) Encode(e *jx.Encoder)
- func (s DomainInfo) GetExpiringAt() OptInt
- func (s DomainInfo) GetItem() OptNftItem
- func (s DomainInfo) GetName() string
- func (s DomainInfo) MarshalJSON() ([]byte, error)
- func (s *DomainInfo) SetExpiringAt(val OptInt)
- func (s *DomainInfo) SetItem(val OptNftItem)
- func (s *DomainInfo) SetName(val string)
- func (s *DomainInfo) UnmarshalJSON(data []byte) error
- func (s DomainInfo) Validate() error
- type DomainNames
- func (s *DomainNames) Decode(d *jx.Decoder) error
- func (s DomainNames) Encode(e *jx.Encoder)
- func (s DomainNames) GetDomains() []string
- func (s DomainNames) MarshalJSON() ([]byte, error)
- func (s *DomainNames) SetDomains(val []string)
- func (s *DomainNames) UnmarshalJSON(data []byte) error
- func (s DomainNames) Validate() error
- type EmulateMessageToAccountEventParams
- type EmulateMessageToAccountEventReq
- func (s *EmulateMessageToAccountEventReq) Decode(d *jx.Decoder) error
- func (s EmulateMessageToAccountEventReq) Encode(e *jx.Encoder)
- func (s EmulateMessageToAccountEventReq) GetBoc() string
- func (s EmulateMessageToAccountEventReq) MarshalJSON() ([]byte, error)
- func (s *EmulateMessageToAccountEventReq) SetBoc(val string)
- func (s *EmulateMessageToAccountEventReq) UnmarshalJSON(data []byte) error
- type EmulateMessageToAccountEventRes
- type EmulateMessageToEventParams
- type EmulateMessageToEventReq
- func (s *EmulateMessageToEventReq) Decode(d *jx.Decoder) error
- func (s EmulateMessageToEventReq) Encode(e *jx.Encoder)
- func (s EmulateMessageToEventReq) GetBoc() string
- func (s EmulateMessageToEventReq) MarshalJSON() ([]byte, error)
- func (s *EmulateMessageToEventReq) SetBoc(val string)
- func (s *EmulateMessageToEventReq) UnmarshalJSON(data []byte) error
- type EmulateMessageToEventRes
- type EmulateMessageToTraceReq
- func (s *EmulateMessageToTraceReq) Decode(d *jx.Decoder) error
- func (s EmulateMessageToTraceReq) Encode(e *jx.Encoder)
- func (s EmulateMessageToTraceReq) GetBoc() string
- func (s EmulateMessageToTraceReq) MarshalJSON() ([]byte, error)
- func (s *EmulateMessageToTraceReq) SetBoc(val string)
- func (s *EmulateMessageToTraceReq) UnmarshalJSON(data []byte) error
- type EmulateMessageToTraceRes
- type EmulateWalletMessageParams
- type EmulateWalletMessageReq
- func (s *EmulateWalletMessageReq) Decode(d *jx.Decoder) error
- func (s EmulateWalletMessageReq) Encode(e *jx.Encoder)
- func (s EmulateWalletMessageReq) GetBoc() string
- func (s EmulateWalletMessageReq) MarshalJSON() ([]byte, error)
- func (s *EmulateWalletMessageReq) SetBoc(val string)
- func (s *EmulateWalletMessageReq) UnmarshalJSON(data []byte) error
- type EmulateWalletMessageRes
- type EncryptedComment
- func (s *EncryptedComment) Decode(d *jx.Decoder) error
- func (s EncryptedComment) Encode(e *jx.Encoder)
- func (s EncryptedComment) GetCipherText() string
- func (s EncryptedComment) GetEncryptionType() string
- func (s EncryptedComment) MarshalJSON() ([]byte, error)
- func (s *EncryptedComment) SetCipherText(val string)
- func (s *EncryptedComment) SetEncryptionType(val string)
- func (s *EncryptedComment) UnmarshalJSON(data []byte) error
- type ErrorHandler
- type Event
- func (s *Event) Decode(d *jx.Decoder) error
- func (s Event) Encode(e *jx.Encoder)
- func (s Event) GetActions() []Action
- func (s Event) GetEventID() string
- func (s Event) GetInProgress() bool
- func (s Event) GetIsScam() bool
- func (s Event) GetLt() int64
- func (s Event) GetTimestamp() int64
- func (s Event) GetValueFlow() []ValueFlow
- func (s Event) MarshalJSON() ([]byte, error)
- func (s *Event) SetActions(val []Action)
- func (s *Event) SetEventID(val string)
- func (s *Event) SetInProgress(val bool)
- func (s *Event) SetIsScam(val bool)
- func (s *Event) SetLt(val int64)
- func (s *Event) SetTimestamp(val int64)
- func (s *Event) SetValueFlow(val []ValueFlow)
- func (s *Event) UnmarshalJSON(data []byte) error
- func (s Event) Validate() error
- type ExecGetMethodParams
- type ExecGetMethodRes
- type FoundAccounts
- func (s *FoundAccounts) Decode(d *jx.Decoder) error
- func (s FoundAccounts) Encode(e *jx.Encoder)
- func (s FoundAccounts) GetAddresses() []FoundAccountsAddressesItem
- func (s FoundAccounts) MarshalJSON() ([]byte, error)
- func (s *FoundAccounts) SetAddresses(val []FoundAccountsAddressesItem)
- func (s *FoundAccounts) UnmarshalJSON(data []byte) error
- func (s FoundAccounts) Validate() error
- type FoundAccountsAddressesItem
- func (s *FoundAccountsAddressesItem) Decode(d *jx.Decoder) error
- func (s FoundAccountsAddressesItem) Encode(e *jx.Encoder)
- func (s FoundAccountsAddressesItem) GetAddress() string
- func (s FoundAccountsAddressesItem) GetName() string
- func (s FoundAccountsAddressesItem) MarshalJSON() ([]byte, error)
- func (s *FoundAccountsAddressesItem) SetAddress(val string)
- func (s *FoundAccountsAddressesItem) SetName(val string)
- func (s *FoundAccountsAddressesItem) UnmarshalJSON(data []byte) error
- type GetAccountInfoByStateInitReq
- func (s *GetAccountInfoByStateInitReq) Decode(d *jx.Decoder) error
- func (s GetAccountInfoByStateInitReq) Encode(e *jx.Encoder)
- func (s GetAccountInfoByStateInitReq) GetStateInit() string
- func (s GetAccountInfoByStateInitReq) MarshalJSON() ([]byte, error)
- func (s *GetAccountInfoByStateInitReq) SetStateInit(val string)
- func (s *GetAccountInfoByStateInitReq) UnmarshalJSON(data []byte) error
- type GetAccountInfoByStateInitRes
- type GetAccountParams
- type GetAccountRes
- type GetAccountSeqnoParams
- type GetAccountSeqnoRes
- type GetAccountStateLiteServerOK
- func (s *GetAccountStateLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetAccountStateLiteServerOK) Encode(e *jx.Encoder)
- func (s GetAccountStateLiteServerOK) GetID() BlockRaw
- func (s GetAccountStateLiteServerOK) GetProof() string
- func (s GetAccountStateLiteServerOK) GetShardProof() string
- func (s GetAccountStateLiteServerOK) GetShardblk() BlockRaw
- func (s GetAccountStateLiteServerOK) GetState() string
- func (s GetAccountStateLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetAccountStateLiteServerOK) SetID(val BlockRaw)
- func (s *GetAccountStateLiteServerOK) SetProof(val string)
- func (s *GetAccountStateLiteServerOK) SetShardProof(val string)
- func (s *GetAccountStateLiteServerOK) SetShardblk(val BlockRaw)
- func (s *GetAccountStateLiteServerOK) SetState(val string)
- func (s *GetAccountStateLiteServerOK) UnmarshalJSON(data []byte) error
- type GetAccountStateLiteServerParams
- type GetAccountStateLiteServerRes
- type GetAccountTransactionsParams
- type GetAccountTransactionsRes
- type GetAccountsReq
- func (s *GetAccountsReq) Decode(d *jx.Decoder) error
- func (s GetAccountsReq) Encode(e *jx.Encoder)
- func (s GetAccountsReq) GetAccountIds() []string
- func (s GetAccountsReq) MarshalJSON() ([]byte, error)
- func (s *GetAccountsReq) SetAccountIds(val []string)
- func (s *GetAccountsReq) UnmarshalJSON(data []byte) error
- func (s GetAccountsReq) Validate() error
- type GetAccountsRes
- type GetAllAuctionsParams
- type GetAllAuctionsRes
- type GetAllShardsInfoLiteServerOK
- func (s *GetAllShardsInfoLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetAllShardsInfoLiteServerOK) Encode(e *jx.Encoder)
- func (s GetAllShardsInfoLiteServerOK) GetData() string
- func (s GetAllShardsInfoLiteServerOK) GetID() BlockRaw
- func (s GetAllShardsInfoLiteServerOK) GetProof() string
- func (s GetAllShardsInfoLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetAllShardsInfoLiteServerOK) SetData(val string)
- func (s *GetAllShardsInfoLiteServerOK) SetID(val BlockRaw)
- func (s *GetAllShardsInfoLiteServerOK) SetProof(val string)
- func (s *GetAllShardsInfoLiteServerOK) UnmarshalJSON(data []byte) error
- type GetAllShardsInfoLiteServerParams
- type GetAllShardsInfoLiteServerRes
- type GetBlockHeaderLiteServerOK
- func (s *GetBlockHeaderLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetBlockHeaderLiteServerOK) Encode(e *jx.Encoder)
- func (s GetBlockHeaderLiteServerOK) GetHeaderProof() string
- func (s GetBlockHeaderLiteServerOK) GetID() BlockRaw
- func (s GetBlockHeaderLiteServerOK) GetMode() uint32
- func (s GetBlockHeaderLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetBlockHeaderLiteServerOK) SetHeaderProof(val string)
- func (s *GetBlockHeaderLiteServerOK) SetID(val BlockRaw)
- func (s *GetBlockHeaderLiteServerOK) SetMode(val uint32)
- func (s *GetBlockHeaderLiteServerOK) UnmarshalJSON(data []byte) error
- type GetBlockHeaderLiteServerParams
- type GetBlockHeaderLiteServerRes
- type GetBlockLiteServerOK
- func (s *GetBlockLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetBlockLiteServerOK) Encode(e *jx.Encoder)
- func (s GetBlockLiteServerOK) GetData() string
- func (s GetBlockLiteServerOK) GetID() BlockRaw
- func (s GetBlockLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetBlockLiteServerOK) SetData(val string)
- func (s *GetBlockLiteServerOK) SetID(val BlockRaw)
- func (s *GetBlockLiteServerOK) UnmarshalJSON(data []byte) error
- type GetBlockLiteServerParams
- type GetBlockLiteServerRes
- type GetBlockParams
- type GetBlockProofLiteServerOK
- func (s *GetBlockProofLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOK) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOK) GetComplete() bool
- func (s GetBlockProofLiteServerOK) GetFrom() BlockRaw
- func (s GetBlockProofLiteServerOK) GetSteps() []GetBlockProofLiteServerOKStepsItem
- func (s GetBlockProofLiteServerOK) GetTo() BlockRaw
- func (s GetBlockProofLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOK) SetComplete(val bool)
- func (s *GetBlockProofLiteServerOK) SetFrom(val BlockRaw)
- func (s *GetBlockProofLiteServerOK) SetSteps(val []GetBlockProofLiteServerOKStepsItem)
- func (s *GetBlockProofLiteServerOK) SetTo(val BlockRaw)
- func (s *GetBlockProofLiteServerOK) UnmarshalJSON(data []byte) error
- func (s GetBlockProofLiteServerOK) Validate() error
- type GetBlockProofLiteServerOKStepsItem
- func (s *GetBlockProofLiteServerOKStepsItem) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOKStepsItem) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkBack() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack
- func (s GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkForward() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward
- func (s GetBlockProofLiteServerOKStepsItem) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkBack(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack)
- func (s *GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkForward(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward)
- func (s *GetBlockProofLiteServerOKStepsItem) UnmarshalJSON(data []byte) error
- func (s GetBlockProofLiteServerOKStepsItem) Validate() error
- type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetDestProof() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetFrom() BlockRaw
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetProof() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetStateProof() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetTo() BlockRaw
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock() bool
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetDestProof(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetFrom(val BlockRaw)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetProof(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetStateProof(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetTo(val BlockRaw)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock(val bool)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON(data []byte) error
- type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetConfigProof() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetDestProof() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetFrom() BlockRaw
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetSignatures() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetTo() BlockRaw
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock() bool
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetConfigProof(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetDestProof(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetFrom(val BlockRaw)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetSignatures(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetTo(val BlockRaw)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock(val bool)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON(data []byte) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Validate() error
- type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno() uint32
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures() ...
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash() uint32
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno(val uint32)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures(...)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash(val uint32)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON(data []byte) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Validate() error
- type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode(d *jx.Decoder) error
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode(e *jx.Encoder)
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature() string
- func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON() ([]byte, error)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature(val string)
- func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON(data []byte) error
- type GetBlockProofLiteServerParams
- type GetBlockProofLiteServerRes
- type GetBlockRes
- type GetBlockTransactionsParams
- type GetBlockTransactionsRes
- type GetConfigAllLiteServerOK
- func (s *GetConfigAllLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetConfigAllLiteServerOK) Encode(e *jx.Encoder)
- func (s GetConfigAllLiteServerOK) GetConfigProof() string
- func (s GetConfigAllLiteServerOK) GetID() BlockRaw
- func (s GetConfigAllLiteServerOK) GetMode() uint32
- func (s GetConfigAllLiteServerOK) GetStateProof() string
- func (s GetConfigAllLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetConfigAllLiteServerOK) SetConfigProof(val string)
- func (s *GetConfigAllLiteServerOK) SetID(val BlockRaw)
- func (s *GetConfigAllLiteServerOK) SetMode(val uint32)
- func (s *GetConfigAllLiteServerOK) SetStateProof(val string)
- func (s *GetConfigAllLiteServerOK) UnmarshalJSON(data []byte) error
- type GetConfigAllLiteServerParams
- type GetConfigAllLiteServerRes
- type GetConfigRes
- type GetDnsExpiringParams
- type GetDnsExpiringRes
- type GetDomainBidsParams
- type GetDomainBidsRes
- type GetEventParams
- type GetEventRes
- type GetEventsByAccountParams
- type GetEventsByAccountRes
- type GetItemsFromCollectionParams
- type GetItemsFromCollectionRes
- type GetJettonInfoParams
- type GetJettonInfoRes
- type GetJettonsBalancesParams
- type GetJettonsBalancesRes
- type GetJettonsHistoryByIDParams
- type GetJettonsHistoryByIDRes
- type GetJettonsHistoryParams
- type GetJettonsHistoryRes
- type GetJettonsParams
- type GetJettonsRes
- type GetListBlockTransactionsLiteServerOK
- func (s *GetListBlockTransactionsLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetListBlockTransactionsLiteServerOK) Encode(e *jx.Encoder)
- func (s GetListBlockTransactionsLiteServerOK) GetID() BlockRaw
- func (s GetListBlockTransactionsLiteServerOK) GetIds() []GetListBlockTransactionsLiteServerOKIdsItem
- func (s GetListBlockTransactionsLiteServerOK) GetIncomplete() bool
- func (s GetListBlockTransactionsLiteServerOK) GetProof() string
- func (s GetListBlockTransactionsLiteServerOK) GetReqCount() uint32
- func (s GetListBlockTransactionsLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetListBlockTransactionsLiteServerOK) SetID(val BlockRaw)
- func (s *GetListBlockTransactionsLiteServerOK) SetIds(val []GetListBlockTransactionsLiteServerOKIdsItem)
- func (s *GetListBlockTransactionsLiteServerOK) SetIncomplete(val bool)
- func (s *GetListBlockTransactionsLiteServerOK) SetProof(val string)
- func (s *GetListBlockTransactionsLiteServerOK) SetReqCount(val uint32)
- func (s *GetListBlockTransactionsLiteServerOK) UnmarshalJSON(data []byte) error
- func (s GetListBlockTransactionsLiteServerOK) Validate() error
- type GetListBlockTransactionsLiteServerOKIdsItem
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) Decode(d *jx.Decoder) error
- func (s GetListBlockTransactionsLiteServerOKIdsItem) Encode(e *jx.Encoder)
- func (s GetListBlockTransactionsLiteServerOKIdsItem) GetAccount() OptString
- func (s GetListBlockTransactionsLiteServerOKIdsItem) GetHash() OptString
- func (s GetListBlockTransactionsLiteServerOKIdsItem) GetLt() OptUint64
- func (s GetListBlockTransactionsLiteServerOKIdsItem) GetMode() uint32
- func (s GetListBlockTransactionsLiteServerOKIdsItem) MarshalJSON() ([]byte, error)
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetAccount(val OptString)
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetHash(val OptString)
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetLt(val OptUint64)
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetMode(val uint32)
- func (s *GetListBlockTransactionsLiteServerOKIdsItem) UnmarshalJSON(data []byte) error
- type GetListBlockTransactionsLiteServerParams
- type GetListBlockTransactionsLiteServerRes
- type GetMasterchainHeadRes
- type GetMasterchainInfoExtLiteServerOK
- func (s *GetMasterchainInfoExtLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetMasterchainInfoExtLiteServerOK) Encode(e *jx.Encoder)
- func (s GetMasterchainInfoExtLiteServerOK) GetCapabilities() uint64
- func (s GetMasterchainInfoExtLiteServerOK) GetInit() InitStateRaw
- func (s GetMasterchainInfoExtLiteServerOK) GetLast() BlockRaw
- func (s GetMasterchainInfoExtLiteServerOK) GetLastUtime() uint32
- func (s GetMasterchainInfoExtLiteServerOK) GetMode() uint32
- func (s GetMasterchainInfoExtLiteServerOK) GetNow() uint32
- func (s GetMasterchainInfoExtLiteServerOK) GetStateRootHash() string
- func (s GetMasterchainInfoExtLiteServerOK) GetVersion() uint32
- func (s GetMasterchainInfoExtLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetMasterchainInfoExtLiteServerOK) SetCapabilities(val uint64)
- func (s *GetMasterchainInfoExtLiteServerOK) SetInit(val InitStateRaw)
- func (s *GetMasterchainInfoExtLiteServerOK) SetLast(val BlockRaw)
- func (s *GetMasterchainInfoExtLiteServerOK) SetLastUtime(val uint32)
- func (s *GetMasterchainInfoExtLiteServerOK) SetMode(val uint32)
- func (s *GetMasterchainInfoExtLiteServerOK) SetNow(val uint32)
- func (s *GetMasterchainInfoExtLiteServerOK) SetStateRootHash(val string)
- func (s *GetMasterchainInfoExtLiteServerOK) SetVersion(val uint32)
- func (s *GetMasterchainInfoExtLiteServerOK) UnmarshalJSON(data []byte) error
- type GetMasterchainInfoExtLiteServerParams
- type GetMasterchainInfoExtLiteServerRes
- type GetMasterchainInfoLiteServerOK
- func (s *GetMasterchainInfoLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetMasterchainInfoLiteServerOK) Encode(e *jx.Encoder)
- func (s GetMasterchainInfoLiteServerOK) GetInit() InitStateRaw
- func (s GetMasterchainInfoLiteServerOK) GetLast() BlockRaw
- func (s GetMasterchainInfoLiteServerOK) GetStateRootHash() string
- func (s GetMasterchainInfoLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetMasterchainInfoLiteServerOK) SetInit(val InitStateRaw)
- func (s *GetMasterchainInfoLiteServerOK) SetLast(val BlockRaw)
- func (s *GetMasterchainInfoLiteServerOK) SetStateRootHash(val string)
- func (s *GetMasterchainInfoLiteServerOK) UnmarshalJSON(data []byte) error
- type GetMasterchainInfoLiteServerRes
- type GetNftCollectionParams
- type GetNftCollectionRes
- type GetNftCollectionsParams
- type GetNftCollectionsRes
- type GetNftItemByAddressParams
- type GetNftItemByAddressRes
- type GetNftItemsByAddressesReq
- func (s *GetNftItemsByAddressesReq) Decode(d *jx.Decoder) error
- func (s GetNftItemsByAddressesReq) Encode(e *jx.Encoder)
- func (s GetNftItemsByAddressesReq) GetAccountIds() []string
- func (s GetNftItemsByAddressesReq) MarshalJSON() ([]byte, error)
- func (s *GetNftItemsByAddressesReq) SetAccountIds(val []string)
- func (s *GetNftItemsByAddressesReq) UnmarshalJSON(data []byte) error
- func (s GetNftItemsByAddressesReq) Validate() error
- type GetNftItemsByAddressesRes
- type GetNftItemsByOwnerParams
- type GetNftItemsByOwnerRes
- type GetPublicKeyByAccountIDOK
- func (s *GetPublicKeyByAccountIDOK) Decode(d *jx.Decoder) error
- func (s GetPublicKeyByAccountIDOK) Encode(e *jx.Encoder)
- func (s GetPublicKeyByAccountIDOK) GetPublicKey() string
- func (s GetPublicKeyByAccountIDOK) MarshalJSON() ([]byte, error)
- func (s *GetPublicKeyByAccountIDOK) SetPublicKey(val string)
- func (s *GetPublicKeyByAccountIDOK) UnmarshalJSON(data []byte) error
- type GetPublicKeyByAccountIDParams
- type GetPublicKeyByAccountIDRes
- type GetRatesOK
- type GetRatesParams
- type GetRatesRes
- type GetRawAccountParams
- type GetRawAccountRes
- type GetSearchAccountsParams
- type GetSearchAccountsRes
- type GetShardBlockProofLiteServerOK
- func (s *GetShardBlockProofLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetShardBlockProofLiteServerOK) Encode(e *jx.Encoder)
- func (s GetShardBlockProofLiteServerOK) GetLinks() []GetShardBlockProofLiteServerOKLinksItem
- func (s GetShardBlockProofLiteServerOK) GetMasterchainID() BlockRaw
- func (s GetShardBlockProofLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetShardBlockProofLiteServerOK) SetLinks(val []GetShardBlockProofLiteServerOKLinksItem)
- func (s *GetShardBlockProofLiteServerOK) SetMasterchainID(val BlockRaw)
- func (s *GetShardBlockProofLiteServerOK) UnmarshalJSON(data []byte) error
- func (s GetShardBlockProofLiteServerOK) Validate() error
- type GetShardBlockProofLiteServerOKLinksItem
- func (s *GetShardBlockProofLiteServerOKLinksItem) Decode(d *jx.Decoder) error
- func (s GetShardBlockProofLiteServerOKLinksItem) Encode(e *jx.Encoder)
- func (s GetShardBlockProofLiteServerOKLinksItem) GetID() BlockRaw
- func (s GetShardBlockProofLiteServerOKLinksItem) GetProof() string
- func (s GetShardBlockProofLiteServerOKLinksItem) MarshalJSON() ([]byte, error)
- func (s *GetShardBlockProofLiteServerOKLinksItem) SetID(val BlockRaw)
- func (s *GetShardBlockProofLiteServerOKLinksItem) SetProof(val string)
- func (s *GetShardBlockProofLiteServerOKLinksItem) UnmarshalJSON(data []byte) error
- type GetShardBlockProofLiteServerParams
- type GetShardBlockProofLiteServerRes
- type GetShardInfoLiteServerOK
- func (s *GetShardInfoLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetShardInfoLiteServerOK) Encode(e *jx.Encoder)
- func (s GetShardInfoLiteServerOK) GetID() BlockRaw
- func (s GetShardInfoLiteServerOK) GetShardDescr() string
- func (s GetShardInfoLiteServerOK) GetShardProof() string
- func (s GetShardInfoLiteServerOK) GetShardblk() BlockRaw
- func (s GetShardInfoLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetShardInfoLiteServerOK) SetID(val BlockRaw)
- func (s *GetShardInfoLiteServerOK) SetShardDescr(val string)
- func (s *GetShardInfoLiteServerOK) SetShardProof(val string)
- func (s *GetShardInfoLiteServerOK) SetShardblk(val BlockRaw)
- func (s *GetShardInfoLiteServerOK) UnmarshalJSON(data []byte) error
- type GetShardInfoLiteServerParams
- type GetShardInfoLiteServerRes
- type GetStateLiteServerOK
- func (s *GetStateLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetStateLiteServerOK) Encode(e *jx.Encoder)
- func (s GetStateLiteServerOK) GetData() string
- func (s GetStateLiteServerOK) GetFileHash() string
- func (s GetStateLiteServerOK) GetID() BlockRaw
- func (s GetStateLiteServerOK) GetRootHash() string
- func (s GetStateLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetStateLiteServerOK) SetData(val string)
- func (s *GetStateLiteServerOK) SetFileHash(val string)
- func (s *GetStateLiteServerOK) SetID(val BlockRaw)
- func (s *GetStateLiteServerOK) SetRootHash(val string)
- func (s *GetStateLiteServerOK) UnmarshalJSON(data []byte) error
- type GetStateLiteServerParams
- type GetStateLiteServerRes
- type GetStorageProvidersOK
- func (s *GetStorageProvidersOK) Decode(d *jx.Decoder) error
- func (s GetStorageProvidersOK) Encode(e *jx.Encoder)
- func (s GetStorageProvidersOK) GetProviders() []StorageProvider
- func (s GetStorageProvidersOK) MarshalJSON() ([]byte, error)
- func (s *GetStorageProvidersOK) SetProviders(val []StorageProvider)
- func (s *GetStorageProvidersOK) UnmarshalJSON(data []byte) error
- func (s GetStorageProvidersOK) Validate() error
- type GetStorageProvidersRes
- type GetSubscriptionsByAccountParams
- type GetSubscriptionsByAccountRes
- type GetTimeLiteServerOK
- func (s *GetTimeLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetTimeLiteServerOK) Encode(e *jx.Encoder)
- func (s GetTimeLiteServerOK) GetTime() uint32
- func (s GetTimeLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetTimeLiteServerOK) SetTime(val uint32)
- func (s *GetTimeLiteServerOK) UnmarshalJSON(data []byte) error
- type GetTimeLiteServerRes
- type GetTonConnectPayloadOK
- func (s *GetTonConnectPayloadOK) Decode(d *jx.Decoder) error
- func (s GetTonConnectPayloadOK) Encode(e *jx.Encoder)
- func (s GetTonConnectPayloadOK) GetPayload() string
- func (s GetTonConnectPayloadOK) MarshalJSON() ([]byte, error)
- func (s *GetTonConnectPayloadOK) SetPayload(val string)
- func (s *GetTonConnectPayloadOK) UnmarshalJSON(data []byte) error
- type GetTonConnectPayloadRes
- type GetTraceParams
- type GetTraceRes
- type GetTracesByAccountParams
- type GetTracesByAccountRes
- type GetTransactionByMessageHashParams
- type GetTransactionByMessageHashRes
- type GetTransactionParams
- type GetTransactionRes
- type GetTransactionsLiteServerOK
- func (s *GetTransactionsLiteServerOK) Decode(d *jx.Decoder) error
- func (s GetTransactionsLiteServerOK) Encode(e *jx.Encoder)
- func (s GetTransactionsLiteServerOK) GetIds() []BlockRaw
- func (s GetTransactionsLiteServerOK) GetTransactions() string
- func (s GetTransactionsLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *GetTransactionsLiteServerOK) SetIds(val []BlockRaw)
- func (s *GetTransactionsLiteServerOK) SetTransactions(val string)
- func (s *GetTransactionsLiteServerOK) UnmarshalJSON(data []byte) error
- func (s GetTransactionsLiteServerOK) Validate() error
- type GetTransactionsLiteServerParams
- type GetTransactionsLiteServerRes
- type GetValidatorsRes
- type GetWalletBackupOK
- func (s *GetWalletBackupOK) Decode(d *jx.Decoder) error
- func (s GetWalletBackupOK) Encode(e *jx.Encoder)
- func (s GetWalletBackupOK) GetDump() string
- func (s GetWalletBackupOK) MarshalJSON() ([]byte, error)
- func (s *GetWalletBackupOK) SetDump(val string)
- func (s *GetWalletBackupOK) UnmarshalJSON(data []byte) error
- type GetWalletBackupParams
- type GetWalletBackupRes
- type GetWalletsByPublicKeyParams
- type GetWalletsByPublicKeyRes
- type Handler
- type ImagePreview
- func (s *ImagePreview) Decode(d *jx.Decoder) error
- func (s ImagePreview) Encode(e *jx.Encoder)
- func (s ImagePreview) GetResolution() string
- func (s ImagePreview) GetURL() string
- func (s ImagePreview) MarshalJSON() ([]byte, error)
- func (s *ImagePreview) SetResolution(val string)
- func (s *ImagePreview) SetURL(val string)
- func (s *ImagePreview) UnmarshalJSON(data []byte) error
- type InitStateRaw
- func (s *InitStateRaw) Decode(d *jx.Decoder) error
- func (s InitStateRaw) Encode(e *jx.Encoder)
- func (s InitStateRaw) GetFileHash() string
- func (s InitStateRaw) GetRootHash() string
- func (s InitStateRaw) GetWorkchain() uint32
- func (s InitStateRaw) MarshalJSON() ([]byte, error)
- func (s *InitStateRaw) SetFileHash(val string)
- func (s *InitStateRaw) SetRootHash(val string)
- func (s *InitStateRaw) SetWorkchain(val uint32)
- func (s *InitStateRaw) UnmarshalJSON(data []byte) error
- type InternalError
- type JettonBalance
- func (s *JettonBalance) Decode(d *jx.Decoder) error
- func (s JettonBalance) Encode(e *jx.Encoder)
- func (s JettonBalance) GetBalance() string
- func (s JettonBalance) GetJetton() JettonPreview
- func (s JettonBalance) GetWalletAddress() AccountAddress
- func (s JettonBalance) MarshalJSON() ([]byte, error)
- func (s *JettonBalance) SetBalance(val string)
- func (s *JettonBalance) SetJetton(val JettonPreview)
- func (s *JettonBalance) SetWalletAddress(val AccountAddress)
- func (s *JettonBalance) UnmarshalJSON(data []byte) error
- func (s JettonBalance) Validate() error
- type JettonInfo
- func (s *JettonInfo) Decode(d *jx.Decoder) error
- func (s JettonInfo) Encode(e *jx.Encoder)
- func (s JettonInfo) GetMetadata() JettonMetadata
- func (s JettonInfo) GetMintable() bool
- func (s JettonInfo) GetTotalSupply() string
- func (s JettonInfo) GetVerification() JettonVerificationType
- func (s JettonInfo) MarshalJSON() ([]byte, error)
- func (s *JettonInfo) SetMetadata(val JettonMetadata)
- func (s *JettonInfo) SetMintable(val bool)
- func (s *JettonInfo) SetTotalSupply(val string)
- func (s *JettonInfo) SetVerification(val JettonVerificationType)
- func (s *JettonInfo) UnmarshalJSON(data []byte) error
- func (s JettonInfo) Validate() error
- type JettonMetadata
- func (s *JettonMetadata) Decode(d *jx.Decoder) error
- func (s JettonMetadata) Encode(e *jx.Encoder)
- func (s JettonMetadata) GetAddress() string
- func (s JettonMetadata) GetCatalogs() []string
- func (s JettonMetadata) GetDecimals() string
- func (s JettonMetadata) GetDescription() OptString
- func (s JettonMetadata) GetImage() OptString
- func (s JettonMetadata) GetName() string
- func (s JettonMetadata) GetSocial() []string
- func (s JettonMetadata) GetSymbol() string
- func (s JettonMetadata) GetWebsites() []string
- func (s JettonMetadata) MarshalJSON() ([]byte, error)
- func (s *JettonMetadata) SetAddress(val string)
- func (s *JettonMetadata) SetCatalogs(val []string)
- func (s *JettonMetadata) SetDecimals(val string)
- func (s *JettonMetadata) SetDescription(val OptString)
- func (s *JettonMetadata) SetImage(val OptString)
- func (s *JettonMetadata) SetName(val string)
- func (s *JettonMetadata) SetSocial(val []string)
- func (s *JettonMetadata) SetSymbol(val string)
- func (s *JettonMetadata) SetWebsites(val []string)
- func (s *JettonMetadata) UnmarshalJSON(data []byte) error
- type JettonPreview
- func (s *JettonPreview) Decode(d *jx.Decoder) error
- func (s JettonPreview) Encode(e *jx.Encoder)
- func (s JettonPreview) GetAddress() string
- func (s JettonPreview) GetDecimals() int
- func (s JettonPreview) GetImage() string
- func (s JettonPreview) GetName() string
- func (s JettonPreview) GetSymbol() string
- func (s JettonPreview) GetVerification() JettonVerificationType
- func (s JettonPreview) MarshalJSON() ([]byte, error)
- func (s *JettonPreview) SetAddress(val string)
- func (s *JettonPreview) SetDecimals(val int)
- func (s *JettonPreview) SetImage(val string)
- func (s *JettonPreview) SetName(val string)
- func (s *JettonPreview) SetSymbol(val string)
- func (s *JettonPreview) SetVerification(val JettonVerificationType)
- func (s *JettonPreview) UnmarshalJSON(data []byte) error
- func (s JettonPreview) Validate() error
- type JettonQuantity
- func (s *JettonQuantity) Decode(d *jx.Decoder) error
- func (s JettonQuantity) Encode(e *jx.Encoder)
- func (s JettonQuantity) GetJetton() JettonPreview
- func (s JettonQuantity) GetQuantity() string
- func (s JettonQuantity) GetWalletAddress() AccountAddress
- func (s JettonQuantity) MarshalJSON() ([]byte, error)
- func (s *JettonQuantity) SetJetton(val JettonPreview)
- func (s *JettonQuantity) SetQuantity(val string)
- func (s *JettonQuantity) SetWalletAddress(val AccountAddress)
- func (s *JettonQuantity) UnmarshalJSON(data []byte) error
- func (s JettonQuantity) Validate() error
- type JettonTransferAction
- func (s *JettonTransferAction) Decode(d *jx.Decoder) error
- func (s JettonTransferAction) Encode(e *jx.Encoder)
- func (s JettonTransferAction) GetAmount() string
- func (s JettonTransferAction) GetComment() OptString
- func (s JettonTransferAction) GetEncryptedComment() OptEncryptedComment
- func (s JettonTransferAction) GetJetton() JettonPreview
- func (s JettonTransferAction) GetRecipient() OptAccountAddress
- func (s JettonTransferAction) GetRecipientsWallet() string
- func (s JettonTransferAction) GetRefund() OptRefund
- func (s JettonTransferAction) GetSender() OptAccountAddress
- func (s JettonTransferAction) GetSendersWallet() string
- func (s JettonTransferAction) MarshalJSON() ([]byte, error)
- func (s *JettonTransferAction) SetAmount(val string)
- func (s *JettonTransferAction) SetComment(val OptString)
- func (s *JettonTransferAction) SetEncryptedComment(val OptEncryptedComment)
- func (s *JettonTransferAction) SetJetton(val JettonPreview)
- func (s *JettonTransferAction) SetRecipient(val OptAccountAddress)
- func (s *JettonTransferAction) SetRecipientsWallet(val string)
- func (s *JettonTransferAction) SetRefund(val OptRefund)
- func (s *JettonTransferAction) SetSender(val OptAccountAddress)
- func (s *JettonTransferAction) SetSendersWallet(val string)
- func (s *JettonTransferAction) UnmarshalJSON(data []byte) error
- func (s JettonTransferAction) Validate() error
- type JettonVerificationType
- type Jettons
- func (s *Jettons) Decode(d *jx.Decoder) error
- func (s Jettons) Encode(e *jx.Encoder)
- func (s Jettons) GetJettons() []JettonInfo
- func (s Jettons) MarshalJSON() ([]byte, error)
- func (s *Jettons) SetJettons(val []JettonInfo)
- func (s *Jettons) UnmarshalJSON(data []byte) error
- func (s Jettons) Validate() error
- type JettonsBalances
- func (s *JettonsBalances) Decode(d *jx.Decoder) error
- func (s JettonsBalances) Encode(e *jx.Encoder)
- func (s JettonsBalances) GetBalances() []JettonBalance
- func (s JettonsBalances) MarshalJSON() ([]byte, error)
- func (s *JettonsBalances) SetBalances(val []JettonBalance)
- func (s *JettonsBalances) UnmarshalJSON(data []byte) error
- func (s JettonsBalances) Validate() error
- type Message
- func (s *Message) Decode(d *jx.Decoder) error
- func (s Message) Encode(e *jx.Encoder)
- func (s Message) GetBounce() bool
- func (s Message) GetBounced() bool
- func (s Message) GetCreatedAt() int64
- func (s Message) GetCreatedLt() int64
- func (s Message) GetDecodedBody() jx.Raw
- func (s Message) GetDecodedOpName() OptString
- func (s Message) GetDestination() OptAccountAddress
- func (s Message) GetFwdFee() int64
- func (s Message) GetIhrDisabled() bool
- func (s Message) GetIhrFee() int64
- func (s Message) GetImportFee() int64
- func (s Message) GetInit() OptStateInit
- func (s Message) GetOpCode() OptString
- func (s Message) GetRawBody() OptString
- func (s Message) GetSource() OptAccountAddress
- func (s Message) GetValue() int64
- func (s Message) MarshalJSON() ([]byte, error)
- func (s *Message) SetBounce(val bool)
- func (s *Message) SetBounced(val bool)
- func (s *Message) SetCreatedAt(val int64)
- func (s *Message) SetCreatedLt(val int64)
- func (s *Message) SetDecodedBody(val jx.Raw)
- func (s *Message) SetDecodedOpName(val OptString)
- func (s *Message) SetDestination(val OptAccountAddress)
- func (s *Message) SetFwdFee(val int64)
- func (s *Message) SetIhrDisabled(val bool)
- func (s *Message) SetIhrFee(val int64)
- func (s *Message) SetImportFee(val int64)
- func (s *Message) SetInit(val OptStateInit)
- func (s *Message) SetOpCode(val OptString)
- func (s *Message) SetRawBody(val OptString)
- func (s *Message) SetSource(val OptAccountAddress)
- func (s *Message) SetValue(val int64)
- func (s *Message) UnmarshalJSON(data []byte) error
- type MessageConsequences
- func (s *MessageConsequences) Decode(d *jx.Decoder) error
- func (s MessageConsequences) Encode(e *jx.Encoder)
- func (s MessageConsequences) GetEvent() AccountEvent
- func (s MessageConsequences) GetRisk() Risk
- func (s MessageConsequences) GetTrace() Trace
- func (s MessageConsequences) MarshalJSON() ([]byte, error)
- func (s *MessageConsequences) SetEvent(val AccountEvent)
- func (s *MessageConsequences) SetRisk(val Risk)
- func (s *MessageConsequences) SetTrace(val Trace)
- func (s *MessageConsequences) UnmarshalJSON(data []byte) error
- func (s MessageConsequences) Validate() error
- type MethodExecutionResult
- func (s *MethodExecutionResult) Decode(d *jx.Decoder) error
- func (s MethodExecutionResult) Encode(e *jx.Encoder)
- func (s MethodExecutionResult) GetDecoded() jx.Raw
- func (s MethodExecutionResult) GetExitCode() int
- func (s MethodExecutionResult) GetStack() []TvmStackRecord
- func (s MethodExecutionResult) GetSuccess() bool
- func (s MethodExecutionResult) MarshalJSON() ([]byte, error)
- func (s *MethodExecutionResult) SetDecoded(val jx.Raw)
- func (s *MethodExecutionResult) SetExitCode(val int)
- func (s *MethodExecutionResult) SetStack(val []TvmStackRecord)
- func (s *MethodExecutionResult) SetSuccess(val bool)
- func (s *MethodExecutionResult) UnmarshalJSON(data []byte) error
- func (s MethodExecutionResult) Validate() error
- type Middleware
- type NftCollection
- func (s *NftCollection) Decode(d *jx.Decoder) error
- func (s NftCollection) Encode(e *jx.Encoder)
- func (s NftCollection) GetAddress() string
- func (s NftCollection) GetMetadata() OptNftCollectionMetadata
- func (s NftCollection) GetNextItemIndex() int64
- func (s NftCollection) GetOwner() OptAccountAddress
- func (s NftCollection) GetRawCollectionContent() string
- func (s NftCollection) MarshalJSON() ([]byte, error)
- func (s *NftCollection) SetAddress(val string)
- func (s *NftCollection) SetMetadata(val OptNftCollectionMetadata)
- func (s *NftCollection) SetNextItemIndex(val int64)
- func (s *NftCollection) SetOwner(val OptAccountAddress)
- func (s *NftCollection) SetRawCollectionContent(val string)
- func (s *NftCollection) UnmarshalJSON(data []byte) error
- type NftCollectionMetadata
- type NftCollections
- func (s *NftCollections) Decode(d *jx.Decoder) error
- func (s NftCollections) Encode(e *jx.Encoder)
- func (s NftCollections) GetNftCollections() []NftCollection
- func (s NftCollections) MarshalJSON() ([]byte, error)
- func (s *NftCollections) SetNftCollections(val []NftCollection)
- func (s *NftCollections) UnmarshalJSON(data []byte) error
- func (s NftCollections) Validate() error
- type NftItem
- func (s *NftItem) Decode(d *jx.Decoder) error
- func (s NftItem) Encode(e *jx.Encoder)
- func (s NftItem) GetAddress() string
- func (s NftItem) GetApprovedBy() []NftItemApprovedByItem
- func (s NftItem) GetCollection() OptNftItemCollection
- func (s NftItem) GetDNS() OptString
- func (s NftItem) GetIndex() int64
- func (s NftItem) GetMetadata() NftItemMetadata
- func (s NftItem) GetOwner() OptAccountAddress
- func (s NftItem) GetPreviews() []ImagePreview
- func (s NftItem) GetSale() OptSale
- func (s NftItem) GetVerified() bool
- func (s NftItem) MarshalJSON() ([]byte, error)
- func (s *NftItem) SetAddress(val string)
- func (s *NftItem) SetApprovedBy(val []NftItemApprovedByItem)
- func (s *NftItem) SetCollection(val OptNftItemCollection)
- func (s *NftItem) SetDNS(val OptString)
- func (s *NftItem) SetIndex(val int64)
- func (s *NftItem) SetMetadata(val NftItemMetadata)
- func (s *NftItem) SetOwner(val OptAccountAddress)
- func (s *NftItem) SetPreviews(val []ImagePreview)
- func (s *NftItem) SetSale(val OptSale)
- func (s *NftItem) SetVerified(val bool)
- func (s *NftItem) UnmarshalJSON(data []byte) error
- func (s NftItem) Validate() error
- type NftItemApprovedByItem
- type NftItemCollection
- func (s *NftItemCollection) Decode(d *jx.Decoder) error
- func (s NftItemCollection) Encode(e *jx.Encoder)
- func (s NftItemCollection) GetAddress() string
- func (s NftItemCollection) GetName() string
- func (s NftItemCollection) MarshalJSON() ([]byte, error)
- func (s *NftItemCollection) SetAddress(val string)
- func (s *NftItemCollection) SetName(val string)
- func (s *NftItemCollection) UnmarshalJSON(data []byte) error
- type NftItemMetadata
- type NftItemTransferAction
- func (s *NftItemTransferAction) Decode(d *jx.Decoder) error
- func (s NftItemTransferAction) Encode(e *jx.Encoder)
- func (s NftItemTransferAction) GetComment() OptString
- func (s NftItemTransferAction) GetEncryptedComment() OptEncryptedComment
- func (s NftItemTransferAction) GetNft() string
- func (s NftItemTransferAction) GetPayload() OptString
- func (s NftItemTransferAction) GetRecipient() OptAccountAddress
- func (s NftItemTransferAction) GetRefund() OptRefund
- func (s NftItemTransferAction) GetSender() OptAccountAddress
- func (s NftItemTransferAction) MarshalJSON() ([]byte, error)
- func (s *NftItemTransferAction) SetComment(val OptString)
- func (s *NftItemTransferAction) SetEncryptedComment(val OptEncryptedComment)
- func (s *NftItemTransferAction) SetNft(val string)
- func (s *NftItemTransferAction) SetPayload(val OptString)
- func (s *NftItemTransferAction) SetRecipient(val OptAccountAddress)
- func (s *NftItemTransferAction) SetRefund(val OptRefund)
- func (s *NftItemTransferAction) SetSender(val OptAccountAddress)
- func (s *NftItemTransferAction) UnmarshalJSON(data []byte) error
- func (s NftItemTransferAction) Validate() error
- type NftItems
- func (s *NftItems) Decode(d *jx.Decoder) error
- func (s NftItems) Encode(e *jx.Encoder)
- func (s NftItems) GetNftItems() []NftItem
- func (s NftItems) MarshalJSON() ([]byte, error)
- func (s *NftItems) SetNftItems(val []NftItem)
- func (s *NftItems) UnmarshalJSON(data []byte) error
- func (s NftItems) Validate() error
- type NftPurchaseAction
- func (s *NftPurchaseAction) Decode(d *jx.Decoder) error
- func (s NftPurchaseAction) Encode(e *jx.Encoder)
- func (s NftPurchaseAction) GetAmount() Price
- func (s NftPurchaseAction) GetAuctionType() NftPurchaseActionAuctionType
- func (s NftPurchaseAction) GetBuyer() AccountAddress
- func (s NftPurchaseAction) GetNft() NftItem
- func (s NftPurchaseAction) GetSeller() AccountAddress
- func (s NftPurchaseAction) MarshalJSON() ([]byte, error)
- func (s *NftPurchaseAction) SetAmount(val Price)
- func (s *NftPurchaseAction) SetAuctionType(val NftPurchaseActionAuctionType)
- func (s *NftPurchaseAction) SetBuyer(val AccountAddress)
- func (s *NftPurchaseAction) SetNft(val NftItem)
- func (s *NftPurchaseAction) SetSeller(val AccountAddress)
- func (s *NftPurchaseAction) UnmarshalJSON(data []byte) error
- func (s NftPurchaseAction) Validate() error
- type NftPurchaseActionAuctionType
- func (s *NftPurchaseActionAuctionType) Decode(d *jx.Decoder) error
- func (s NftPurchaseActionAuctionType) Encode(e *jx.Encoder)
- func (s NftPurchaseActionAuctionType) MarshalJSON() ([]byte, error)
- func (s *NftPurchaseActionAuctionType) UnmarshalJSON(data []byte) error
- func (s NftPurchaseActionAuctionType) Validate() error
- type NotFound
- type OptAccountAddress
- func (o *OptAccountAddress) Decode(d *jx.Decoder) error
- func (o OptAccountAddress) Encode(e *jx.Encoder)
- func (o OptAccountAddress) Get() (v AccountAddress, ok bool)
- func (o OptAccountAddress) IsSet() bool
- func (s OptAccountAddress) MarshalJSON() ([]byte, error)
- func (o OptAccountAddress) Or(d AccountAddress) AccountAddress
- func (o *OptAccountAddress) Reset()
- func (o *OptAccountAddress) SetTo(v AccountAddress)
- func (s *OptAccountAddress) UnmarshalJSON(data []byte) error
- type OptActionPhase
- func (o *OptActionPhase) Decode(d *jx.Decoder) error
- func (o OptActionPhase) Encode(e *jx.Encoder)
- func (o OptActionPhase) Get() (v ActionPhase, ok bool)
- func (o OptActionPhase) IsSet() bool
- func (s OptActionPhase) MarshalJSON() ([]byte, error)
- func (o OptActionPhase) Or(d ActionPhase) ActionPhase
- func (o *OptActionPhase) Reset()
- func (o *OptActionPhase) SetTo(v ActionPhase)
- func (s *OptActionPhase) UnmarshalJSON(data []byte) error
- type OptAuctionBidAction
- func (o *OptAuctionBidAction) Decode(d *jx.Decoder) error
- func (o OptAuctionBidAction) Encode(e *jx.Encoder)
- func (o OptAuctionBidAction) Get() (v AuctionBidAction, ok bool)
- func (o OptAuctionBidAction) IsSet() bool
- func (s OptAuctionBidAction) MarshalJSON() ([]byte, error)
- func (o OptAuctionBidAction) Or(d AuctionBidAction) AuctionBidAction
- func (o *OptAuctionBidAction) Reset()
- func (o *OptAuctionBidAction) SetTo(v AuctionBidAction)
- func (s *OptAuctionBidAction) UnmarshalJSON(data []byte) error
- type OptBool
- func (o *OptBool) Decode(d *jx.Decoder) error
- func (o OptBool) Encode(e *jx.Encoder)
- func (o OptBool) Get() (v bool, ok bool)
- func (o OptBool) IsSet() bool
- func (s OptBool) MarshalJSON() ([]byte, error)
- func (o OptBool) Or(d bool) bool
- func (o *OptBool) Reset()
- func (o *OptBool) SetTo(v bool)
- func (s *OptBool) UnmarshalJSON(data []byte) error
- type OptBouncePhaseType
- func (o *OptBouncePhaseType) Decode(d *jx.Decoder) error
- func (o OptBouncePhaseType) Encode(e *jx.Encoder)
- func (o OptBouncePhaseType) Get() (v BouncePhaseType, ok bool)
- func (o OptBouncePhaseType) IsSet() bool
- func (s OptBouncePhaseType) MarshalJSON() ([]byte, error)
- func (o OptBouncePhaseType) Or(d BouncePhaseType) BouncePhaseType
- func (o *OptBouncePhaseType) Reset()
- func (o *OptBouncePhaseType) SetTo(v BouncePhaseType)
- func (s *OptBouncePhaseType) UnmarshalJSON(data []byte) error
- type OptComputePhase
- func (o *OptComputePhase) Decode(d *jx.Decoder) error
- func (o OptComputePhase) Encode(e *jx.Encoder)
- func (o OptComputePhase) Get() (v ComputePhase, ok bool)
- func (o OptComputePhase) IsSet() bool
- func (s OptComputePhase) MarshalJSON() ([]byte, error)
- func (o OptComputePhase) Or(d ComputePhase) ComputePhase
- func (o *OptComputePhase) Reset()
- func (o *OptComputePhase) SetTo(v ComputePhase)
- func (s *OptComputePhase) UnmarshalJSON(data []byte) error
- type OptComputeSkipReason
- func (o *OptComputeSkipReason) Decode(d *jx.Decoder) error
- func (o OptComputeSkipReason) Encode(e *jx.Encoder)
- func (o OptComputeSkipReason) Get() (v ComputeSkipReason, ok bool)
- func (o OptComputeSkipReason) IsSet() bool
- func (s OptComputeSkipReason) MarshalJSON() ([]byte, error)
- func (o OptComputeSkipReason) Or(d ComputeSkipReason) ComputeSkipReason
- func (o *OptComputeSkipReason) Reset()
- func (o *OptComputeSkipReason) SetTo(v ComputeSkipReason)
- func (s *OptComputeSkipReason) UnmarshalJSON(data []byte) error
- type OptContractDeployAction
- func (o *OptContractDeployAction) Decode(d *jx.Decoder) error
- func (o OptContractDeployAction) Encode(e *jx.Encoder)
- func (o OptContractDeployAction) Get() (v ContractDeployAction, ok bool)
- func (o OptContractDeployAction) IsSet() bool
- func (s OptContractDeployAction) MarshalJSON() ([]byte, error)
- func (o OptContractDeployAction) Or(d ContractDeployAction) ContractDeployAction
- func (o *OptContractDeployAction) Reset()
- func (o *OptContractDeployAction) SetTo(v ContractDeployAction)
- func (s *OptContractDeployAction) UnmarshalJSON(data []byte) error
- type OptCreditPhase
- func (o *OptCreditPhase) Decode(d *jx.Decoder) error
- func (o OptCreditPhase) Encode(e *jx.Encoder)
- func (o OptCreditPhase) Get() (v CreditPhase, ok bool)
- func (o OptCreditPhase) IsSet() bool
- func (s OptCreditPhase) MarshalJSON() ([]byte, error)
- func (o OptCreditPhase) Or(d CreditPhase) CreditPhase
- func (o *OptCreditPhase) Reset()
- func (o *OptCreditPhase) SetTo(v CreditPhase)
- func (s *OptCreditPhase) UnmarshalJSON(data []byte) error
- type OptDepositStakeAction
- func (o *OptDepositStakeAction) Decode(d *jx.Decoder) error
- func (o OptDepositStakeAction) Encode(e *jx.Encoder)
- func (o OptDepositStakeAction) Get() (v DepositStakeAction, ok bool)
- func (o OptDepositStakeAction) IsSet() bool
- func (s OptDepositStakeAction) MarshalJSON() ([]byte, error)
- func (o OptDepositStakeAction) Or(d DepositStakeAction) DepositStakeAction
- func (o *OptDepositStakeAction) Reset()
- func (o *OptDepositStakeAction) SetTo(v DepositStakeAction)
- func (s *OptDepositStakeAction) UnmarshalJSON(data []byte) error
- type OptEncryptedComment
- func (o *OptEncryptedComment) Decode(d *jx.Decoder) error
- func (o OptEncryptedComment) Encode(e *jx.Encoder)
- func (o OptEncryptedComment) Get() (v EncryptedComment, ok bool)
- func (o OptEncryptedComment) IsSet() bool
- func (s OptEncryptedComment) MarshalJSON() ([]byte, error)
- func (o OptEncryptedComment) Or(d EncryptedComment) EncryptedComment
- func (o *OptEncryptedComment) Reset()
- func (o *OptEncryptedComment) SetTo(v EncryptedComment)
- func (s *OptEncryptedComment) UnmarshalJSON(data []byte) error
- type OptGetAccountsReq
- func (o *OptGetAccountsReq) Decode(d *jx.Decoder) error
- func (o OptGetAccountsReq) Encode(e *jx.Encoder)
- func (o OptGetAccountsReq) Get() (v GetAccountsReq, ok bool)
- func (o OptGetAccountsReq) IsSet() bool
- func (s OptGetAccountsReq) MarshalJSON() ([]byte, error)
- func (o OptGetAccountsReq) Or(d GetAccountsReq) GetAccountsReq
- func (o *OptGetAccountsReq) Reset()
- func (o *OptGetAccountsReq) SetTo(v GetAccountsReq)
- func (s *OptGetAccountsReq) UnmarshalJSON(data []byte) error
- type OptGetNftItemsByAddressesReq
- func (o *OptGetNftItemsByAddressesReq) Decode(d *jx.Decoder) error
- func (o OptGetNftItemsByAddressesReq) Encode(e *jx.Encoder)
- func (o OptGetNftItemsByAddressesReq) Get() (v GetNftItemsByAddressesReq, ok bool)
- func (o OptGetNftItemsByAddressesReq) IsSet() bool
- func (s OptGetNftItemsByAddressesReq) MarshalJSON() ([]byte, error)
- func (o OptGetNftItemsByAddressesReq) Or(d GetNftItemsByAddressesReq) GetNftItemsByAddressesReq
- func (o *OptGetNftItemsByAddressesReq) Reset()
- func (o *OptGetNftItemsByAddressesReq) SetTo(v GetNftItemsByAddressesReq)
- func (s *OptGetNftItemsByAddressesReq) UnmarshalJSON(data []byte) error
- type OptInt
- func (o *OptInt) Decode(d *jx.Decoder) error
- func (o OptInt) Encode(e *jx.Encoder)
- func (o OptInt) Get() (v int, ok bool)
- func (o OptInt) IsSet() bool
- func (s OptInt) MarshalJSON() ([]byte, error)
- func (o OptInt) Or(d int) int
- func (o *OptInt) Reset()
- func (o *OptInt) SetTo(v int)
- func (s *OptInt) UnmarshalJSON(data []byte) error
- type OptInt32
- func (o *OptInt32) Decode(d *jx.Decoder) error
- func (o OptInt32) Encode(e *jx.Encoder)
- func (o OptInt32) Get() (v int32, ok bool)
- func (o OptInt32) IsSet() bool
- func (s OptInt32) MarshalJSON() ([]byte, error)
- func (o OptInt32) Or(d int32) int32
- func (o *OptInt32) Reset()
- func (o *OptInt32) SetTo(v int32)
- func (s *OptInt32) UnmarshalJSON(data []byte) error
- type OptInt64
- func (o *OptInt64) Decode(d *jx.Decoder) error
- func (o OptInt64) Encode(e *jx.Encoder)
- func (o OptInt64) Get() (v int64, ok bool)
- func (o OptInt64) IsSet() bool
- func (s OptInt64) MarshalJSON() ([]byte, error)
- func (o OptInt64) Or(d int64) int64
- func (o *OptInt64) Reset()
- func (o *OptInt64) SetTo(v int64)
- func (s *OptInt64) UnmarshalJSON(data []byte) error
- type OptJettonTransferAction
- func (o *OptJettonTransferAction) Decode(d *jx.Decoder) error
- func (o OptJettonTransferAction) Encode(e *jx.Encoder)
- func (o OptJettonTransferAction) Get() (v JettonTransferAction, ok bool)
- func (o OptJettonTransferAction) IsSet() bool
- func (s OptJettonTransferAction) MarshalJSON() ([]byte, error)
- func (o OptJettonTransferAction) Or(d JettonTransferAction) JettonTransferAction
- func (o *OptJettonTransferAction) Reset()
- func (o *OptJettonTransferAction) SetTo(v JettonTransferAction)
- func (s *OptJettonTransferAction) UnmarshalJSON(data []byte) error
- type OptMessage
- func (o *OptMessage) Decode(d *jx.Decoder) error
- func (o OptMessage) Encode(e *jx.Encoder)
- func (o OptMessage) Get() (v Message, ok bool)
- func (o OptMessage) IsSet() bool
- func (s OptMessage) MarshalJSON() ([]byte, error)
- func (o OptMessage) Or(d Message) Message
- func (o *OptMessage) Reset()
- func (o *OptMessage) SetTo(v Message)
- func (s *OptMessage) UnmarshalJSON(data []byte) error
- type OptNftCollectionMetadata
- func (o *OptNftCollectionMetadata) Decode(d *jx.Decoder) error
- func (o OptNftCollectionMetadata) Encode(e *jx.Encoder)
- func (o OptNftCollectionMetadata) Get() (v NftCollectionMetadata, ok bool)
- func (o OptNftCollectionMetadata) IsSet() bool
- func (s OptNftCollectionMetadata) MarshalJSON() ([]byte, error)
- func (o OptNftCollectionMetadata) Or(d NftCollectionMetadata) NftCollectionMetadata
- func (o *OptNftCollectionMetadata) Reset()
- func (o *OptNftCollectionMetadata) SetTo(v NftCollectionMetadata)
- func (s *OptNftCollectionMetadata) UnmarshalJSON(data []byte) error
- type OptNftItem
- func (o *OptNftItem) Decode(d *jx.Decoder) error
- func (o OptNftItem) Encode(e *jx.Encoder)
- func (o OptNftItem) Get() (v NftItem, ok bool)
- func (o OptNftItem) IsSet() bool
- func (s OptNftItem) MarshalJSON() ([]byte, error)
- func (o OptNftItem) Or(d NftItem) NftItem
- func (o *OptNftItem) Reset()
- func (o *OptNftItem) SetTo(v NftItem)
- func (s *OptNftItem) UnmarshalJSON(data []byte) error
- type OptNftItemCollection
- func (o *OptNftItemCollection) Decode(d *jx.Decoder) error
- func (o OptNftItemCollection) Encode(e *jx.Encoder)
- func (o OptNftItemCollection) Get() (v NftItemCollection, ok bool)
- func (o OptNftItemCollection) IsSet() bool
- func (s OptNftItemCollection) MarshalJSON() ([]byte, error)
- func (o OptNftItemCollection) Or(d NftItemCollection) NftItemCollection
- func (o *OptNftItemCollection) Reset()
- func (o *OptNftItemCollection) SetTo(v NftItemCollection)
- func (s *OptNftItemCollection) UnmarshalJSON(data []byte) error
- type OptNftItemTransferAction
- func (o *OptNftItemTransferAction) Decode(d *jx.Decoder) error
- func (o OptNftItemTransferAction) Encode(e *jx.Encoder)
- func (o OptNftItemTransferAction) Get() (v NftItemTransferAction, ok bool)
- func (o OptNftItemTransferAction) IsSet() bool
- func (s OptNftItemTransferAction) MarshalJSON() ([]byte, error)
- func (o OptNftItemTransferAction) Or(d NftItemTransferAction) NftItemTransferAction
- func (o *OptNftItemTransferAction) Reset()
- func (o *OptNftItemTransferAction) SetTo(v NftItemTransferAction)
- func (s *OptNftItemTransferAction) UnmarshalJSON(data []byte) error
- type OptNftPurchaseAction
- func (o *OptNftPurchaseAction) Decode(d *jx.Decoder) error
- func (o OptNftPurchaseAction) Encode(e *jx.Encoder)
- func (o OptNftPurchaseAction) Get() (v NftPurchaseAction, ok bool)
- func (o OptNftPurchaseAction) IsSet() bool
- func (s OptNftPurchaseAction) MarshalJSON() ([]byte, error)
- func (o OptNftPurchaseAction) Or(d NftPurchaseAction) NftPurchaseAction
- func (o *OptNftPurchaseAction) Reset()
- func (o *OptNftPurchaseAction) SetTo(v NftPurchaseAction)
- func (s *OptNftPurchaseAction) UnmarshalJSON(data []byte) error
- type OptRawAccountExtraBalance
- func (o *OptRawAccountExtraBalance) Decode(d *jx.Decoder) error
- func (o OptRawAccountExtraBalance) Encode(e *jx.Encoder)
- func (o OptRawAccountExtraBalance) Get() (v RawAccountExtraBalance, ok bool)
- func (o OptRawAccountExtraBalance) IsSet() bool
- func (s OptRawAccountExtraBalance) MarshalJSON() ([]byte, error)
- func (o OptRawAccountExtraBalance) Or(d RawAccountExtraBalance) RawAccountExtraBalance
- func (o *OptRawAccountExtraBalance) Reset()
- func (o *OptRawAccountExtraBalance) SetTo(v RawAccountExtraBalance)
- func (s *OptRawAccountExtraBalance) UnmarshalJSON(data []byte) error
- type OptRecoverStakeAction
- func (o *OptRecoverStakeAction) Decode(d *jx.Decoder) error
- func (o OptRecoverStakeAction) Encode(e *jx.Encoder)
- func (o OptRecoverStakeAction) Get() (v RecoverStakeAction, ok bool)
- func (o OptRecoverStakeAction) IsSet() bool
- func (s OptRecoverStakeAction) MarshalJSON() ([]byte, error)
- func (o OptRecoverStakeAction) Or(d RecoverStakeAction) RecoverStakeAction
- func (o *OptRecoverStakeAction) Reset()
- func (o *OptRecoverStakeAction) SetTo(v RecoverStakeAction)
- func (s *OptRecoverStakeAction) UnmarshalJSON(data []byte) error
- type OptRefund
- func (o *OptRefund) Decode(d *jx.Decoder) error
- func (o OptRefund) Encode(e *jx.Encoder)
- func (o OptRefund) Get() (v Refund, ok bool)
- func (o OptRefund) IsSet() bool
- func (s OptRefund) MarshalJSON() ([]byte, error)
- func (o OptRefund) Or(d Refund) Refund
- func (o *OptRefund) Reset()
- func (o *OptRefund) SetTo(v Refund)
- func (s *OptRefund) UnmarshalJSON(data []byte) error
- type OptSTONfiSwapAction
- func (o *OptSTONfiSwapAction) Decode(d *jx.Decoder) error
- func (o OptSTONfiSwapAction) Encode(e *jx.Encoder)
- func (o OptSTONfiSwapAction) Get() (v STONfiSwapAction, ok bool)
- func (o OptSTONfiSwapAction) IsSet() bool
- func (s OptSTONfiSwapAction) MarshalJSON() ([]byte, error)
- func (o OptSTONfiSwapAction) Or(d STONfiSwapAction) STONfiSwapAction
- func (o *OptSTONfiSwapAction) Reset()
- func (o *OptSTONfiSwapAction) SetTo(v STONfiSwapAction)
- func (s *OptSTONfiSwapAction) UnmarshalJSON(data []byte) error
- type OptSale
- func (o *OptSale) Decode(d *jx.Decoder) error
- func (o OptSale) Encode(e *jx.Encoder)
- func (o OptSale) Get() (v Sale, ok bool)
- func (o OptSale) IsSet() bool
- func (s OptSale) MarshalJSON() ([]byte, error)
- func (o OptSale) Or(d Sale) Sale
- func (o *OptSale) Reset()
- func (o *OptSale) SetTo(v Sale)
- func (s *OptSale) UnmarshalJSON(data []byte) error
- type OptSmartContractAction
- func (o *OptSmartContractAction) Decode(d *jx.Decoder) error
- func (o OptSmartContractAction) Encode(e *jx.Encoder)
- func (o OptSmartContractAction) Get() (v SmartContractAction, ok bool)
- func (o OptSmartContractAction) IsSet() bool
- func (s OptSmartContractAction) MarshalJSON() ([]byte, error)
- func (o OptSmartContractAction) Or(d SmartContractAction) SmartContractAction
- func (o *OptSmartContractAction) Reset()
- func (o *OptSmartContractAction) SetTo(v SmartContractAction)
- func (s *OptSmartContractAction) UnmarshalJSON(data []byte) error
- type OptStateInit
- func (o *OptStateInit) Decode(d *jx.Decoder) error
- func (o OptStateInit) Encode(e *jx.Encoder)
- func (o OptStateInit) Get() (v StateInit, ok bool)
- func (o OptStateInit) IsSet() bool
- func (s OptStateInit) MarshalJSON() ([]byte, error)
- func (o OptStateInit) Or(d StateInit) StateInit
- func (o *OptStateInit) Reset()
- func (o *OptStateInit) SetTo(v StateInit)
- func (s *OptStateInit) UnmarshalJSON(data []byte) error
- type OptStoragePhase
- func (o *OptStoragePhase) Decode(d *jx.Decoder) error
- func (o OptStoragePhase) Encode(e *jx.Encoder)
- func (o OptStoragePhase) Get() (v StoragePhase, ok bool)
- func (o OptStoragePhase) IsSet() bool
- func (s OptStoragePhase) MarshalJSON() ([]byte, error)
- func (o OptStoragePhase) Or(d StoragePhase) StoragePhase
- func (o *OptStoragePhase) Reset()
- func (o *OptStoragePhase) SetTo(v StoragePhase)
- func (s *OptStoragePhase) UnmarshalJSON(data []byte) error
- type OptString
- func (o *OptString) Decode(d *jx.Decoder) error
- func (o OptString) Encode(e *jx.Encoder)
- func (o OptString) Get() (v string, ok bool)
- func (o OptString) IsSet() bool
- func (s OptString) MarshalJSON() ([]byte, error)
- func (o OptString) Or(d string) string
- func (o *OptString) Reset()
- func (o *OptString) SetTo(v string)
- func (s *OptString) UnmarshalJSON(data []byte) error
- type OptSubscriptionAction
- func (o *OptSubscriptionAction) Decode(d *jx.Decoder) error
- func (o OptSubscriptionAction) Encode(e *jx.Encoder)
- func (o OptSubscriptionAction) Get() (v SubscriptionAction, ok bool)
- func (o OptSubscriptionAction) IsSet() bool
- func (s OptSubscriptionAction) MarshalJSON() ([]byte, error)
- func (o OptSubscriptionAction) Or(d SubscriptionAction) SubscriptionAction
- func (o *OptSubscriptionAction) Reset()
- func (o *OptSubscriptionAction) SetTo(v SubscriptionAction)
- func (s *OptSubscriptionAction) UnmarshalJSON(data []byte) error
- type OptTonTransferAction
- func (o *OptTonTransferAction) Decode(d *jx.Decoder) error
- func (o OptTonTransferAction) Encode(e *jx.Encoder)
- func (o OptTonTransferAction) Get() (v TonTransferAction, ok bool)
- func (o OptTonTransferAction) IsSet() bool
- func (s OptTonTransferAction) MarshalJSON() ([]byte, error)
- func (o OptTonTransferAction) Or(d TonTransferAction) TonTransferAction
- func (o *OptTonTransferAction) Reset()
- func (o *OptTonTransferAction) SetTo(v TonTransferAction)
- func (s *OptTonTransferAction) UnmarshalJSON(data []byte) error
- type OptUint32
- func (o *OptUint32) Decode(d *jx.Decoder) error
- func (o OptUint32) Encode(e *jx.Encoder)
- func (o OptUint32) Get() (v uint32, ok bool)
- func (o OptUint32) IsSet() bool
- func (s OptUint32) MarshalJSON() ([]byte, error)
- func (o OptUint32) Or(d uint32) uint32
- func (o *OptUint32) Reset()
- func (o *OptUint32) SetTo(v uint32)
- func (s *OptUint32) UnmarshalJSON(data []byte) error
- type OptUint64
- func (o *OptUint64) Decode(d *jx.Decoder) error
- func (o OptUint64) Encode(e *jx.Encoder)
- func (o OptUint64) Get() (v uint64, ok bool)
- func (o OptUint64) IsSet() bool
- func (s OptUint64) MarshalJSON() ([]byte, error)
- func (o OptUint64) Or(d uint64) uint64
- func (o *OptUint64) Reset()
- func (o *OptUint64) SetTo(v uint64)
- func (s *OptUint64) UnmarshalJSON(data []byte) error
- type OptUnSubscriptionAction
- func (o *OptUnSubscriptionAction) Decode(d *jx.Decoder) error
- func (o OptUnSubscriptionAction) Encode(e *jx.Encoder)
- func (o OptUnSubscriptionAction) Get() (v UnSubscriptionAction, ok bool)
- func (o OptUnSubscriptionAction) IsSet() bool
- func (s OptUnSubscriptionAction) MarshalJSON() ([]byte, error)
- func (o OptUnSubscriptionAction) Or(d UnSubscriptionAction) UnSubscriptionAction
- func (o *OptUnSubscriptionAction) Reset()
- func (o *OptUnSubscriptionAction) SetTo(v UnSubscriptionAction)
- func (s *OptUnSubscriptionAction) UnmarshalJSON(data []byte) error
- type OptValidatorsSet
- func (o *OptValidatorsSet) Decode(d *jx.Decoder) error
- func (o OptValidatorsSet) Encode(e *jx.Encoder)
- func (o OptValidatorsSet) Get() (v ValidatorsSet, ok bool)
- func (o OptValidatorsSet) IsSet() bool
- func (s OptValidatorsSet) MarshalJSON() ([]byte, error)
- func (o OptValidatorsSet) Or(d ValidatorsSet) ValidatorsSet
- func (o *OptValidatorsSet) Reset()
- func (o *OptValidatorsSet) SetTo(v ValidatorsSet)
- func (s *OptValidatorsSet) UnmarshalJSON(data []byte) error
- type OptWalletDNS
- func (o *OptWalletDNS) Decode(d *jx.Decoder) error
- func (o OptWalletDNS) Encode(e *jx.Encoder)
- func (o OptWalletDNS) Get() (v WalletDNS, ok bool)
- func (o OptWalletDNS) IsSet() bool
- func (s OptWalletDNS) MarshalJSON() ([]byte, error)
- func (o OptWalletDNS) Or(d WalletDNS) WalletDNS
- func (o *OptWalletDNS) Reset()
- func (o *OptWalletDNS) SetTo(v WalletDNS)
- func (s *OptWalletDNS) UnmarshalJSON(data []byte) error
- type Option
- type PoolImplementation
- func (s *PoolImplementation) Decode(d *jx.Decoder) error
- func (s PoolImplementation) Encode(e *jx.Encoder)
- func (s PoolImplementation) GetDescription() string
- func (s PoolImplementation) GetName() string
- func (s PoolImplementation) GetURL() string
- func (s PoolImplementation) MarshalJSON() ([]byte, error)
- func (s *PoolImplementation) SetDescription(val string)
- func (s *PoolImplementation) SetName(val string)
- func (s *PoolImplementation) SetURL(val string)
- func (s *PoolImplementation) UnmarshalJSON(data []byte) error
- type PoolInfo
- func (s *PoolInfo) Decode(d *jx.Decoder) error
- func (s PoolInfo) Encode(e *jx.Encoder)
- func (s PoolInfo) GetAddress() string
- func (s PoolInfo) GetApy() float64
- func (s PoolInfo) GetCurrentNominators() int
- func (s PoolInfo) GetCycleEnd() int64
- func (s PoolInfo) GetCycleStart() int64
- func (s PoolInfo) GetImplementation() PoolInfoImplementation
- func (s PoolInfo) GetLiquidJettonMaster() OptString
- func (s PoolInfo) GetMaxNominators() int
- func (s PoolInfo) GetMinStake() int64
- func (s PoolInfo) GetName() string
- func (s PoolInfo) GetTotalAmount() int64
- func (s PoolInfo) GetVerified() bool
- func (s PoolInfo) MarshalJSON() ([]byte, error)
- func (s *PoolInfo) SetAddress(val string)
- func (s *PoolInfo) SetApy(val float64)
- func (s *PoolInfo) SetCurrentNominators(val int)
- func (s *PoolInfo) SetCycleEnd(val int64)
- func (s *PoolInfo) SetCycleStart(val int64)
- func (s *PoolInfo) SetImplementation(val PoolInfoImplementation)
- func (s *PoolInfo) SetLiquidJettonMaster(val OptString)
- func (s *PoolInfo) SetMaxNominators(val int)
- func (s *PoolInfo) SetMinStake(val int64)
- func (s *PoolInfo) SetName(val string)
- func (s *PoolInfo) SetTotalAmount(val int64)
- func (s *PoolInfo) SetVerified(val bool)
- func (s *PoolInfo) UnmarshalJSON(data []byte) error
- func (s PoolInfo) Validate() error
- type PoolInfoImplementation
- type PoolsByNominatorsParams
- type PoolsByNominatorsRes
- type Price
- func (s *Price) Decode(d *jx.Decoder) error
- func (s Price) Encode(e *jx.Encoder)
- func (s Price) GetTokenName() string
- func (s Price) GetValue() string
- func (s Price) MarshalJSON() ([]byte, error)
- func (s *Price) SetTokenName(val string)
- func (s *Price) SetValue(val string)
- func (s *Price) UnmarshalJSON(data []byte) error
- type RawAccount
- func (s *RawAccount) Decode(d *jx.Decoder) error
- func (s RawAccount) Encode(e *jx.Encoder)
- func (s RawAccount) GetAddress() string
- func (s RawAccount) GetBalance() int64
- func (s RawAccount) GetCode() OptString
- func (s RawAccount) GetData() OptString
- func (s RawAccount) GetExtraBalance() OptRawAccountExtraBalance
- func (s RawAccount) GetLastTransactionLt() int64
- func (s RawAccount) GetStatus() string
- func (s RawAccount) GetStorage() AccountStorageInfo
- func (s RawAccount) MarshalJSON() ([]byte, error)
- func (s *RawAccount) SetAddress(val string)
- func (s *RawAccount) SetBalance(val int64)
- func (s *RawAccount) SetCode(val OptString)
- func (s *RawAccount) SetData(val OptString)
- func (s *RawAccount) SetExtraBalance(val OptRawAccountExtraBalance)
- func (s *RawAccount) SetLastTransactionLt(val int64)
- func (s *RawAccount) SetStatus(val string)
- func (s *RawAccount) SetStorage(val AccountStorageInfo)
- func (s *RawAccount) UnmarshalJSON(data []byte) error
- type RawAccountExtraBalance
- type RecoverStakeAction
- func (s *RecoverStakeAction) Decode(d *jx.Decoder) error
- func (s RecoverStakeAction) Encode(e *jx.Encoder)
- func (s RecoverStakeAction) GetAmount() int64
- func (s RecoverStakeAction) GetStaker() AccountAddress
- func (s RecoverStakeAction) MarshalJSON() ([]byte, error)
- func (s *RecoverStakeAction) SetAmount(val int64)
- func (s *RecoverStakeAction) SetStaker(val AccountAddress)
- func (s *RecoverStakeAction) UnmarshalJSON(data []byte) error
- type Refund
- func (s *Refund) Decode(d *jx.Decoder) error
- func (s Refund) Encode(e *jx.Encoder)
- func (s Refund) GetOrigin() string
- func (s Refund) GetType() RefundType
- func (s Refund) MarshalJSON() ([]byte, error)
- func (s *Refund) SetOrigin(val string)
- func (s *Refund) SetType(val RefundType)
- func (s *Refund) UnmarshalJSON(data []byte) error
- func (s Refund) Validate() error
- type RefundType
- type ReindexAccountOK
- type ReindexAccountParams
- type ReindexAccountRes
- type Risk
- func (s *Risk) Decode(d *jx.Decoder) error
- func (s Risk) Encode(e *jx.Encoder)
- func (s Risk) GetJettons() []JettonQuantity
- func (s Risk) GetNfts() []NftItem
- func (s Risk) GetTon() int64
- func (s Risk) GetTransferAllRemainingBalance() bool
- func (s Risk) MarshalJSON() ([]byte, error)
- func (s *Risk) SetJettons(val []JettonQuantity)
- func (s *Risk) SetNfts(val []NftItem)
- func (s *Risk) SetTon(val int64)
- func (s *Risk) SetTransferAllRemainingBalance(val bool)
- func (s *Risk) UnmarshalJSON(data []byte) error
- func (s Risk) Validate() error
- type Route
- type STONfiSwapAction
- func (s *STONfiSwapAction) Decode(d *jx.Decoder) error
- func (s STONfiSwapAction) Encode(e *jx.Encoder)
- func (s STONfiSwapAction) GetAmountIn() string
- func (s STONfiSwapAction) GetAmountOut() string
- func (s STONfiSwapAction) GetJettonMasterIn() JettonPreview
- func (s STONfiSwapAction) GetJettonMasterOut() JettonPreview
- func (s STONfiSwapAction) GetJettonWalletIn() string
- func (s STONfiSwapAction) GetJettonWalletOut() string
- func (s STONfiSwapAction) GetStonfiRouter() AccountAddress
- func (s STONfiSwapAction) GetUserWallet() AccountAddress
- func (s STONfiSwapAction) MarshalJSON() ([]byte, error)
- func (s *STONfiSwapAction) SetAmountIn(val string)
- func (s *STONfiSwapAction) SetAmountOut(val string)
- func (s *STONfiSwapAction) SetJettonMasterIn(val JettonPreview)
- func (s *STONfiSwapAction) SetJettonMasterOut(val JettonPreview)
- func (s *STONfiSwapAction) SetJettonWalletIn(val string)
- func (s *STONfiSwapAction) SetJettonWalletOut(val string)
- func (s *STONfiSwapAction) SetStonfiRouter(val AccountAddress)
- func (s *STONfiSwapAction) SetUserWallet(val AccountAddress)
- func (s *STONfiSwapAction) UnmarshalJSON(data []byte) error
- func (s STONfiSwapAction) Validate() error
- type Sale
- func (s *Sale) Decode(d *jx.Decoder) error
- func (s Sale) Encode(e *jx.Encoder)
- func (s Sale) GetAddress() string
- func (s Sale) GetMarket() AccountAddress
- func (s Sale) GetOwner() OptAccountAddress
- func (s Sale) GetPrice() Price
- func (s Sale) MarshalJSON() ([]byte, error)
- func (s *Sale) SetAddress(val string)
- func (s *Sale) SetMarket(val AccountAddress)
- func (s *Sale) SetOwner(val OptAccountAddress)
- func (s *Sale) SetPrice(val Price)
- func (s *Sale) UnmarshalJSON(data []byte) error
- type SendMessageLiteServerOK
- func (s *SendMessageLiteServerOK) Decode(d *jx.Decoder) error
- func (s SendMessageLiteServerOK) Encode(e *jx.Encoder)
- func (s SendMessageLiteServerOK) GetCode() uint32
- func (s SendMessageLiteServerOK) MarshalJSON() ([]byte, error)
- func (s *SendMessageLiteServerOK) SetCode(val uint32)
- func (s *SendMessageLiteServerOK) UnmarshalJSON(data []byte) error
- type SendMessageLiteServerReq
- func (s *SendMessageLiteServerReq) Decode(d *jx.Decoder) error
- func (s SendMessageLiteServerReq) Encode(e *jx.Encoder)
- func (s SendMessageLiteServerReq) GetBody() string
- func (s SendMessageLiteServerReq) MarshalJSON() ([]byte, error)
- func (s *SendMessageLiteServerReq) SetBody(val string)
- func (s *SendMessageLiteServerReq) UnmarshalJSON(data []byte) error
- type SendMessageLiteServerRes
- type SendMessageOK
- type SendMessageReq
- type SendMessageRes
- type Seqno
- type Server
- type ServerOption
- func WithErrorHandler(h ErrorHandler) ServerOption
- func WithMaxMultipartMemory(max int64) ServerOption
- func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
- func WithMiddleware(m ...Middleware) ServerOption
- func WithNotFound(notFound http.HandlerFunc) ServerOption
- func WithPathPrefix(prefix string) ServerOption
- type SetWalletBackupOK
- type SetWalletBackupParams
- type SetWalletBackupReq
- type SetWalletBackupRes
- type SmartContractAction
- func (s *SmartContractAction) Decode(d *jx.Decoder) error
- func (s SmartContractAction) Encode(e *jx.Encoder)
- func (s SmartContractAction) GetContract() AccountAddress
- func (s SmartContractAction) GetExecutor() AccountAddress
- func (s SmartContractAction) GetOperation() string
- func (s SmartContractAction) GetPayload() OptString
- func (s SmartContractAction) GetRefund() OptRefund
- func (s SmartContractAction) GetTonAttached() int64
- func (s SmartContractAction) MarshalJSON() ([]byte, error)
- func (s *SmartContractAction) SetContract(val AccountAddress)
- func (s *SmartContractAction) SetExecutor(val AccountAddress)
- func (s *SmartContractAction) SetOperation(val string)
- func (s *SmartContractAction) SetPayload(val OptString)
- func (s *SmartContractAction) SetRefund(val OptRefund)
- func (s *SmartContractAction) SetTonAttached(val int64)
- func (s *SmartContractAction) UnmarshalJSON(data []byte) error
- func (s SmartContractAction) Validate() error
- type StakingPoolHistoryOK
- func (s *StakingPoolHistoryOK) Decode(d *jx.Decoder) error
- func (s StakingPoolHistoryOK) Encode(e *jx.Encoder)
- func (s StakingPoolHistoryOK) GetApy() []ApyHistory
- func (s StakingPoolHistoryOK) MarshalJSON() ([]byte, error)
- func (s *StakingPoolHistoryOK) SetApy(val []ApyHistory)
- func (s *StakingPoolHistoryOK) UnmarshalJSON(data []byte) error
- func (s StakingPoolHistoryOK) Validate() error
- type StakingPoolHistoryParams
- type StakingPoolHistoryRes
- type StakingPoolInfoOK
- func (s *StakingPoolInfoOK) Decode(d *jx.Decoder) error
- func (s StakingPoolInfoOK) Encode(e *jx.Encoder)
- func (s StakingPoolInfoOK) GetImplementation() PoolImplementation
- func (s StakingPoolInfoOK) GetPool() PoolInfo
- func (s StakingPoolInfoOK) MarshalJSON() ([]byte, error)
- func (s *StakingPoolInfoOK) SetImplementation(val PoolImplementation)
- func (s *StakingPoolInfoOK) SetPool(val PoolInfo)
- func (s *StakingPoolInfoOK) UnmarshalJSON(data []byte) error
- func (s StakingPoolInfoOK) Validate() error
- type StakingPoolInfoParams
- type StakingPoolInfoRes
- type StakingPoolsOK
- func (s *StakingPoolsOK) Decode(d *jx.Decoder) error
- func (s StakingPoolsOK) Encode(e *jx.Encoder)
- func (s StakingPoolsOK) GetImplementations() StakingPoolsOKImplementations
- func (s StakingPoolsOK) GetPools() []PoolInfo
- func (s StakingPoolsOK) MarshalJSON() ([]byte, error)
- func (s *StakingPoolsOK) SetImplementations(val StakingPoolsOKImplementations)
- func (s *StakingPoolsOK) SetPools(val []PoolInfo)
- func (s *StakingPoolsOK) UnmarshalJSON(data []byte) error
- func (s StakingPoolsOK) Validate() error
- type StakingPoolsOKImplementations
- type StakingPoolsParams
- type StakingPoolsRes
- type StateInit
- type StoragePhase
- func (s *StoragePhase) Decode(d *jx.Decoder) error
- func (s StoragePhase) Encode(e *jx.Encoder)
- func (s StoragePhase) GetFeesCollected() int64
- func (s StoragePhase) GetFeesDue() OptInt64
- func (s StoragePhase) GetStatusChange() AccStatusChange
- func (s StoragePhase) MarshalJSON() ([]byte, error)
- func (s *StoragePhase) SetFeesCollected(val int64)
- func (s *StoragePhase) SetFeesDue(val OptInt64)
- func (s *StoragePhase) SetStatusChange(val AccStatusChange)
- func (s *StoragePhase) UnmarshalJSON(data []byte) error
- func (s StoragePhase) Validate() error
- type StorageProvider
- func (s *StorageProvider) Decode(d *jx.Decoder) error
- func (s StorageProvider) Encode(e *jx.Encoder)
- func (s StorageProvider) GetAcceptNewContracts() bool
- func (s StorageProvider) GetAddress() string
- func (s StorageProvider) GetMaxSpan() int64
- func (s StorageProvider) GetMaximalFileSize() int64
- func (s StorageProvider) GetMinimalFileSize() int64
- func (s StorageProvider) GetRatePerMBDay() int64
- func (s StorageProvider) MarshalJSON() ([]byte, error)
- func (s *StorageProvider) SetAcceptNewContracts(val bool)
- func (s *StorageProvider) SetAddress(val string)
- func (s *StorageProvider) SetMaxSpan(val int64)
- func (s *StorageProvider) SetMaximalFileSize(val int64)
- func (s *StorageProvider) SetMinimalFileSize(val int64)
- func (s *StorageProvider) SetRatePerMBDay(val int64)
- func (s *StorageProvider) UnmarshalJSON(data []byte) error
- type Subscription
- func (s *Subscription) Decode(d *jx.Decoder) error
- func (s Subscription) Encode(e *jx.Encoder)
- func (s Subscription) GetAddress() string
- func (s Subscription) GetAmount() int64
- func (s Subscription) GetBeneficiaryAddress() string
- func (s Subscription) GetFailedAttempts() int32
- func (s Subscription) GetLastPaymentTime() int64
- func (s Subscription) GetLastRequestTime() int64
- func (s Subscription) GetPeriod() int64
- func (s Subscription) GetStartTime() int64
- func (s Subscription) GetSubscriptionID() int64
- func (s Subscription) GetTimeout() int64
- func (s Subscription) GetWalletAddress() string
- func (s Subscription) MarshalJSON() ([]byte, error)
- func (s *Subscription) SetAddress(val string)
- func (s *Subscription) SetAmount(val int64)
- func (s *Subscription) SetBeneficiaryAddress(val string)
- func (s *Subscription) SetFailedAttempts(val int32)
- func (s *Subscription) SetLastPaymentTime(val int64)
- func (s *Subscription) SetLastRequestTime(val int64)
- func (s *Subscription) SetPeriod(val int64)
- func (s *Subscription) SetStartTime(val int64)
- func (s *Subscription) SetSubscriptionID(val int64)
- func (s *Subscription) SetTimeout(val int64)
- func (s *Subscription) SetWalletAddress(val string)
- func (s *Subscription) UnmarshalJSON(data []byte) error
- type SubscriptionAction
- func (s *SubscriptionAction) Decode(d *jx.Decoder) error
- func (s SubscriptionAction) Encode(e *jx.Encoder)
- func (s SubscriptionAction) GetAmount() int64
- func (s SubscriptionAction) GetBeneficiary() AccountAddress
- func (s SubscriptionAction) GetInitial() bool
- func (s SubscriptionAction) GetSubscriber() AccountAddress
- func (s SubscriptionAction) GetSubscription() string
- func (s SubscriptionAction) MarshalJSON() ([]byte, error)
- func (s *SubscriptionAction) SetAmount(val int64)
- func (s *SubscriptionAction) SetBeneficiary(val AccountAddress)
- func (s *SubscriptionAction) SetInitial(val bool)
- func (s *SubscriptionAction) SetSubscriber(val AccountAddress)
- func (s *SubscriptionAction) SetSubscription(val string)
- func (s *SubscriptionAction) UnmarshalJSON(data []byte) error
- type Subscriptions
- func (s *Subscriptions) Decode(d *jx.Decoder) error
- func (s Subscriptions) Encode(e *jx.Encoder)
- func (s Subscriptions) GetSubscriptions() []Subscription
- func (s Subscriptions) MarshalJSON() ([]byte, error)
- func (s *Subscriptions) SetSubscriptions(val []Subscription)
- func (s *Subscriptions) UnmarshalJSON(data []byte) error
- func (s Subscriptions) Validate() error
- type TonConnectProofOK
- func (s *TonConnectProofOK) Decode(d *jx.Decoder) error
- func (s TonConnectProofOK) Encode(e *jx.Encoder)
- func (s TonConnectProofOK) GetToken() string
- func (s TonConnectProofOK) MarshalJSON() ([]byte, error)
- func (s *TonConnectProofOK) SetToken(val string)
- func (s *TonConnectProofOK) UnmarshalJSON(data []byte) error
- type TonConnectProofReq
- func (s *TonConnectProofReq) Decode(d *jx.Decoder) error
- func (s TonConnectProofReq) Encode(e *jx.Encoder)
- func (s TonConnectProofReq) GetAddress() string
- func (s TonConnectProofReq) GetProof() TonConnectProofReqProof
- func (s TonConnectProofReq) MarshalJSON() ([]byte, error)
- func (s *TonConnectProofReq) SetAddress(val string)
- func (s *TonConnectProofReq) SetProof(val TonConnectProofReqProof)
- func (s *TonConnectProofReq) UnmarshalJSON(data []byte) error
- type TonConnectProofReqProof
- func (s *TonConnectProofReqProof) Decode(d *jx.Decoder) error
- func (s TonConnectProofReqProof) Encode(e *jx.Encoder)
- func (s TonConnectProofReqProof) GetDomain() TonConnectProofReqProofDomain
- func (s TonConnectProofReqProof) GetPayload() string
- func (s TonConnectProofReqProof) GetSignature() string
- func (s TonConnectProofReqProof) GetStateInit() OptString
- func (s TonConnectProofReqProof) GetTimestamp() int64
- func (s TonConnectProofReqProof) MarshalJSON() ([]byte, error)
- func (s *TonConnectProofReqProof) SetDomain(val TonConnectProofReqProofDomain)
- func (s *TonConnectProofReqProof) SetPayload(val string)
- func (s *TonConnectProofReqProof) SetSignature(val string)
- func (s *TonConnectProofReqProof) SetStateInit(val OptString)
- func (s *TonConnectProofReqProof) SetTimestamp(val int64)
- func (s *TonConnectProofReqProof) UnmarshalJSON(data []byte) error
- type TonConnectProofReqProofDomain
- func (s *TonConnectProofReqProofDomain) Decode(d *jx.Decoder) error
- func (s TonConnectProofReqProofDomain) Encode(e *jx.Encoder)
- func (s TonConnectProofReqProofDomain) GetLengthBytes() OptUint32
- func (s TonConnectProofReqProofDomain) GetValue() string
- func (s TonConnectProofReqProofDomain) MarshalJSON() ([]byte, error)
- func (s *TonConnectProofReqProofDomain) SetLengthBytes(val OptUint32)
- func (s *TonConnectProofReqProofDomain) SetValue(val string)
- func (s *TonConnectProofReqProofDomain) UnmarshalJSON(data []byte) error
- type TonConnectProofRes
- type TonTransferAction
- func (s *TonTransferAction) Decode(d *jx.Decoder) error
- func (s TonTransferAction) Encode(e *jx.Encoder)
- func (s TonTransferAction) GetAmount() int64
- func (s TonTransferAction) GetComment() OptString
- func (s TonTransferAction) GetEncryptedComment() OptEncryptedComment
- func (s TonTransferAction) GetRecipient() AccountAddress
- func (s TonTransferAction) GetRefund() OptRefund
- func (s TonTransferAction) GetSender() AccountAddress
- func (s TonTransferAction) MarshalJSON() ([]byte, error)
- func (s *TonTransferAction) SetAmount(val int64)
- func (s *TonTransferAction) SetComment(val OptString)
- func (s *TonTransferAction) SetEncryptedComment(val OptEncryptedComment)
- func (s *TonTransferAction) SetRecipient(val AccountAddress)
- func (s *TonTransferAction) SetRefund(val OptRefund)
- func (s *TonTransferAction) SetSender(val AccountAddress)
- func (s *TonTransferAction) UnmarshalJSON(data []byte) error
- func (s TonTransferAction) Validate() error
- type Trace
- func (s *Trace) Decode(d *jx.Decoder) error
- func (s Trace) Encode(e *jx.Encoder)
- func (s Trace) GetChildren() []Trace
- func (s Trace) GetInterfaces() []string
- func (s Trace) GetTransaction() Transaction
- func (s Trace) MarshalJSON() ([]byte, error)
- func (s *Trace) SetChildren(val []Trace)
- func (s *Trace) SetInterfaces(val []string)
- func (s *Trace) SetTransaction(val Transaction)
- func (s *Trace) UnmarshalJSON(data []byte) error
- func (s Trace) Validate() error
- type TraceId
- func (s *TraceId) Decode(d *jx.Decoder) error
- func (s TraceId) Encode(e *jx.Encoder)
- func (s TraceId) GetID() string
- func (s TraceId) GetUtime() int64
- func (s TraceId) MarshalJSON() ([]byte, error)
- func (s *TraceId) SetID(val string)
- func (s *TraceId) SetUtime(val int64)
- func (s *TraceId) UnmarshalJSON(data []byte) error
- type TraceIds
- func (s *TraceIds) Decode(d *jx.Decoder) error
- func (s TraceIds) Encode(e *jx.Encoder)
- func (s TraceIds) GetTraces() []TraceId
- func (s TraceIds) MarshalJSON() ([]byte, error)
- func (s *TraceIds) SetTraces(val []TraceId)
- func (s *TraceIds) UnmarshalJSON(data []byte) error
- func (s TraceIds) Validate() error
- type Transaction
- func (s *Transaction) Decode(d *jx.Decoder) error
- func (s Transaction) Encode(e *jx.Encoder)
- func (s Transaction) GetAborted() bool
- func (s Transaction) GetAccount() AccountAddress
- func (s Transaction) GetActionPhase() OptActionPhase
- func (s Transaction) GetBlock() string
- func (s Transaction) GetBouncePhase() OptBouncePhaseType
- func (s Transaction) GetComputePhase() OptComputePhase
- func (s Transaction) GetCreditPhase() OptCreditPhase
- func (s Transaction) GetDestroyed() bool
- func (s Transaction) GetEndStatus() AccountStatus
- func (s Transaction) GetHash() string
- func (s Transaction) GetInMsg() OptMessage
- func (s Transaction) GetLt() int64
- func (s Transaction) GetOrigStatus() AccountStatus
- func (s Transaction) GetOutMsgs() []Message
- func (s Transaction) GetPrevTransHash() OptString
- func (s Transaction) GetPrevTransLt() OptInt64
- func (s Transaction) GetStateUpdateNew() string
- func (s Transaction) GetStateUpdateOld() string
- func (s Transaction) GetStoragePhase() OptStoragePhase
- func (s Transaction) GetSuccess() bool
- func (s Transaction) GetTotalFees() int64
- func (s Transaction) GetTransactionType() TransactionType
- func (s Transaction) GetUtime() int64
- func (s Transaction) MarshalJSON() ([]byte, error)
- func (s *Transaction) SetAborted(val bool)
- func (s *Transaction) SetAccount(val AccountAddress)
- func (s *Transaction) SetActionPhase(val OptActionPhase)
- func (s *Transaction) SetBlock(val string)
- func (s *Transaction) SetBouncePhase(val OptBouncePhaseType)
- func (s *Transaction) SetComputePhase(val OptComputePhase)
- func (s *Transaction) SetCreditPhase(val OptCreditPhase)
- func (s *Transaction) SetDestroyed(val bool)
- func (s *Transaction) SetEndStatus(val AccountStatus)
- func (s *Transaction) SetHash(val string)
- func (s *Transaction) SetInMsg(val OptMessage)
- func (s *Transaction) SetLt(val int64)
- func (s *Transaction) SetOrigStatus(val AccountStatus)
- func (s *Transaction) SetOutMsgs(val []Message)
- func (s *Transaction) SetPrevTransHash(val OptString)
- func (s *Transaction) SetPrevTransLt(val OptInt64)
- func (s *Transaction) SetStateUpdateNew(val string)
- func (s *Transaction) SetStateUpdateOld(val string)
- func (s *Transaction) SetStoragePhase(val OptStoragePhase)
- func (s *Transaction) SetSuccess(val bool)
- func (s *Transaction) SetTotalFees(val int64)
- func (s *Transaction) SetTransactionType(val TransactionType)
- func (s *Transaction) SetUtime(val int64)
- func (s *Transaction) UnmarshalJSON(data []byte) error
- func (s Transaction) Validate() error
- type TransactionType
- type Transactions
- func (s *Transactions) Decode(d *jx.Decoder) error
- func (s Transactions) Encode(e *jx.Encoder)
- func (s Transactions) GetTransactions() []Transaction
- func (s Transactions) MarshalJSON() ([]byte, error)
- func (s *Transactions) SetTransactions(val []Transaction)
- func (s *Transactions) UnmarshalJSON(data []byte) error
- func (s Transactions) Validate() error
- type TvmStackRecord
- func (s *TvmStackRecord) Decode(d *jx.Decoder) error
- func (s TvmStackRecord) Encode(e *jx.Encoder)
- func (s TvmStackRecord) GetCell() OptString
- func (s TvmStackRecord) GetNum() OptString
- func (s TvmStackRecord) GetSlice() OptString
- func (s TvmStackRecord) GetTuple() []TvmStackRecord
- func (s TvmStackRecord) GetType() TvmStackRecordType
- func (s TvmStackRecord) MarshalJSON() ([]byte, error)
- func (s *TvmStackRecord) SetCell(val OptString)
- func (s *TvmStackRecord) SetNum(val OptString)
- func (s *TvmStackRecord) SetSlice(val OptString)
- func (s *TvmStackRecord) SetTuple(val []TvmStackRecord)
- func (s *TvmStackRecord) SetType(val TvmStackRecordType)
- func (s *TvmStackRecord) UnmarshalJSON(data []byte) error
- func (s TvmStackRecord) Validate() error
- type TvmStackRecordType
- type UnSubscriptionAction
- func (s *UnSubscriptionAction) Decode(d *jx.Decoder) error
- func (s UnSubscriptionAction) Encode(e *jx.Encoder)
- func (s UnSubscriptionAction) GetBeneficiary() AccountAddress
- func (s UnSubscriptionAction) GetSubscriber() AccountAddress
- func (s UnSubscriptionAction) GetSubscription() string
- func (s UnSubscriptionAction) MarshalJSON() ([]byte, error)
- func (s *UnSubscriptionAction) SetBeneficiary(val AccountAddress)
- func (s *UnSubscriptionAction) SetSubscriber(val AccountAddress)
- func (s *UnSubscriptionAction) SetSubscription(val string)
- func (s *UnSubscriptionAction) UnmarshalJSON(data []byte) error
- type UnauthorizedError
- func (s *UnauthorizedError) Decode(d *jx.Decoder) error
- func (s UnauthorizedError) Encode(e *jx.Encoder)
- func (s UnauthorizedError) GetError() string
- func (s UnauthorizedError) MarshalJSON() ([]byte, error)
- func (s *UnauthorizedError) SetError(val string)
- func (s *UnauthorizedError) UnmarshalJSON(data []byte) error
- type UnimplementedHandler
- func (UnimplementedHandler) DnsBackResolve(ctx context.Context, params DnsBackResolveParams) (r DnsBackResolveRes, _ error)
- func (UnimplementedHandler) DnsInfo(ctx context.Context, params DnsInfoParams) (r DnsInfoRes, _ error)
- func (UnimplementedHandler) DnsResolve(ctx context.Context, params DnsResolveParams) (r DnsResolveRes, _ error)
- func (UnimplementedHandler) EmulateMessageToAccountEvent(ctx context.Context, req EmulateMessageToAccountEventReq, ...) (r EmulateMessageToAccountEventRes, _ error)
- func (UnimplementedHandler) EmulateMessageToEvent(ctx context.Context, req EmulateMessageToEventReq, ...) (r EmulateMessageToEventRes, _ error)
- func (UnimplementedHandler) EmulateMessageToTrace(ctx context.Context, req EmulateMessageToTraceReq) (r EmulateMessageToTraceRes, _ error)
- func (UnimplementedHandler) EmulateWalletMessage(ctx context.Context, req EmulateWalletMessageReq, ...) (r EmulateWalletMessageRes, _ error)
- func (UnimplementedHandler) ExecGetMethod(ctx context.Context, params ExecGetMethodParams) (r ExecGetMethodRes, _ error)
- func (UnimplementedHandler) GetAccount(ctx context.Context, params GetAccountParams) (r GetAccountRes, _ error)
- func (UnimplementedHandler) GetAccountInfoByStateInit(ctx context.Context, req GetAccountInfoByStateInitReq) (r GetAccountInfoByStateInitRes, _ error)
- func (UnimplementedHandler) GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (r GetAccountSeqnoRes, _ error)
- func (UnimplementedHandler) GetAccountStateLiteServer(ctx context.Context, params GetAccountStateLiteServerParams) (r GetAccountStateLiteServerRes, _ error)
- func (UnimplementedHandler) GetAccountTransactions(ctx context.Context, params GetAccountTransactionsParams) (r GetAccountTransactionsRes, _ error)
- func (UnimplementedHandler) GetAccounts(ctx context.Context, req OptGetAccountsReq) (r GetAccountsRes, _ error)
- func (UnimplementedHandler) GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (r GetAllAuctionsRes, _ error)
- func (UnimplementedHandler) GetAllShardsInfoLiteServer(ctx context.Context, params GetAllShardsInfoLiteServerParams) (r GetAllShardsInfoLiteServerRes, _ error)
- func (UnimplementedHandler) GetBlock(ctx context.Context, params GetBlockParams) (r GetBlockRes, _ error)
- func (UnimplementedHandler) GetBlockHeaderLiteServer(ctx context.Context, params GetBlockHeaderLiteServerParams) (r GetBlockHeaderLiteServerRes, _ error)
- func (UnimplementedHandler) GetBlockLiteServer(ctx context.Context, params GetBlockLiteServerParams) (r GetBlockLiteServerRes, _ error)
- func (UnimplementedHandler) GetBlockProofLiteServer(ctx context.Context, params GetBlockProofLiteServerParams) (r GetBlockProofLiteServerRes, _ error)
- func (UnimplementedHandler) GetBlockTransactions(ctx context.Context, params GetBlockTransactionsParams) (r GetBlockTransactionsRes, _ error)
- func (UnimplementedHandler) GetConfig(ctx context.Context) (r GetConfigRes, _ error)
- func (UnimplementedHandler) GetConfigAllLiteServer(ctx context.Context, params GetConfigAllLiteServerParams) (r GetConfigAllLiteServerRes, _ error)
- func (UnimplementedHandler) GetDnsExpiring(ctx context.Context, params GetDnsExpiringParams) (r GetDnsExpiringRes, _ error)
- func (UnimplementedHandler) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (r GetDomainBidsRes, _ error)
- func (UnimplementedHandler) GetEvent(ctx context.Context, params GetEventParams) (r GetEventRes, _ error)
- func (UnimplementedHandler) GetEventsByAccount(ctx context.Context, params GetEventsByAccountParams) (r GetEventsByAccountRes, _ error)
- func (UnimplementedHandler) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (r GetItemsFromCollectionRes, _ error)
- func (UnimplementedHandler) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (r GetJettonInfoRes, _ error)
- func (UnimplementedHandler) GetJettons(ctx context.Context, params GetJettonsParams) (r GetJettonsRes, _ error)
- func (UnimplementedHandler) GetJettonsBalances(ctx context.Context, params GetJettonsBalancesParams) (r GetJettonsBalancesRes, _ error)
- func (UnimplementedHandler) GetJettonsHistory(ctx context.Context, params GetJettonsHistoryParams) (r GetJettonsHistoryRes, _ error)
- func (UnimplementedHandler) GetJettonsHistoryByID(ctx context.Context, params GetJettonsHistoryByIDParams) (r GetJettonsHistoryByIDRes, _ error)
- func (UnimplementedHandler) GetListBlockTransactionsLiteServer(ctx context.Context, params GetListBlockTransactionsLiteServerParams) (r GetListBlockTransactionsLiteServerRes, _ error)
- func (UnimplementedHandler) GetMasterchainHead(ctx context.Context) (r GetMasterchainHeadRes, _ error)
- func (UnimplementedHandler) GetMasterchainInfoExtLiteServer(ctx context.Context, params GetMasterchainInfoExtLiteServerParams) (r GetMasterchainInfoExtLiteServerRes, _ error)
- func (UnimplementedHandler) GetMasterchainInfoLiteServer(ctx context.Context) (r GetMasterchainInfoLiteServerRes, _ error)
- func (UnimplementedHandler) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (r GetNftCollectionRes, _ error)
- func (UnimplementedHandler) GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (r GetNftCollectionsRes, _ error)
- func (UnimplementedHandler) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (r GetNftItemByAddressRes, _ error)
- func (UnimplementedHandler) GetNftItemsByAddresses(ctx context.Context, req OptGetNftItemsByAddressesReq) (r GetNftItemsByAddressesRes, _ error)
- func (UnimplementedHandler) GetNftItemsByOwner(ctx context.Context, params GetNftItemsByOwnerParams) (r GetNftItemsByOwnerRes, _ error)
- func (UnimplementedHandler) GetPublicKeyByAccountID(ctx context.Context, params GetPublicKeyByAccountIDParams) (r GetPublicKeyByAccountIDRes, _ error)
- func (UnimplementedHandler) GetRates(ctx context.Context, params GetRatesParams) (r GetRatesRes, _ error)
- func (UnimplementedHandler) GetRawAccount(ctx context.Context, params GetRawAccountParams) (r GetRawAccountRes, _ error)
- func (UnimplementedHandler) GetSearchAccounts(ctx context.Context, params GetSearchAccountsParams) (r GetSearchAccountsRes, _ error)
- func (UnimplementedHandler) GetShardBlockProofLiteServer(ctx context.Context, params GetShardBlockProofLiteServerParams) (r GetShardBlockProofLiteServerRes, _ error)
- func (UnimplementedHandler) GetShardInfoLiteServer(ctx context.Context, params GetShardInfoLiteServerParams) (r GetShardInfoLiteServerRes, _ error)
- func (UnimplementedHandler) GetStateLiteServer(ctx context.Context, params GetStateLiteServerParams) (r GetStateLiteServerRes, _ error)
- func (UnimplementedHandler) GetStorageProviders(ctx context.Context) (r GetStorageProvidersRes, _ error)
- func (UnimplementedHandler) GetSubscriptionsByAccount(ctx context.Context, params GetSubscriptionsByAccountParams) (r GetSubscriptionsByAccountRes, _ error)
- func (UnimplementedHandler) GetTimeLiteServer(ctx context.Context) (r GetTimeLiteServerRes, _ error)
- func (UnimplementedHandler) GetTonConnectPayload(ctx context.Context) (r GetTonConnectPayloadRes, _ error)
- func (UnimplementedHandler) GetTrace(ctx context.Context, params GetTraceParams) (r GetTraceRes, _ error)
- func (UnimplementedHandler) GetTracesByAccount(ctx context.Context, params GetTracesByAccountParams) (r GetTracesByAccountRes, _ error)
- func (UnimplementedHandler) GetTransaction(ctx context.Context, params GetTransactionParams) (r GetTransactionRes, _ error)
- func (UnimplementedHandler) GetTransactionByMessageHash(ctx context.Context, params GetTransactionByMessageHashParams) (r GetTransactionByMessageHashRes, _ error)
- func (UnimplementedHandler) GetTransactionsLiteServer(ctx context.Context, params GetTransactionsLiteServerParams) (r GetTransactionsLiteServerRes, _ error)
- func (UnimplementedHandler) GetValidators(ctx context.Context) (r GetValidatorsRes, _ error)
- func (UnimplementedHandler) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (r GetWalletBackupRes, _ error)
- func (UnimplementedHandler) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (r GetWalletsByPublicKeyRes, _ error)
- func (UnimplementedHandler) PoolsByNominators(ctx context.Context, params PoolsByNominatorsParams) (r PoolsByNominatorsRes, _ error)
- func (UnimplementedHandler) ReindexAccount(ctx context.Context, params ReindexAccountParams) (r ReindexAccountRes, _ error)
- func (UnimplementedHandler) SendMessage(ctx context.Context, req SendMessageReq) (r SendMessageRes, _ error)
- func (UnimplementedHandler) SendMessageLiteServer(ctx context.Context, req SendMessageLiteServerReq) (r SendMessageLiteServerRes, _ error)
- func (UnimplementedHandler) SetWalletBackup(ctx context.Context, req SetWalletBackupReq, params SetWalletBackupParams) (r SetWalletBackupRes, _ error)
- func (UnimplementedHandler) StakingPoolHistory(ctx context.Context, params StakingPoolHistoryParams) (r StakingPoolHistoryRes, _ error)
- func (UnimplementedHandler) StakingPoolInfo(ctx context.Context, params StakingPoolInfoParams) (r StakingPoolInfoRes, _ error)
- func (UnimplementedHandler) StakingPools(ctx context.Context, params StakingPoolsParams) (r StakingPoolsRes, _ error)
- func (UnimplementedHandler) TonConnectProof(ctx context.Context, req TonConnectProofReq) (r TonConnectProofRes, _ error)
- type Validator
- type Validators
- func (s *Validators) Decode(d *jx.Decoder) error
- func (s Validators) Encode(e *jx.Encoder)
- func (s Validators) GetValidators() []Validator
- func (s Validators) MarshalJSON() ([]byte, error)
- func (s *Validators) SetValidators(val []Validator)
- func (s *Validators) UnmarshalJSON(data []byte) error
- func (s Validators) Validate() error
- type ValidatorsSet
- func (s *ValidatorsSet) Decode(d *jx.Decoder) error
- func (s ValidatorsSet) Encode(e *jx.Encoder)
- func (s ValidatorsSet) GetList() []ValidatorsSetListItem
- func (s ValidatorsSet) GetMain() int
- func (s ValidatorsSet) GetTotal() int
- func (s ValidatorsSet) GetTotalWeight() OptInt
- func (s ValidatorsSet) GetUtimeSince() int
- func (s ValidatorsSet) GetUtimeUntil() int
- func (s ValidatorsSet) MarshalJSON() ([]byte, error)
- func (s *ValidatorsSet) SetList(val []ValidatorsSetListItem)
- func (s *ValidatorsSet) SetMain(val int)
- func (s *ValidatorsSet) SetTotal(val int)
- func (s *ValidatorsSet) SetTotalWeight(val OptInt)
- func (s *ValidatorsSet) SetUtimeSince(val int)
- func (s *ValidatorsSet) SetUtimeUntil(val int)
- func (s *ValidatorsSet) UnmarshalJSON(data []byte) error
- func (s ValidatorsSet) Validate() error
- type ValidatorsSetListItem
- func (s *ValidatorsSetListItem) Decode(d *jx.Decoder) error
- func (s ValidatorsSetListItem) Encode(e *jx.Encoder)
- func (s ValidatorsSetListItem) GetPublicKey() string
- func (s ValidatorsSetListItem) MarshalJSON() ([]byte, error)
- func (s *ValidatorsSetListItem) SetPublicKey(val string)
- func (s *ValidatorsSetListItem) UnmarshalJSON(data []byte) error
- type ValueFlow
- func (s *ValueFlow) Decode(d *jx.Decoder) error
- func (s ValueFlow) Encode(e *jx.Encoder)
- func (s ValueFlow) GetAccount() AccountAddress
- func (s ValueFlow) GetFees() int64
- func (s ValueFlow) GetJettons() []ValueFlowJettonsItem
- func (s ValueFlow) GetTon() int64
- func (s ValueFlow) MarshalJSON() ([]byte, error)
- func (s *ValueFlow) SetAccount(val AccountAddress)
- func (s *ValueFlow) SetFees(val int64)
- func (s *ValueFlow) SetJettons(val []ValueFlowJettonsItem)
- func (s *ValueFlow) SetTon(val int64)
- func (s *ValueFlow) UnmarshalJSON(data []byte) error
- type ValueFlowJettonsItem
- func (s *ValueFlowJettonsItem) Decode(d *jx.Decoder) error
- func (s ValueFlowJettonsItem) Encode(e *jx.Encoder)
- func (s ValueFlowJettonsItem) GetAccount() AccountAddress
- func (s ValueFlowJettonsItem) GetQuantity() int64
- func (s ValueFlowJettonsItem) MarshalJSON() ([]byte, error)
- func (s *ValueFlowJettonsItem) SetAccount(val AccountAddress)
- func (s *ValueFlowJettonsItem) SetQuantity(val int64)
- func (s *ValueFlowJettonsItem) UnmarshalJSON(data []byte) error
- type WalletDNS
- func (s *WalletDNS) Decode(d *jx.Decoder) error
- func (s WalletDNS) Encode(e *jx.Encoder)
- func (s WalletDNS) GetAddress() string
- func (s WalletDNS) GetHasMethodPubkey() bool
- func (s WalletDNS) GetHasMethodSeqno() bool
- func (s WalletDNS) GetIsWallet() bool
- func (s WalletDNS) GetNames() []string
- func (s WalletDNS) MarshalJSON() ([]byte, error)
- func (s *WalletDNS) SetAddress(val string)
- func (s *WalletDNS) SetHasMethodPubkey(val bool)
- func (s *WalletDNS) SetHasMethodSeqno(val bool)
- func (s *WalletDNS) SetIsWallet(val bool)
- func (s *WalletDNS) SetNames(val []string)
- func (s *WalletDNS) UnmarshalJSON(data []byte) error
- func (s WalletDNS) Validate() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccStatusChange ¶
type AccStatusChange string
Ref: #/components/schemas/AccStatusChange
const ( AccStatusChangeAcstUnchanged AccStatusChange = "acst_unchanged" AccStatusChangeAcstFrozen AccStatusChange = "acst_frozen" AccStatusChangeAcstDeleted AccStatusChange = "acst_deleted" )
func (*AccStatusChange) Decode ¶
func (s *AccStatusChange) Decode(d *jx.Decoder) error
Decode decodes AccStatusChange from json.
func (AccStatusChange) Encode ¶
func (s AccStatusChange) Encode(e *jx.Encoder)
Encode encodes AccStatusChange as json.
func (AccStatusChange) MarshalJSON ¶
func (s AccStatusChange) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccStatusChange) UnmarshalJSON ¶
func (s *AccStatusChange) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AccStatusChange) Validate ¶
func (s AccStatusChange) Validate() error
type Account ¶
type Account struct { Address string `json:"address"` Balance int64 `json:"balance"` // Unix timestamp. LastActivity int64 `json:"last_activity"` Status string `json:"status"` Interfaces []string `json:"interfaces"` Name OptString `json:"name"` IsScam OptBool `json:"is_scam"` Icon OptString `json:"icon"` MemoRequired OptBool `json:"memo_required"` GetMethods []string `json:"get_methods"` }
Ref: #/components/schemas/Account
func (Account) GetAddress ¶
GetAddress returns the value of Address.
func (Account) GetBalance ¶
GetBalance returns the value of Balance.
func (Account) GetGetMethods ¶
GetGetMethods returns the value of GetMethods.
func (Account) GetInterfaces ¶
GetInterfaces returns the value of Interfaces.
func (Account) GetLastActivity ¶
GetLastActivity returns the value of LastActivity.
func (Account) GetMemoRequired ¶
GetMemoRequired returns the value of MemoRequired.
func (Account) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Account) SetAddress ¶
SetAddress sets the value of Address.
func (*Account) SetBalance ¶
SetBalance sets the value of Balance.
func (*Account) SetGetMethods ¶
SetGetMethods sets the value of GetMethods.
func (*Account) SetInterfaces ¶
SetInterfaces sets the value of Interfaces.
func (*Account) SetLastActivity ¶
SetLastActivity sets the value of LastActivity.
func (*Account) SetMemoRequired ¶
SetMemoRequired sets the value of MemoRequired.
func (*Account) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountAddress ¶
type AccountAddress struct { Address string `json:"address"` // Display name. Data collected from different sources like moderation lists, dns, collections names // and over. Name OptString `json:"name"` // Is this account was marked as part of scammers activity. IsScam bool `json:"is_scam"` Icon OptString `json:"icon"` }
Ref: #/components/schemas/AccountAddress
func (*AccountAddress) Decode ¶
func (s *AccountAddress) Decode(d *jx.Decoder) error
Decode decodes AccountAddress from json.
func (AccountAddress) Encode ¶
func (s AccountAddress) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountAddress) GetAddress ¶
func (s AccountAddress) GetAddress() string
GetAddress returns the value of Address.
func (AccountAddress) GetIcon ¶
func (s AccountAddress) GetIcon() OptString
GetIcon returns the value of Icon.
func (AccountAddress) GetIsScam ¶
func (s AccountAddress) GetIsScam() bool
GetIsScam returns the value of IsScam.
func (AccountAddress) GetName ¶
func (s AccountAddress) GetName() OptString
GetName returns the value of Name.
func (AccountAddress) MarshalJSON ¶
func (s AccountAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountAddress) SetAddress ¶
func (s *AccountAddress) SetAddress(val string)
SetAddress sets the value of Address.
func (*AccountAddress) SetIcon ¶
func (s *AccountAddress) SetIcon(val OptString)
SetIcon sets the value of Icon.
func (*AccountAddress) SetIsScam ¶
func (s *AccountAddress) SetIsScam(val bool)
SetIsScam sets the value of IsScam.
func (*AccountAddress) SetName ¶
func (s *AccountAddress) SetName(val OptString)
SetName sets the value of Name.
func (*AccountAddress) UnmarshalJSON ¶
func (s *AccountAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountEvent ¶
type AccountEvent struct { EventID string `json:"event_id"` Account AccountAddress `json:"account"` Timestamp int64 `json:"timestamp"` Actions []Action `json:"actions"` // Scam. IsScam bool `json:"is_scam"` Lt int64 `json:"lt"` // Event is not finished yet. Transactions still happening. InProgress bool `json:"in_progress"` // TODO. Extra int64 `json:"extra"` }
An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time. Ref: #/components/schemas/AccountEvent
func (*AccountEvent) Decode ¶
func (s *AccountEvent) Decode(d *jx.Decoder) error
Decode decodes AccountEvent from json.
func (AccountEvent) Encode ¶
func (s AccountEvent) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountEvent) GetAccount ¶
func (s AccountEvent) GetAccount() AccountAddress
GetAccount returns the value of Account.
func (AccountEvent) GetActions ¶
func (s AccountEvent) GetActions() []Action
GetActions returns the value of Actions.
func (AccountEvent) GetEventID ¶
func (s AccountEvent) GetEventID() string
GetEventID returns the value of EventID.
func (AccountEvent) GetExtra ¶
func (s AccountEvent) GetExtra() int64
GetExtra returns the value of Extra.
func (AccountEvent) GetInProgress ¶
func (s AccountEvent) GetInProgress() bool
GetInProgress returns the value of InProgress.
func (AccountEvent) GetIsScam ¶
func (s AccountEvent) GetIsScam() bool
GetIsScam returns the value of IsScam.
func (AccountEvent) GetTimestamp ¶
func (s AccountEvent) GetTimestamp() int64
GetTimestamp returns the value of Timestamp.
func (AccountEvent) MarshalJSON ¶
func (s AccountEvent) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountEvent) SetAccount ¶
func (s *AccountEvent) SetAccount(val AccountAddress)
SetAccount sets the value of Account.
func (*AccountEvent) SetActions ¶
func (s *AccountEvent) SetActions(val []Action)
SetActions sets the value of Actions.
func (*AccountEvent) SetEventID ¶
func (s *AccountEvent) SetEventID(val string)
SetEventID sets the value of EventID.
func (*AccountEvent) SetExtra ¶
func (s *AccountEvent) SetExtra(val int64)
SetExtra sets the value of Extra.
func (*AccountEvent) SetInProgress ¶
func (s *AccountEvent) SetInProgress(val bool)
SetInProgress sets the value of InProgress.
func (*AccountEvent) SetIsScam ¶
func (s *AccountEvent) SetIsScam(val bool)
SetIsScam sets the value of IsScam.
func (*AccountEvent) SetTimestamp ¶
func (s *AccountEvent) SetTimestamp(val int64)
SetTimestamp sets the value of Timestamp.
func (*AccountEvent) UnmarshalJSON ¶
func (s *AccountEvent) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AccountEvent) Validate ¶
func (s AccountEvent) Validate() error
type AccountEvents ¶
type AccountEvents struct { Events []AccountEvent `json:"events"` NextFrom int64 `json:"next_from"` }
Ref: #/components/schemas/AccountEvents
func (*AccountEvents) Decode ¶
func (s *AccountEvents) Decode(d *jx.Decoder) error
Decode decodes AccountEvents from json.
func (AccountEvents) Encode ¶
func (s AccountEvents) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountEvents) GetEvents ¶
func (s AccountEvents) GetEvents() []AccountEvent
GetEvents returns the value of Events.
func (AccountEvents) GetNextFrom ¶
func (s AccountEvents) GetNextFrom() int64
GetNextFrom returns the value of NextFrom.
func (AccountEvents) MarshalJSON ¶
func (s AccountEvents) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountEvents) SetEvents ¶
func (s *AccountEvents) SetEvents(val []AccountEvent)
SetEvents sets the value of Events.
func (*AccountEvents) SetNextFrom ¶
func (s *AccountEvents) SetNextFrom(val int64)
SetNextFrom sets the value of NextFrom.
func (*AccountEvents) UnmarshalJSON ¶
func (s *AccountEvents) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AccountEvents) Validate ¶
func (s AccountEvents) Validate() error
type AccountInfoByStateInit ¶
type AccountInfoByStateInit struct { PublicKey string `json:"public_key"` Address string `json:"address"` }
Ref: #/components/schemas/AccountInfoByStateInit
func (*AccountInfoByStateInit) Decode ¶
func (s *AccountInfoByStateInit) Decode(d *jx.Decoder) error
Decode decodes AccountInfoByStateInit from json.
func (AccountInfoByStateInit) Encode ¶
func (s AccountInfoByStateInit) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountInfoByStateInit) GetAddress ¶
func (s AccountInfoByStateInit) GetAddress() string
GetAddress returns the value of Address.
func (AccountInfoByStateInit) GetPublicKey ¶
func (s AccountInfoByStateInit) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (AccountInfoByStateInit) MarshalJSON ¶
func (s AccountInfoByStateInit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountInfoByStateInit) SetAddress ¶
func (s *AccountInfoByStateInit) SetAddress(val string)
SetAddress sets the value of Address.
func (*AccountInfoByStateInit) SetPublicKey ¶
func (s *AccountInfoByStateInit) SetPublicKey(val string)
SetPublicKey sets the value of PublicKey.
func (*AccountInfoByStateInit) UnmarshalJSON ¶
func (s *AccountInfoByStateInit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountStaking ¶
type AccountStaking struct {
Pools []AccountStakingInfo `json:"pools"`
}
Ref: #/components/schemas/AccountStaking
func (*AccountStaking) Decode ¶
func (s *AccountStaking) Decode(d *jx.Decoder) error
Decode decodes AccountStaking from json.
func (AccountStaking) Encode ¶
func (s AccountStaking) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountStaking) GetPools ¶
func (s AccountStaking) GetPools() []AccountStakingInfo
GetPools returns the value of Pools.
func (AccountStaking) MarshalJSON ¶
func (s AccountStaking) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountStaking) SetPools ¶
func (s *AccountStaking) SetPools(val []AccountStakingInfo)
SetPools sets the value of Pools.
func (*AccountStaking) UnmarshalJSON ¶
func (s *AccountStaking) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AccountStaking) Validate ¶
func (s AccountStaking) Validate() error
type AccountStakingInfo ¶
type AccountStakingInfo struct { Pool string `json:"pool"` Amount int64 `json:"amount"` PendingDeposit int64 `json:"pending_deposit"` PendingWithdraw int64 `json:"pending_withdraw"` ReadyWithdraw int64 `json:"ready_withdraw"` }
Ref: #/components/schemas/AccountStakingInfo
func (*AccountStakingInfo) Decode ¶
func (s *AccountStakingInfo) Decode(d *jx.Decoder) error
Decode decodes AccountStakingInfo from json.
func (AccountStakingInfo) Encode ¶
func (s AccountStakingInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountStakingInfo) GetAmount ¶
func (s AccountStakingInfo) GetAmount() int64
GetAmount returns the value of Amount.
func (AccountStakingInfo) GetPendingDeposit ¶
func (s AccountStakingInfo) GetPendingDeposit() int64
GetPendingDeposit returns the value of PendingDeposit.
func (AccountStakingInfo) GetPendingWithdraw ¶
func (s AccountStakingInfo) GetPendingWithdraw() int64
GetPendingWithdraw returns the value of PendingWithdraw.
func (AccountStakingInfo) GetPool ¶
func (s AccountStakingInfo) GetPool() string
GetPool returns the value of Pool.
func (AccountStakingInfo) GetReadyWithdraw ¶
func (s AccountStakingInfo) GetReadyWithdraw() int64
GetReadyWithdraw returns the value of ReadyWithdraw.
func (AccountStakingInfo) MarshalJSON ¶
func (s AccountStakingInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountStakingInfo) SetAmount ¶
func (s *AccountStakingInfo) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*AccountStakingInfo) SetPendingDeposit ¶
func (s *AccountStakingInfo) SetPendingDeposit(val int64)
SetPendingDeposit sets the value of PendingDeposit.
func (*AccountStakingInfo) SetPendingWithdraw ¶
func (s *AccountStakingInfo) SetPendingWithdraw(val int64)
SetPendingWithdraw sets the value of PendingWithdraw.
func (*AccountStakingInfo) SetPool ¶
func (s *AccountStakingInfo) SetPool(val string)
SetPool sets the value of Pool.
func (*AccountStakingInfo) SetReadyWithdraw ¶
func (s *AccountStakingInfo) SetReadyWithdraw(val int64)
SetReadyWithdraw sets the value of ReadyWithdraw.
func (*AccountStakingInfo) UnmarshalJSON ¶
func (s *AccountStakingInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AccountStatus ¶
type AccountStatus string
Ref: #/components/schemas/AccountStatus
const ( AccountStatusNonexist AccountStatus = "nonexist" AccountStatusUninit AccountStatus = "uninit" AccountStatusActive AccountStatus = "active" AccountStatusFrozen AccountStatus = "frozen" )
func (*AccountStatus) Decode ¶
func (s *AccountStatus) Decode(d *jx.Decoder) error
Decode decodes AccountStatus from json.
func (AccountStatus) Encode ¶
func (s AccountStatus) Encode(e *jx.Encoder)
Encode encodes AccountStatus as json.
func (AccountStatus) MarshalJSON ¶
func (s AccountStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountStatus) UnmarshalJSON ¶
func (s *AccountStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AccountStatus) Validate ¶
func (s AccountStatus) Validate() error
type AccountStorageInfo ¶
type AccountStorageInfo struct { UsedCells int64 `json:"used_cells"` UsedBits int64 `json:"used_bits"` UsedPublicCells int64 `json:"used_public_cells"` LastPaid int64 `json:"last_paid"` DuePayment int64 `json:"due_payment"` }
Ref: #/components/schemas/AccountStorageInfo
func (*AccountStorageInfo) Decode ¶
func (s *AccountStorageInfo) Decode(d *jx.Decoder) error
Decode decodes AccountStorageInfo from json.
func (AccountStorageInfo) Encode ¶
func (s AccountStorageInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AccountStorageInfo) GetDuePayment ¶
func (s AccountStorageInfo) GetDuePayment() int64
GetDuePayment returns the value of DuePayment.
func (AccountStorageInfo) GetLastPaid ¶
func (s AccountStorageInfo) GetLastPaid() int64
GetLastPaid returns the value of LastPaid.
func (AccountStorageInfo) GetUsedBits ¶
func (s AccountStorageInfo) GetUsedBits() int64
GetUsedBits returns the value of UsedBits.
func (AccountStorageInfo) GetUsedCells ¶
func (s AccountStorageInfo) GetUsedCells() int64
GetUsedCells returns the value of UsedCells.
func (AccountStorageInfo) GetUsedPublicCells ¶
func (s AccountStorageInfo) GetUsedPublicCells() int64
GetUsedPublicCells returns the value of UsedPublicCells.
func (AccountStorageInfo) MarshalJSON ¶
func (s AccountStorageInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AccountStorageInfo) SetDuePayment ¶
func (s *AccountStorageInfo) SetDuePayment(val int64)
SetDuePayment sets the value of DuePayment.
func (*AccountStorageInfo) SetLastPaid ¶
func (s *AccountStorageInfo) SetLastPaid(val int64)
SetLastPaid sets the value of LastPaid.
func (*AccountStorageInfo) SetUsedBits ¶
func (s *AccountStorageInfo) SetUsedBits(val int64)
SetUsedBits sets the value of UsedBits.
func (*AccountStorageInfo) SetUsedCells ¶
func (s *AccountStorageInfo) SetUsedCells(val int64)
SetUsedCells sets the value of UsedCells.
func (*AccountStorageInfo) SetUsedPublicCells ¶
func (s *AccountStorageInfo) SetUsedPublicCells(val int64)
SetUsedPublicCells sets the value of UsedPublicCells.
func (*AccountStorageInfo) UnmarshalJSON ¶
func (s *AccountStorageInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Accounts ¶
type Accounts struct {
Accounts []Account `json:"accounts"`
}
Ref: #/components/schemas/Accounts
func (Accounts) GetAccounts ¶
GetAccounts returns the value of Accounts.
func (Accounts) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Accounts) SetAccounts ¶
SetAccounts sets the value of Accounts.
func (*Accounts) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Action ¶
type Action struct { Type ActionType `json:"type"` Status ActionStatus `json:"status"` TonTransfer OptTonTransferAction `json:"TonTransfer"` ContractDeploy OptContractDeployAction `json:"ContractDeploy"` JettonTransfer OptJettonTransferAction `json:"JettonTransfer"` NftItemTransfer OptNftItemTransferAction `json:"NftItemTransfer"` Subscribe OptSubscriptionAction `json:"Subscribe"` UnSubscribe OptUnSubscriptionAction `json:"UnSubscribe"` AuctionBid OptAuctionBidAction `json:"AuctionBid"` NftPurchase OptNftPurchaseAction `json:"NftPurchase"` DepositStake OptDepositStakeAction `json:"DepositStake"` RecoverStake OptRecoverStakeAction `json:"RecoverStake"` STONfiSwap OptSTONfiSwapAction `json:"STONfiSwap"` SmartContractExec OptSmartContractAction `json:"SmartContractExec"` SimplePreview ActionSimplePreview `json:"simple_preview"` }
Ref: #/components/schemas/Action
func (Action) GetAuctionBid ¶
func (s Action) GetAuctionBid() OptAuctionBidAction
GetAuctionBid returns the value of AuctionBid.
func (Action) GetContractDeploy ¶
func (s Action) GetContractDeploy() OptContractDeployAction
GetContractDeploy returns the value of ContractDeploy.
func (Action) GetDepositStake ¶ added in v0.1.1
func (s Action) GetDepositStake() OptDepositStakeAction
GetDepositStake returns the value of DepositStake.
func (Action) GetJettonTransfer ¶
func (s Action) GetJettonTransfer() OptJettonTransferAction
GetJettonTransfer returns the value of JettonTransfer.
func (Action) GetNftItemTransfer ¶
func (s Action) GetNftItemTransfer() OptNftItemTransferAction
GetNftItemTransfer returns the value of NftItemTransfer.
func (Action) GetNftPurchase ¶
func (s Action) GetNftPurchase() OptNftPurchaseAction
GetNftPurchase returns the value of NftPurchase.
func (Action) GetRecoverStake ¶ added in v0.1.1
func (s Action) GetRecoverStake() OptRecoverStakeAction
GetRecoverStake returns the value of RecoverStake.
func (Action) GetSTONfiSwap ¶ added in v1.0.0
func (s Action) GetSTONfiSwap() OptSTONfiSwapAction
GetSTONfiSwap returns the value of STONfiSwap.
func (Action) GetSimplePreview ¶
func (s Action) GetSimplePreview() ActionSimplePreview
GetSimplePreview returns the value of SimplePreview.
func (Action) GetSmartContractExec ¶
func (s Action) GetSmartContractExec() OptSmartContractAction
GetSmartContractExec returns the value of SmartContractExec.
func (Action) GetStatus ¶
func (s Action) GetStatus() ActionStatus
GetStatus returns the value of Status.
func (Action) GetSubscribe ¶
func (s Action) GetSubscribe() OptSubscriptionAction
GetSubscribe returns the value of Subscribe.
func (Action) GetTonTransfer ¶
func (s Action) GetTonTransfer() OptTonTransferAction
GetTonTransfer returns the value of TonTransfer.
func (Action) GetUnSubscribe ¶
func (s Action) GetUnSubscribe() OptUnSubscriptionAction
GetUnSubscribe returns the value of UnSubscribe.
func (Action) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Action) SetAuctionBid ¶
func (s *Action) SetAuctionBid(val OptAuctionBidAction)
SetAuctionBid sets the value of AuctionBid.
func (*Action) SetContractDeploy ¶
func (s *Action) SetContractDeploy(val OptContractDeployAction)
SetContractDeploy sets the value of ContractDeploy.
func (*Action) SetDepositStake ¶ added in v0.1.1
func (s *Action) SetDepositStake(val OptDepositStakeAction)
SetDepositStake sets the value of DepositStake.
func (*Action) SetJettonTransfer ¶
func (s *Action) SetJettonTransfer(val OptJettonTransferAction)
SetJettonTransfer sets the value of JettonTransfer.
func (*Action) SetNftItemTransfer ¶
func (s *Action) SetNftItemTransfer(val OptNftItemTransferAction)
SetNftItemTransfer sets the value of NftItemTransfer.
func (*Action) SetNftPurchase ¶
func (s *Action) SetNftPurchase(val OptNftPurchaseAction)
SetNftPurchase sets the value of NftPurchase.
func (*Action) SetRecoverStake ¶ added in v0.1.1
func (s *Action) SetRecoverStake(val OptRecoverStakeAction)
SetRecoverStake sets the value of RecoverStake.
func (*Action) SetSTONfiSwap ¶ added in v1.0.0
func (s *Action) SetSTONfiSwap(val OptSTONfiSwapAction)
SetSTONfiSwap sets the value of STONfiSwap.
func (*Action) SetSimplePreview ¶
func (s *Action) SetSimplePreview(val ActionSimplePreview)
SetSimplePreview sets the value of SimplePreview.
func (*Action) SetSmartContractExec ¶
func (s *Action) SetSmartContractExec(val OptSmartContractAction)
SetSmartContractExec sets the value of SmartContractExec.
func (*Action) SetStatus ¶
func (s *Action) SetStatus(val ActionStatus)
SetStatus sets the value of Status.
func (*Action) SetSubscribe ¶
func (s *Action) SetSubscribe(val OptSubscriptionAction)
SetSubscribe sets the value of Subscribe.
func (*Action) SetTonTransfer ¶
func (s *Action) SetTonTransfer(val OptTonTransferAction)
SetTonTransfer sets the value of TonTransfer.
func (*Action) SetUnSubscribe ¶
func (s *Action) SetUnSubscribe(val OptUnSubscriptionAction)
SetUnSubscribe sets the value of UnSubscribe.
func (*Action) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ActionPhase ¶
type ActionPhase struct { Success bool `json:"success"` TotalActions int32 `json:"total_actions"` SkippedActions int32 `json:"skipped_actions"` FwdFees int64 `json:"fwd_fees"` TotalFees int64 `json:"total_fees"` }
Ref: #/components/schemas/ActionPhase
func (*ActionPhase) Decode ¶
func (s *ActionPhase) Decode(d *jx.Decoder) error
Decode decodes ActionPhase from json.
func (ActionPhase) Encode ¶
func (s ActionPhase) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ActionPhase) GetFwdFees ¶
func (s ActionPhase) GetFwdFees() int64
GetFwdFees returns the value of FwdFees.
func (ActionPhase) GetSkippedActions ¶
func (s ActionPhase) GetSkippedActions() int32
GetSkippedActions returns the value of SkippedActions.
func (ActionPhase) GetSuccess ¶
func (s ActionPhase) GetSuccess() bool
GetSuccess returns the value of Success.
func (ActionPhase) GetTotalActions ¶
func (s ActionPhase) GetTotalActions() int32
GetTotalActions returns the value of TotalActions.
func (ActionPhase) GetTotalFees ¶
func (s ActionPhase) GetTotalFees() int64
GetTotalFees returns the value of TotalFees.
func (ActionPhase) MarshalJSON ¶
func (s ActionPhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ActionPhase) SetFwdFees ¶
func (s *ActionPhase) SetFwdFees(val int64)
SetFwdFees sets the value of FwdFees.
func (*ActionPhase) SetSkippedActions ¶
func (s *ActionPhase) SetSkippedActions(val int32)
SetSkippedActions sets the value of SkippedActions.
func (*ActionPhase) SetSuccess ¶
func (s *ActionPhase) SetSuccess(val bool)
SetSuccess sets the value of Success.
func (*ActionPhase) SetTotalActions ¶
func (s *ActionPhase) SetTotalActions(val int32)
SetTotalActions sets the value of TotalActions.
func (*ActionPhase) SetTotalFees ¶
func (s *ActionPhase) SetTotalFees(val int64)
SetTotalFees sets the value of TotalFees.
func (*ActionPhase) UnmarshalJSON ¶
func (s *ActionPhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ActionSimplePreview ¶
type ActionSimplePreview struct { Name string `json:"name"` Description string `json:"description"` // A link to an image for this particular action. ActionImage OptString `json:"action_image"` Value OptString `json:"value"` // A link to an image that depicts this action's asset. ValueImage OptString `json:"value_image"` Accounts []AccountAddress `json:"accounts"` }
Shortly describes what this action is about. Ref: #/components/schemas/ActionSimplePreview
func (*ActionSimplePreview) Decode ¶
func (s *ActionSimplePreview) Decode(d *jx.Decoder) error
Decode decodes ActionSimplePreview from json.
func (ActionSimplePreview) Encode ¶
func (s ActionSimplePreview) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ActionSimplePreview) GetAccounts ¶
func (s ActionSimplePreview) GetAccounts() []AccountAddress
GetAccounts returns the value of Accounts.
func (ActionSimplePreview) GetActionImage ¶
func (s ActionSimplePreview) GetActionImage() OptString
GetActionImage returns the value of ActionImage.
func (ActionSimplePreview) GetDescription ¶
func (s ActionSimplePreview) GetDescription() string
GetDescription returns the value of Description.
func (ActionSimplePreview) GetName ¶
func (s ActionSimplePreview) GetName() string
GetName returns the value of Name.
func (ActionSimplePreview) GetValue ¶
func (s ActionSimplePreview) GetValue() OptString
GetValue returns the value of Value.
func (ActionSimplePreview) GetValueImage ¶
func (s ActionSimplePreview) GetValueImage() OptString
GetValueImage returns the value of ValueImage.
func (ActionSimplePreview) MarshalJSON ¶
func (s ActionSimplePreview) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ActionSimplePreview) SetAccounts ¶
func (s *ActionSimplePreview) SetAccounts(val []AccountAddress)
SetAccounts sets the value of Accounts.
func (*ActionSimplePreview) SetActionImage ¶
func (s *ActionSimplePreview) SetActionImage(val OptString)
SetActionImage sets the value of ActionImage.
func (*ActionSimplePreview) SetDescription ¶
func (s *ActionSimplePreview) SetDescription(val string)
SetDescription sets the value of Description.
func (*ActionSimplePreview) SetName ¶
func (s *ActionSimplePreview) SetName(val string)
SetName sets the value of Name.
func (*ActionSimplePreview) SetValue ¶
func (s *ActionSimplePreview) SetValue(val OptString)
SetValue sets the value of Value.
func (*ActionSimplePreview) SetValueImage ¶
func (s *ActionSimplePreview) SetValueImage(val OptString)
SetValueImage sets the value of ValueImage.
func (*ActionSimplePreview) UnmarshalJSON ¶
func (s *ActionSimplePreview) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ActionSimplePreview) Validate ¶
func (s ActionSimplePreview) Validate() error
type ActionStatus ¶
type ActionStatus string
const ( ActionStatusOk ActionStatus = "ok" ActionStatusFailed ActionStatus = "failed" ActionStatusPending ActionStatus = "pending" )
func (*ActionStatus) Decode ¶
func (s *ActionStatus) Decode(d *jx.Decoder) error
Decode decodes ActionStatus from json.
func (ActionStatus) Encode ¶
func (s ActionStatus) Encode(e *jx.Encoder)
Encode encodes ActionStatus as json.
func (ActionStatus) MarshalJSON ¶
func (s ActionStatus) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ActionStatus) UnmarshalJSON ¶
func (s *ActionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ActionStatus) Validate ¶
func (s ActionStatus) Validate() error
type ActionType ¶
type ActionType string
const ( ActionTypeTonTransfer ActionType = "TonTransfer" ActionTypeJettonTransfer ActionType = "JettonTransfer" ActionTypeNftItemTransfer ActionType = "NftItemTransfer" ActionTypeContractDeploy ActionType = "ContractDeploy" ActionTypeSubscribe ActionType = "Subscribe" ActionTypeUnSubscribe ActionType = "UnSubscribe" ActionTypeAuctionBid ActionType = "AuctionBid" ActionTypeNftPurchase ActionType = "NftPurchase" ActionTypeDepositStake ActionType = "DepositStake" ActionTypeRecoverStake ActionType = "RecoverStake" ActionTypeSTONfiSwap ActionType = "STONfiSwap" ActionTypeSmartContractExec ActionType = "SmartContractExec" ActionTypeUnknown ActionType = "Unknown" )
func (*ActionType) Decode ¶
func (s *ActionType) Decode(d *jx.Decoder) error
Decode decodes ActionType from json.
func (ActionType) Encode ¶
func (s ActionType) Encode(e *jx.Encoder)
Encode encodes ActionType as json.
func (ActionType) MarshalJSON ¶
func (s ActionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ActionType) UnmarshalJSON ¶
func (s *ActionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ActionType) Validate ¶
func (s ActionType) Validate() error
type ApyHistory ¶ added in v1.0.0
Ref: #/components/schemas/ApyHistory
func (*ApyHistory) Decode ¶ added in v1.0.0
func (s *ApyHistory) Decode(d *jx.Decoder) error
Decode decodes ApyHistory from json.
func (ApyHistory) Encode ¶ added in v1.0.0
func (s ApyHistory) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ApyHistory) GetApy ¶ added in v1.0.0
func (s ApyHistory) GetApy() float64
GetApy returns the value of Apy.
func (ApyHistory) GetTime ¶ added in v1.0.0
func (s ApyHistory) GetTime() int
GetTime returns the value of Time.
func (ApyHistory) MarshalJSON ¶ added in v1.0.0
func (s ApyHistory) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApyHistory) SetApy ¶ added in v1.0.0
func (s *ApyHistory) SetApy(val float64)
SetApy sets the value of Apy.
func (*ApyHistory) SetTime ¶ added in v1.0.0
func (s *ApyHistory) SetTime(val int)
SetTime sets the value of Time.
func (*ApyHistory) UnmarshalJSON ¶ added in v1.0.0
func (s *ApyHistory) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ApyHistory) Validate ¶ added in v1.0.0
func (s ApyHistory) Validate() error
type Auction ¶
type Auction struct { Domain string `json:"domain"` Owner string `json:"owner"` Price int64 `json:"price"` Bids int64 `json:"bids"` Date int64 `json:"date"` }
Ref: #/components/schemas/Auction
func (Auction) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Auction) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type AuctionBidAction ¶
type AuctionBidAction struct { AuctionType AuctionBidActionAuctionType `json:"auction_type"` Amount Price `json:"amount"` Nft OptNftItem `json:"nft"` Beneficiary AccountAddress `json:"beneficiary"` Bidder AccountAddress `json:"bidder"` }
Ref: #/components/schemas/AuctionBidAction
func (*AuctionBidAction) Decode ¶
func (s *AuctionBidAction) Decode(d *jx.Decoder) error
Decode decodes AuctionBidAction from json.
func (AuctionBidAction) Encode ¶
func (s AuctionBidAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (AuctionBidAction) GetAmount ¶
func (s AuctionBidAction) GetAmount() Price
GetAmount returns the value of Amount.
func (AuctionBidAction) GetAuctionType ¶
func (s AuctionBidAction) GetAuctionType() AuctionBidActionAuctionType
GetAuctionType returns the value of AuctionType.
func (AuctionBidAction) GetBeneficiary ¶
func (s AuctionBidAction) GetBeneficiary() AccountAddress
GetBeneficiary returns the value of Beneficiary.
func (AuctionBidAction) GetBidder ¶
func (s AuctionBidAction) GetBidder() AccountAddress
GetBidder returns the value of Bidder.
func (AuctionBidAction) GetNft ¶
func (s AuctionBidAction) GetNft() OptNftItem
GetNft returns the value of Nft.
func (AuctionBidAction) MarshalJSON ¶
func (s AuctionBidAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuctionBidAction) SetAmount ¶
func (s *AuctionBidAction) SetAmount(val Price)
SetAmount sets the value of Amount.
func (*AuctionBidAction) SetAuctionType ¶
func (s *AuctionBidAction) SetAuctionType(val AuctionBidActionAuctionType)
SetAuctionType sets the value of AuctionType.
func (*AuctionBidAction) SetBeneficiary ¶
func (s *AuctionBidAction) SetBeneficiary(val AccountAddress)
SetBeneficiary sets the value of Beneficiary.
func (*AuctionBidAction) SetBidder ¶
func (s *AuctionBidAction) SetBidder(val AccountAddress)
SetBidder sets the value of Bidder.
func (*AuctionBidAction) SetNft ¶
func (s *AuctionBidAction) SetNft(val OptNftItem)
SetNft sets the value of Nft.
func (*AuctionBidAction) UnmarshalJSON ¶
func (s *AuctionBidAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AuctionBidAction) Validate ¶
func (s AuctionBidAction) Validate() error
type AuctionBidActionAuctionType ¶
type AuctionBidActionAuctionType string
const ( AuctionBidActionAuctionTypeDNSTon AuctionBidActionAuctionType = "DNS.ton" AuctionBidActionAuctionTypeDNSTg AuctionBidActionAuctionType = "DNS.tg" AuctionBidActionAuctionTypeNUMBERTg AuctionBidActionAuctionType = "NUMBER.tg" AuctionBidActionAuctionTypeGetgems AuctionBidActionAuctionType = "getgems" )
func (*AuctionBidActionAuctionType) Decode ¶
func (s *AuctionBidActionAuctionType) Decode(d *jx.Decoder) error
Decode decodes AuctionBidActionAuctionType from json.
func (AuctionBidActionAuctionType) Encode ¶
func (s AuctionBidActionAuctionType) Encode(e *jx.Encoder)
Encode encodes AuctionBidActionAuctionType as json.
func (AuctionBidActionAuctionType) MarshalJSON ¶
func (s AuctionBidActionAuctionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AuctionBidActionAuctionType) UnmarshalJSON ¶
func (s *AuctionBidActionAuctionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (AuctionBidActionAuctionType) Validate ¶
func (s AuctionBidActionAuctionType) Validate() error
type Auctions ¶
Ref: #/components/schemas/Auctions
func (Auctions) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Auctions) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type BadRequest ¶
type BadRequest struct {
Error string `json:"error"`
}
func (*BadRequest) Decode ¶
func (s *BadRequest) Decode(d *jx.Decoder) error
Decode decodes BadRequest from json.
func (BadRequest) Encode ¶
func (s BadRequest) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BadRequest) GetError ¶
func (s BadRequest) GetError() string
GetError returns the value of Error.
func (BadRequest) MarshalJSON ¶
func (s BadRequest) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BadRequest) SetError ¶
func (s *BadRequest) SetError(val string)
SetError sets the value of Error.
func (*BadRequest) UnmarshalJSON ¶
func (s *BadRequest) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Block ¶
type Block struct { WorkchainID int32 `json:"workchain_id"` Shard string `json:"shard"` Seqno int32 `json:"seqno"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` GlobalID int32 `json:"global_id"` Version int32 `json:"version"` AfterMerge bool `json:"after_merge"` BeforeSplit bool `json:"before_split"` AfterSplit bool `json:"after_split"` WantSplit bool `json:"want_split"` WantMerge bool `json:"want_merge"` KeyBlock bool `json:"key_block"` GenUtime int64 `json:"gen_utime"` StartLt int64 `json:"start_lt"` EndLt int64 `json:"end_lt"` VertSeqno int32 `json:"vert_seqno"` GenCatchainSeqno int32 `json:"gen_catchain_seqno"` MinRefMcSeqno int32 `json:"min_ref_mc_seqno"` PrevKeyBlockSeqno int32 `json:"prev_key_block_seqno"` GenSoftwareVersion OptInt32 `json:"gen_software_version"` GenSoftwareCapabilities OptInt64 `json:"gen_software_capabilities"` MasterRef OptString `json:"master_ref"` PrevRefs []string `json:"prev_refs"` InMsgDescrLength int64 `json:"in_msg_descr_length"` OutMsgDescrLength int64 `json:"out_msg_descr_length"` RandSeed string `json:"rand_seed"` CreatedBy string `json:"created_by"` }
Ref: #/components/schemas/Block
func (Block) GetAfterMerge ¶
GetAfterMerge returns the value of AfterMerge.
func (Block) GetAfterSplit ¶
GetAfterSplit returns the value of AfterSplit.
func (Block) GetBeforeSplit ¶
GetBeforeSplit returns the value of BeforeSplit.
func (Block) GetCreatedBy ¶
GetCreatedBy returns the value of CreatedBy.
func (Block) GetFileHash ¶
GetFileHash returns the value of FileHash.
func (Block) GetGenCatchainSeqno ¶
GetGenCatchainSeqno returns the value of GenCatchainSeqno.
func (Block) GetGenSoftwareCapabilities ¶
GetGenSoftwareCapabilities returns the value of GenSoftwareCapabilities.
func (Block) GetGenSoftwareVersion ¶
GetGenSoftwareVersion returns the value of GenSoftwareVersion.
func (Block) GetGenUtime ¶
GetGenUtime returns the value of GenUtime.
func (Block) GetGlobalID ¶
GetGlobalID returns the value of GlobalID.
func (Block) GetInMsgDescrLength ¶
GetInMsgDescrLength returns the value of InMsgDescrLength.
func (Block) GetKeyBlock ¶
GetKeyBlock returns the value of KeyBlock.
func (Block) GetMasterRef ¶
GetMasterRef returns the value of MasterRef.
func (Block) GetMinRefMcSeqno ¶
GetMinRefMcSeqno returns the value of MinRefMcSeqno.
func (Block) GetOutMsgDescrLength ¶
GetOutMsgDescrLength returns the value of OutMsgDescrLength.
func (Block) GetPrevKeyBlockSeqno ¶
GetPrevKeyBlockSeqno returns the value of PrevKeyBlockSeqno.
func (Block) GetPrevRefs ¶
GetPrevRefs returns the value of PrevRefs.
func (Block) GetRandSeed ¶
GetRandSeed returns the value of RandSeed.
func (Block) GetRootHash ¶
GetRootHash returns the value of RootHash.
func (Block) GetStartLt ¶
GetStartLt returns the value of StartLt.
func (Block) GetVersion ¶
GetVersion returns the value of Version.
func (Block) GetVertSeqno ¶
GetVertSeqno returns the value of VertSeqno.
func (Block) GetWantMerge ¶
GetWantMerge returns the value of WantMerge.
func (Block) GetWantSplit ¶
GetWantSplit returns the value of WantSplit.
func (Block) GetWorkchainID ¶
GetWorkchainID returns the value of WorkchainID.
func (Block) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Block) SetAfterMerge ¶
SetAfterMerge sets the value of AfterMerge.
func (*Block) SetAfterSplit ¶
SetAfterSplit sets the value of AfterSplit.
func (*Block) SetBeforeSplit ¶
SetBeforeSplit sets the value of BeforeSplit.
func (*Block) SetCreatedBy ¶
SetCreatedBy sets the value of CreatedBy.
func (*Block) SetFileHash ¶
SetFileHash sets the value of FileHash.
func (*Block) SetGenCatchainSeqno ¶
SetGenCatchainSeqno sets the value of GenCatchainSeqno.
func (*Block) SetGenSoftwareCapabilities ¶
SetGenSoftwareCapabilities sets the value of GenSoftwareCapabilities.
func (*Block) SetGenSoftwareVersion ¶
SetGenSoftwareVersion sets the value of GenSoftwareVersion.
func (*Block) SetGenUtime ¶
SetGenUtime sets the value of GenUtime.
func (*Block) SetGlobalID ¶
SetGlobalID sets the value of GlobalID.
func (*Block) SetInMsgDescrLength ¶
SetInMsgDescrLength sets the value of InMsgDescrLength.
func (*Block) SetKeyBlock ¶
SetKeyBlock sets the value of KeyBlock.
func (*Block) SetMasterRef ¶
SetMasterRef sets the value of MasterRef.
func (*Block) SetMinRefMcSeqno ¶
SetMinRefMcSeqno sets the value of MinRefMcSeqno.
func (*Block) SetOutMsgDescrLength ¶
SetOutMsgDescrLength sets the value of OutMsgDescrLength.
func (*Block) SetPrevKeyBlockSeqno ¶
SetPrevKeyBlockSeqno sets the value of PrevKeyBlockSeqno.
func (*Block) SetPrevRefs ¶
SetPrevRefs sets the value of PrevRefs.
func (*Block) SetRandSeed ¶
SetRandSeed sets the value of RandSeed.
func (*Block) SetRootHash ¶
SetRootHash sets the value of RootHash.
func (*Block) SetStartLt ¶
SetStartLt sets the value of StartLt.
func (*Block) SetVersion ¶
SetVersion sets the value of Version.
func (*Block) SetVertSeqno ¶
SetVertSeqno sets the value of VertSeqno.
func (*Block) SetWantMerge ¶
SetWantMerge sets the value of WantMerge.
func (*Block) SetWantSplit ¶
SetWantSplit sets the value of WantSplit.
func (*Block) SetWorkchainID ¶
SetWorkchainID sets the value of WorkchainID.
func (*Block) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockRaw ¶ added in v1.0.0
type BlockRaw struct { Workchain uint32 `json:"workchain"` Shard uint64 `json:"shard"` Seqno uint32 `json:"seqno"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` }
Ref: #/components/schemas/BlockRaw
func (BlockRaw) GetFileHash ¶ added in v1.0.0
GetFileHash returns the value of FileHash.
func (BlockRaw) GetRootHash ¶ added in v1.0.0
GetRootHash returns the value of RootHash.
func (BlockRaw) GetWorkchain ¶ added in v1.0.0
GetWorkchain returns the value of Workchain.
func (BlockRaw) MarshalJSON ¶ added in v1.0.0
MarshalJSON implements stdjson.Marshaler.
func (*BlockRaw) SetFileHash ¶ added in v1.0.0
SetFileHash sets the value of FileHash.
func (*BlockRaw) SetRootHash ¶ added in v1.0.0
SetRootHash sets the value of RootHash.
func (*BlockRaw) SetWorkchain ¶ added in v1.0.0
SetWorkchain sets the value of Workchain.
func (*BlockRaw) UnmarshalJSON ¶ added in v1.0.0
UnmarshalJSON implements stdjson.Unmarshaler.
type BouncePhaseType ¶
type BouncePhaseType string
Ref: #/components/schemas/BouncePhaseType
const ( BouncePhaseTypeTrPhaseBounceNegfunds BouncePhaseType = "TrPhaseBounceNegfunds" BouncePhaseTypeTrPhaseBounceNofunds BouncePhaseType = "TrPhaseBounceNofunds" BouncePhaseTypeTrPhaseBounceOk BouncePhaseType = "TrPhaseBounceOk" )
func (*BouncePhaseType) Decode ¶
func (s *BouncePhaseType) Decode(d *jx.Decoder) error
Decode decodes BouncePhaseType from json.
func (BouncePhaseType) Encode ¶
func (s BouncePhaseType) Encode(e *jx.Encoder)
Encode encodes BouncePhaseType as json.
func (BouncePhaseType) MarshalJSON ¶
func (s BouncePhaseType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BouncePhaseType) UnmarshalJSON ¶
func (s *BouncePhaseType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (BouncePhaseType) Validate ¶
func (s BouncePhaseType) Validate() error
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client implements OAS client.
func NewClient ¶
func NewClient(serverURL string, opts ...ClientOption) (*Client, error)
NewClient initializes new Client defined by OAS.
func (*Client) DnsBackResolve ¶
func (c *Client) DnsBackResolve(ctx context.Context, params DnsBackResolveParams) (res DnsBackResolveRes, err error)
DnsBackResolve invokes dnsBackResolve operation.
Get domains for wallet account.
GET /v2/accounts/{account_id}/dns/backresolve
func (*Client) DnsInfo ¶
func (c *Client) DnsInfo(ctx context.Context, params DnsInfoParams) (res DnsInfoRes, err error)
DnsInfo invokes dnsInfo operation.
Get full information about domain name.
GET /v2/dns/{domain_name}
func (*Client) DnsResolve ¶
func (c *Client) DnsResolve(ctx context.Context, params DnsResolveParams) (res DnsResolveRes, err error)
DnsResolve invokes dnsResolve operation.
DNS resolve for domain name.
GET /v2/dns/{domain_name}/resolve
func (*Client) EmulateMessageToAccountEvent ¶
func (c *Client) EmulateMessageToAccountEvent(ctx context.Context, request EmulateMessageToAccountEventReq, params EmulateMessageToAccountEventParams) (res EmulateMessageToAccountEventRes, err error)
EmulateMessageToAccountEvent invokes emulateMessageToAccountEvent operation.
Emulate sending message to blockchain.
POST /v2/accounts/{account_id}/events/emulate
func (*Client) EmulateMessageToEvent ¶
func (c *Client) EmulateMessageToEvent(ctx context.Context, request EmulateMessageToEventReq, params EmulateMessageToEventParams) (res EmulateMessageToEventRes, err error)
EmulateMessageToEvent invokes emulateMessageToEvent operation.
Emulate sending message to blockchain.
POST /v2/events/emulate
func (*Client) EmulateMessageToTrace ¶
func (c *Client) EmulateMessageToTrace(ctx context.Context, request EmulateMessageToTraceReq) (res EmulateMessageToTraceRes, err error)
EmulateMessageToTrace invokes emulateMessageToTrace operation.
Emulate sending message to blockchain.
POST /v2/traces/emulate
func (*Client) EmulateWalletMessage ¶
func (c *Client) EmulateWalletMessage(ctx context.Context, request EmulateWalletMessageReq, params EmulateWalletMessageParams) (res EmulateWalletMessageRes, err error)
EmulateWalletMessage invokes emulateWalletMessage operation.
Emulate sending message to blockchain.
POST /v2/wallet/emulate
func (*Client) ExecGetMethod ¶
func (c *Client) ExecGetMethod(ctx context.Context, params ExecGetMethodParams) (res ExecGetMethodRes, err error)
ExecGetMethod invokes execGetMethod operation.
Execute get method for account.
GET /v2/blockchain/accounts/{account_id}/methods/{method_name}
func (*Client) GetAccount ¶
func (c *Client) GetAccount(ctx context.Context, params GetAccountParams) (res GetAccountRes, err error)
GetAccount invokes getAccount operation.
Get human-friendly information about an account without low-level details.
GET /v2/accounts/{account_id}
func (*Client) GetAccountInfoByStateInit ¶
func (c *Client) GetAccountInfoByStateInit(ctx context.Context, request GetAccountInfoByStateInitReq) (res GetAccountInfoByStateInitRes, err error)
GetAccountInfoByStateInit invokes getAccountInfoByStateInit operation.
Get account info by state init.
POST /v2/tonconnect/stateinit
func (*Client) GetAccountSeqno ¶ added in v1.0.0
func (c *Client) GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (res GetAccountSeqnoRes, err error)
GetAccountSeqno invokes getAccountSeqno operation.
Get account seqno.
GET /v2/wallet/{account_id}/seqno
func (*Client) GetAccountStateLiteServer ¶ added in v1.0.0
func (c *Client) GetAccountStateLiteServer(ctx context.Context, params GetAccountStateLiteServerParams) (res GetAccountStateLiteServerRes, err error)
GetAccountStateLiteServer invokes getAccountStateLiteServer operation.
Get account state.
GET /v2/liteserver/get_account_state/{account_id}
func (*Client) GetAccountTransactions ¶
func (c *Client) GetAccountTransactions(ctx context.Context, params GetAccountTransactionsParams) (res GetAccountTransactionsRes, err error)
GetAccountTransactions invokes getAccountTransactions operation.
Get account transactions.
GET /v2/blockchain/accounts/{account_id}/transactions
func (*Client) GetAccounts ¶
func (c *Client) GetAccounts(ctx context.Context, request OptGetAccountsReq) (res GetAccountsRes, err error)
GetAccounts invokes getAccounts operation.
Get human-friendly information about several accounts without low-level details.
POST /v2/accounts/_bulk
func (*Client) GetAllAuctions ¶
func (c *Client) GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (res GetAllAuctionsRes, err error)
GetAllAuctions invokes getAllAuctions operation.
Get all auctions.
GET /v2/dns/auctions
func (*Client) GetAllShardsInfoLiteServer ¶ added in v1.0.0
func (c *Client) GetAllShardsInfoLiteServer(ctx context.Context, params GetAllShardsInfoLiteServerParams) (res GetAllShardsInfoLiteServerRes, err error)
GetAllShardsInfoLiteServer invokes getAllShardsInfoLiteServer operation.
Get all shards info.
GET /v2/liteserver/get_all_shards_info/{block_id}
func (*Client) GetBlock ¶
func (c *Client) GetBlock(ctx context.Context, params GetBlockParams) (res GetBlockRes, err error)
GetBlock invokes getBlock operation.
Get block data.
GET /v2/blockchain/blocks/{block_id}
func (*Client) GetBlockHeaderLiteServer ¶ added in v1.0.0
func (c *Client) GetBlockHeaderLiteServer(ctx context.Context, params GetBlockHeaderLiteServerParams) (res GetBlockHeaderLiteServerRes, err error)
GetBlockHeaderLiteServer invokes getBlockHeaderLiteServer operation.
Get block header.
GET /v2/liteserver/get_block_header/{block_id}
func (*Client) GetBlockLiteServer ¶ added in v1.0.0
func (c *Client) GetBlockLiteServer(ctx context.Context, params GetBlockLiteServerParams) (res GetBlockLiteServerRes, err error)
GetBlockLiteServer invokes getBlockLiteServer operation.
Get block.
GET /v2/liteserver/get_block/{block_id}
func (*Client) GetBlockProofLiteServer ¶ added in v1.0.0
func (c *Client) GetBlockProofLiteServer(ctx context.Context, params GetBlockProofLiteServerParams) (res GetBlockProofLiteServerRes, err error)
GetBlockProofLiteServer invokes getBlockProofLiteServer operation.
Get block proof.
GET /v2/liteserver/get_block_proof
func (*Client) GetBlockTransactions ¶
func (c *Client) GetBlockTransactions(ctx context.Context, params GetBlockTransactionsParams) (res GetBlockTransactionsRes, err error)
GetBlockTransactions invokes getBlockTransactions operation.
Get transactions from block.
GET /v2/blockchain/blocks/{block_id}/transactions
func (*Client) GetConfig ¶
func (c *Client) GetConfig(ctx context.Context) (res GetConfigRes, err error)
GetConfig invokes getConfig operation.
Get blockchain config.
GET /v2/blockchain/config
func (*Client) GetConfigAllLiteServer ¶ added in v1.0.0
func (c *Client) GetConfigAllLiteServer(ctx context.Context, params GetConfigAllLiteServerParams) (res GetConfigAllLiteServerRes, err error)
GetConfigAllLiteServer invokes getConfigAllLiteServer operation.
Get config all.
GET /v2/liteserver/get_config_all/{block_id}
func (*Client) GetDnsExpiring ¶
func (c *Client) GetDnsExpiring(ctx context.Context, params GetDnsExpiringParams) (res GetDnsExpiringRes, err error)
GetDnsExpiring invokes getDnsExpiring operation.
Get expiring .ton dns.
GET /v2/accounts/{account_id}/dns/expiring
func (*Client) GetDomainBids ¶
func (c *Client) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (res GetDomainBidsRes, err error)
GetDomainBids invokes getDomainBids operation.
Get domain bids.
GET /v2/dns/{domain_name}/bids
func (*Client) GetEvent ¶
func (c *Client) GetEvent(ctx context.Context, params GetEventParams) (res GetEventRes, err error)
GetEvent invokes getEvent operation.
Get an event either by event ID or a hash of any transaction in a trace. An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
GET /v2/events/{event_id}
func (*Client) GetEventsByAccount ¶
func (c *Client) GetEventsByAccount(ctx context.Context, params GetEventsByAccountParams) (res GetEventsByAccountRes, err error)
GetEventsByAccount invokes getEventsByAccount operation.
Get events for an account. Each event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
GET /v2/accounts/{account_id}/events
func (*Client) GetItemsFromCollection ¶
func (c *Client) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (res GetItemsFromCollectionRes, err error)
GetItemsFromCollection invokes getItemsFromCollection operation.
Get NFT items from collection by collection address.
GET /v2/nfts/collections/{account_id}/items
func (*Client) GetJettonInfo ¶
func (c *Client) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (res GetJettonInfoRes, err error)
GetJettonInfo invokes getJettonInfo operation.
Get jetton metadata by jetton master address.
GET /v2/jettons/{account_id}
func (*Client) GetJettons ¶ added in v1.0.0
func (c *Client) GetJettons(ctx context.Context, params GetJettonsParams) (res GetJettonsRes, err error)
GetJettons invokes getJettons operation.
Get a list of all indexed jetton masters in the blockchain.
GET /v2/jettons
func (*Client) GetJettonsBalances ¶
func (c *Client) GetJettonsBalances(ctx context.Context, params GetJettonsBalancesParams) (res GetJettonsBalancesRes, err error)
GetJettonsBalances invokes getJettonsBalances operation.
Get all Jettons balances by owner address.
GET /v2/accounts/{account_id}/jettons
func (*Client) GetJettonsHistory ¶
func (c *Client) GetJettonsHistory(ctx context.Context, params GetJettonsHistoryParams) (res GetJettonsHistoryRes, err error)
GetJettonsHistory invokes getJettonsHistory operation.
Get the transfer jettons history for account_id.
GET /v2/accounts/{account_id}/jettons/history
func (*Client) GetJettonsHistoryByID ¶
func (c *Client) GetJettonsHistoryByID(ctx context.Context, params GetJettonsHistoryByIDParams) (res GetJettonsHistoryByIDRes, err error)
GetJettonsHistoryByID invokes getJettonsHistoryByID operation.
Get the transfer jetton history for account_id and jetton_id.
GET /v2/accounts/{account_id}/jettons/{jetton_id}/history
func (*Client) GetListBlockTransactionsLiteServer ¶ added in v1.0.0
func (c *Client) GetListBlockTransactionsLiteServer(ctx context.Context, params GetListBlockTransactionsLiteServerParams) (res GetListBlockTransactionsLiteServerRes, err error)
GetListBlockTransactionsLiteServer invokes getListBlockTransactionsLiteServer operation.
Get list block transactions.
GET /v2/liteserver/list_block_transactions/{block_id}
func (*Client) GetMasterchainHead ¶
func (c *Client) GetMasterchainHead(ctx context.Context) (res GetMasterchainHeadRes, err error)
GetMasterchainHead invokes getMasterchainHead operation.
Get last known masterchain block.
GET /v2/blockchain/masterchain-head
func (*Client) GetMasterchainInfoExtLiteServer ¶ added in v1.0.0
func (c *Client) GetMasterchainInfoExtLiteServer(ctx context.Context, params GetMasterchainInfoExtLiteServerParams) (res GetMasterchainInfoExtLiteServerRes, err error)
GetMasterchainInfoExtLiteServer invokes getMasterchainInfoExtLiteServer operation.
Get masterchain info ext.
GET /v2/liteserver/get_masterchain_info_ext
func (*Client) GetMasterchainInfoLiteServer ¶ added in v1.0.0
func (c *Client) GetMasterchainInfoLiteServer(ctx context.Context) (res GetMasterchainInfoLiteServerRes, err error)
GetMasterchainInfoLiteServer invokes getMasterchainInfoLiteServer operation.
Get masterchain info.
GET /v2/liteserver/get_masterchain_info
func (*Client) GetNftCollection ¶
func (c *Client) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (res GetNftCollectionRes, err error)
GetNftCollection invokes getNftCollection operation.
Get NFT collection by collection address.
GET /v2/nfts/collections/{account_id}
func (*Client) GetNftCollections ¶
func (c *Client) GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (res GetNftCollectionsRes, err error)
GetNftCollections invokes getNftCollections operation.
Get NFT collections.
GET /v2/nfts/collections
func (*Client) GetNftItemByAddress ¶
func (c *Client) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (res GetNftItemByAddressRes, err error)
GetNftItemByAddress invokes getNftItemByAddress operation.
Get NFT item by its address.
GET /v2/nfts/{account_id}
func (*Client) GetNftItemsByAddresses ¶
func (c *Client) GetNftItemsByAddresses(ctx context.Context, request OptGetNftItemsByAddressesReq) (res GetNftItemsByAddressesRes, err error)
GetNftItemsByAddresses invokes getNftItemsByAddresses operation.
Get NFT items by their addresses.
POST /v2/nfts/_bulk
func (*Client) GetNftItemsByOwner ¶
func (c *Client) GetNftItemsByOwner(ctx context.Context, params GetNftItemsByOwnerParams) (res GetNftItemsByOwnerRes, err error)
GetNftItemsByOwner invokes getNftItemsByOwner operation.
Get all NFT items by owner address.
GET /v2/accounts/{account_id}/nfts
func (*Client) GetPublicKeyByAccountID ¶
func (c *Client) GetPublicKeyByAccountID(ctx context.Context, params GetPublicKeyByAccountIDParams) (res GetPublicKeyByAccountIDRes, err error)
GetPublicKeyByAccountID invokes getPublicKeyByAccountID operation.
Get public key by account id.
GET /v2/accounts/{account_id}/publickey
func (*Client) GetRates ¶
func (c *Client) GetRates(ctx context.Context, params GetRatesParams) (res GetRatesRes, err error)
GetRates invokes getRates operation.
Get the token price to the currency.
GET /v2/rates
func (*Client) GetRawAccount ¶
func (c *Client) GetRawAccount(ctx context.Context, params GetRawAccountParams) (res GetRawAccountRes, err error)
GetRawAccount invokes getRawAccount operation.
Get low-level information about an account taken directly from the blockchain.
GET /v2/blockchain/accounts/{account_id}
func (*Client) GetSearchAccounts ¶
func (c *Client) GetSearchAccounts(ctx context.Context, params GetSearchAccountsParams) (res GetSearchAccountsRes, err error)
GetSearchAccounts invokes getSearchAccounts operation.
Search for accounts by name. You can find the account by the first characters of the domain.
GET /v2/accounts/search
func (*Client) GetShardBlockProofLiteServer ¶ added in v1.0.0
func (c *Client) GetShardBlockProofLiteServer(ctx context.Context, params GetShardBlockProofLiteServerParams) (res GetShardBlockProofLiteServerRes, err error)
GetShardBlockProofLiteServer invokes getShardBlockProofLiteServer operation.
Get shard block proof.
GET /v2/liteserver/get_shard_block_proof/{block_id}
func (*Client) GetShardInfoLiteServer ¶ added in v1.0.0
func (c *Client) GetShardInfoLiteServer(ctx context.Context, params GetShardInfoLiteServerParams) (res GetShardInfoLiteServerRes, err error)
GetShardInfoLiteServer invokes getShardInfoLiteServer operation.
Get shard info.
GET /v2/liteserver/get_shard_info/{block_id}
func (*Client) GetStateLiteServer ¶ added in v1.0.0
func (c *Client) GetStateLiteServer(ctx context.Context, params GetStateLiteServerParams) (res GetStateLiteServerRes, err error)
GetStateLiteServer invokes getStateLiteServer operation.
Get block state.
GET /v2/liteserver/get_state/{block_id}
func (*Client) GetStorageProviders ¶
func (c *Client) GetStorageProviders(ctx context.Context) (res GetStorageProvidersRes, err error)
GetStorageProviders invokes getStorageProviders operation.
Get TON storage providers deployed to the blockchain.
GET /v2/storage/providers
func (*Client) GetSubscriptionsByAccount ¶
func (c *Client) GetSubscriptionsByAccount(ctx context.Context, params GetSubscriptionsByAccountParams) (res GetSubscriptionsByAccountRes, err error)
GetSubscriptionsByAccount invokes getSubscriptionsByAccount operation.
Get all subscriptions by wallet address.
GET /v2/accounts/{account_id}/subscriptions
func (*Client) GetTimeLiteServer ¶ added in v1.0.0
func (c *Client) GetTimeLiteServer(ctx context.Context) (res GetTimeLiteServerRes, err error)
GetTimeLiteServer invokes getTimeLiteServer operation.
Get time.
GET /v2/liteserver/get_time
func (*Client) GetTonConnectPayload ¶
func (c *Client) GetTonConnectPayload(ctx context.Context) (res GetTonConnectPayloadRes, err error)
GetTonConnectPayload invokes getTonConnectPayload operation.
Get a payload for further token receipt.
GET /v2/tonconnect/payload
func (*Client) GetTrace ¶
func (c *Client) GetTrace(ctx context.Context, params GetTraceParams) (res GetTraceRes, err error)
GetTrace invokes getTrace operation.
Get the trace by trace ID or hash of any transaction in trace.
GET /v2/traces/{trace_id}
func (*Client) GetTracesByAccount ¶
func (c *Client) GetTracesByAccount(ctx context.Context, params GetTracesByAccountParams) (res GetTracesByAccountRes, err error)
GetTracesByAccount invokes getTracesByAccount operation.
Get traces for account.
GET /v2/accounts/{account_id}/traces
func (*Client) GetTransaction ¶
func (c *Client) GetTransaction(ctx context.Context, params GetTransactionParams) (res GetTransactionRes, err error)
GetTransaction invokes getTransaction operation.
Get transaction data.
GET /v2/blockchain/transactions/{transaction_id}
func (*Client) GetTransactionByMessageHash ¶ added in v1.0.0
func (c *Client) GetTransactionByMessageHash(ctx context.Context, params GetTransactionByMessageHashParams) (res GetTransactionByMessageHashRes, err error)
GetTransactionByMessageHash invokes getTransactionByMessageHash operation.
Get transaction data by message hash.
GET /v2/blockchain/messages/{msg_id}/transaction
func (*Client) GetTransactionsLiteServer ¶ added in v1.0.0
func (c *Client) GetTransactionsLiteServer(ctx context.Context, params GetTransactionsLiteServerParams) (res GetTransactionsLiteServerRes, err error)
GetTransactionsLiteServer invokes getTransactionsLiteServer operation.
Get transactions.
GET /v2/liteserver/get_transactions/{account_id}
func (*Client) GetValidators ¶
func (c *Client) GetValidators(ctx context.Context) (res GetValidatorsRes, err error)
GetValidators invokes getValidators operation.
Get validators.
GET /v2/blockchain/validators
func (*Client) GetWalletBackup ¶
func (c *Client) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (res GetWalletBackupRes, err error)
GetWalletBackup invokes getWalletBackup operation.
Get backup info.
GET /v2/wallet/backup
func (*Client) GetWalletsByPublicKey ¶ added in v1.0.0
func (c *Client) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (res GetWalletsByPublicKeyRes, err error)
GetWalletsByPublicKey invokes getWalletsByPublicKey operation.
Get wallets by public key.
GET /v2/pubkeys/{public_key}/wallets
func (*Client) PoolsByNominators ¶
func (c *Client) PoolsByNominators(ctx context.Context, params PoolsByNominatorsParams) (res PoolsByNominatorsRes, err error)
PoolsByNominators invokes poolsByNominators operation.
All pools where account participates.
GET /v2/staking/nominator/{account_id}/pools
func (*Client) ReindexAccount ¶
func (c *Client) ReindexAccount(ctx context.Context, params ReindexAccountParams) (res ReindexAccountRes, err error)
ReindexAccount invokes reindexAccount operation.
Update internal cache for a particular account.
POST /v2/accounts/{account_id}/reindex
func (*Client) SendMessage ¶
func (c *Client) SendMessage(ctx context.Context, request SendMessageReq) (res SendMessageRes, err error)
SendMessage invokes sendMessage operation.
Send message to blockchain.
POST /v2/blockchain/message
func (*Client) SendMessageLiteServer ¶ added in v1.0.0
func (c *Client) SendMessageLiteServer(ctx context.Context, request SendMessageLiteServerReq) (res SendMessageLiteServerRes, err error)
SendMessageLiteServer invokes sendMessageLiteServer operation.
Send message.
POST /v2/liteserver/send_message
func (*Client) SetWalletBackup ¶
func (c *Client) SetWalletBackup(ctx context.Context, request SetWalletBackupReq, params SetWalletBackupParams) (res SetWalletBackupRes, err error)
SetWalletBackup invokes setWalletBackup operation.
Set backup info.
PUT /v2/wallet/backup
func (*Client) StakingPoolHistory ¶ added in v1.0.0
func (c *Client) StakingPoolHistory(ctx context.Context, params StakingPoolHistoryParams) (res StakingPoolHistoryRes, err error)
StakingPoolHistory invokes stakingPoolHistory operation.
Pool info.
GET /v2/staking/pool/{account_id}/history
func (*Client) StakingPoolInfo ¶
func (c *Client) StakingPoolInfo(ctx context.Context, params StakingPoolInfoParams) (res StakingPoolInfoRes, err error)
StakingPoolInfo invokes stakingPoolInfo operation.
Pool info.
GET /v2/staking/pool/{account_id}
func (*Client) StakingPools ¶
func (c *Client) StakingPools(ctx context.Context, params StakingPoolsParams) (res StakingPoolsRes, err error)
StakingPools invokes stakingPools operation.
All pools available in network.
GET /v2/staking/pools
func (*Client) TonConnectProof ¶
func (c *Client) TonConnectProof(ctx context.Context, request TonConnectProofReq) (res TonConnectProofRes, err error)
TonConnectProof invokes tonConnectProof operation.
Account verification and token issuance.
POST /v2/wallet/auth/proof
type ClientOption ¶
type ClientOption interface {
// contains filtered or unexported methods
}
ClientOption is client config option.
func WithClient ¶
func WithClient(client ht.Client) ClientOption
WithClient specifies http client to use.
type ComputePhase ¶
type ComputePhase struct { Skipped bool `json:"skipped"` SkipReason OptComputeSkipReason `json:"skip_reason"` Success OptBool `json:"success"` GasFees OptInt64 `json:"gas_fees"` GasUsed OptInt64 `json:"gas_used"` VMSteps OptUint32 `json:"vm_steps"` ExitCode OptInt32 `json:"exit_code"` }
Ref: #/components/schemas/ComputePhase
func (*ComputePhase) Decode ¶
func (s *ComputePhase) Decode(d *jx.Decoder) error
Decode decodes ComputePhase from json.
func (ComputePhase) Encode ¶
func (s ComputePhase) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ComputePhase) GetExitCode ¶
func (s ComputePhase) GetExitCode() OptInt32
GetExitCode returns the value of ExitCode.
func (ComputePhase) GetGasFees ¶
func (s ComputePhase) GetGasFees() OptInt64
GetGasFees returns the value of GasFees.
func (ComputePhase) GetGasUsed ¶
func (s ComputePhase) GetGasUsed() OptInt64
GetGasUsed returns the value of GasUsed.
func (ComputePhase) GetSkipReason ¶
func (s ComputePhase) GetSkipReason() OptComputeSkipReason
GetSkipReason returns the value of SkipReason.
func (ComputePhase) GetSkipped ¶
func (s ComputePhase) GetSkipped() bool
GetSkipped returns the value of Skipped.
func (ComputePhase) GetSuccess ¶
func (s ComputePhase) GetSuccess() OptBool
GetSuccess returns the value of Success.
func (ComputePhase) GetVMSteps ¶
func (s ComputePhase) GetVMSteps() OptUint32
GetVMSteps returns the value of VMSteps.
func (ComputePhase) MarshalJSON ¶
func (s ComputePhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComputePhase) SetExitCode ¶
func (s *ComputePhase) SetExitCode(val OptInt32)
SetExitCode sets the value of ExitCode.
func (*ComputePhase) SetGasFees ¶
func (s *ComputePhase) SetGasFees(val OptInt64)
SetGasFees sets the value of GasFees.
func (*ComputePhase) SetGasUsed ¶
func (s *ComputePhase) SetGasUsed(val OptInt64)
SetGasUsed sets the value of GasUsed.
func (*ComputePhase) SetSkipReason ¶
func (s *ComputePhase) SetSkipReason(val OptComputeSkipReason)
SetSkipReason sets the value of SkipReason.
func (*ComputePhase) SetSkipped ¶
func (s *ComputePhase) SetSkipped(val bool)
SetSkipped sets the value of Skipped.
func (*ComputePhase) SetSuccess ¶
func (s *ComputePhase) SetSuccess(val OptBool)
SetSuccess sets the value of Success.
func (*ComputePhase) SetVMSteps ¶
func (s *ComputePhase) SetVMSteps(val OptUint32)
SetVMSteps sets the value of VMSteps.
func (*ComputePhase) UnmarshalJSON ¶
func (s *ComputePhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ComputePhase) Validate ¶
func (s ComputePhase) Validate() error
type ComputeSkipReason ¶
type ComputeSkipReason string
Ref: #/components/schemas/ComputeSkipReason
const ( ComputeSkipReasonCskipNoState ComputeSkipReason = "cskip_no_state" ComputeSkipReasonCskipBadState ComputeSkipReason = "cskip_bad_state" ComputeSkipReasonCskipNoGas ComputeSkipReason = "cskip_no_gas" )
func (*ComputeSkipReason) Decode ¶
func (s *ComputeSkipReason) Decode(d *jx.Decoder) error
Decode decodes ComputeSkipReason from json.
func (ComputeSkipReason) Encode ¶
func (s ComputeSkipReason) Encode(e *jx.Encoder)
Encode encodes ComputeSkipReason as json.
func (ComputeSkipReason) MarshalJSON ¶
func (s ComputeSkipReason) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ComputeSkipReason) UnmarshalJSON ¶
func (s *ComputeSkipReason) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ComputeSkipReason) Validate ¶
func (s ComputeSkipReason) Validate() error
type Config ¶
type Config struct { // Config boc in base64 format. Raw string `json:"raw"` // Config address. R0 string `json:"0"` // Elector address. R1 string `json:"1"` // Minter address. R2 string `json:"2"` // Dns root address. R4 string `json:"4"` R32 OptValidatorsSet `json:"32"` R33 OptValidatorsSet `json:"33"` R34 OptValidatorsSet `json:"34"` R35 OptValidatorsSet `json:"35"` R36 OptValidatorsSet `json:"36"` R37 OptValidatorsSet `json:"37"` }
Ref: #/components/schemas/Config
func (Config) GetR32 ¶ added in v1.0.0
func (s Config) GetR32() OptValidatorsSet
GetR32 returns the value of R32.
func (Config) GetR33 ¶ added in v1.0.0
func (s Config) GetR33() OptValidatorsSet
GetR33 returns the value of R33.
func (Config) GetR34 ¶ added in v1.0.0
func (s Config) GetR34() OptValidatorsSet
GetR34 returns the value of R34.
func (Config) GetR35 ¶ added in v1.0.0
func (s Config) GetR35() OptValidatorsSet
GetR35 returns the value of R35.
func (Config) GetR36 ¶ added in v1.0.0
func (s Config) GetR36() OptValidatorsSet
GetR36 returns the value of R36.
func (Config) GetR37 ¶ added in v1.0.0
func (s Config) GetR37() OptValidatorsSet
GetR37 returns the value of R37.
func (Config) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Config) SetR32 ¶ added in v1.0.0
func (s *Config) SetR32(val OptValidatorsSet)
SetR32 sets the value of R32.
func (*Config) SetR33 ¶ added in v1.0.0
func (s *Config) SetR33(val OptValidatorsSet)
SetR33 sets the value of R33.
func (*Config) SetR34 ¶ added in v1.0.0
func (s *Config) SetR34(val OptValidatorsSet)
SetR34 sets the value of R34.
func (*Config) SetR35 ¶ added in v1.0.0
func (s *Config) SetR35(val OptValidatorsSet)
SetR35 sets the value of R35.
func (*Config) SetR36 ¶ added in v1.0.0
func (s *Config) SetR36(val OptValidatorsSet)
SetR36 sets the value of R36.
func (*Config) SetR37 ¶ added in v1.0.0
func (s *Config) SetR37(val OptValidatorsSet)
SetR37 sets the value of R37.
func (*Config) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ContractDeployAction ¶
type ContractDeployAction struct { Address string `json:"address"` Interfaces []string `json:"interfaces"` }
Ref: #/components/schemas/ContractDeployAction
func (*ContractDeployAction) Decode ¶
func (s *ContractDeployAction) Decode(d *jx.Decoder) error
Decode decodes ContractDeployAction from json.
func (ContractDeployAction) Encode ¶
func (s ContractDeployAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ContractDeployAction) GetAddress ¶
func (s ContractDeployAction) GetAddress() string
GetAddress returns the value of Address.
func (ContractDeployAction) GetInterfaces ¶
func (s ContractDeployAction) GetInterfaces() []string
GetInterfaces returns the value of Interfaces.
func (ContractDeployAction) MarshalJSON ¶
func (s ContractDeployAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ContractDeployAction) SetAddress ¶
func (s *ContractDeployAction) SetAddress(val string)
SetAddress sets the value of Address.
func (*ContractDeployAction) SetInterfaces ¶
func (s *ContractDeployAction) SetInterfaces(val []string)
SetInterfaces sets the value of Interfaces.
func (*ContractDeployAction) UnmarshalJSON ¶
func (s *ContractDeployAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ContractDeployAction) Validate ¶
func (s ContractDeployAction) Validate() error
type CreditPhase ¶
type CreditPhase struct { FeesCollected int64 `json:"fees_collected"` Credit int64 `json:"credit"` }
Ref: #/components/schemas/CreditPhase
func (*CreditPhase) Decode ¶
func (s *CreditPhase) Decode(d *jx.Decoder) error
Decode decodes CreditPhase from json.
func (CreditPhase) Encode ¶
func (s CreditPhase) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (CreditPhase) GetCredit ¶
func (s CreditPhase) GetCredit() int64
GetCredit returns the value of Credit.
func (CreditPhase) GetFeesCollected ¶
func (s CreditPhase) GetFeesCollected() int64
GetFeesCollected returns the value of FeesCollected.
func (CreditPhase) MarshalJSON ¶
func (s CreditPhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*CreditPhase) SetCredit ¶
func (s *CreditPhase) SetCredit(val int64)
SetCredit sets the value of Credit.
func (*CreditPhase) SetFeesCollected ¶
func (s *CreditPhase) SetFeesCollected(val int64)
SetFeesCollected sets the value of FeesCollected.
func (*CreditPhase) UnmarshalJSON ¶
func (s *CreditPhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DepositStakeAction ¶ added in v0.1.1
type DepositStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` }
Ref: #/components/schemas/DepositStakeAction
func (*DepositStakeAction) Decode ¶ added in v0.1.1
func (s *DepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes DepositStakeAction from json.
func (DepositStakeAction) Encode ¶ added in v0.1.1
func (s DepositStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DepositStakeAction) GetAmount ¶ added in v0.1.1
func (s DepositStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (DepositStakeAction) GetStaker ¶ added in v0.1.1
func (s DepositStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (DepositStakeAction) MarshalJSON ¶ added in v0.1.1
func (s DepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DepositStakeAction) SetAmount ¶ added in v0.1.1
func (s *DepositStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*DepositStakeAction) SetStaker ¶ added in v0.1.1
func (s *DepositStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*DepositStakeAction) UnmarshalJSON ¶ added in v0.1.1
func (s *DepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DnsBackResolveParams ¶
type DnsBackResolveParams struct { // Account ID. AccountID string }
DnsBackResolveParams is parameters of dnsBackResolve operation.
type DnsBackResolveRes ¶
type DnsBackResolveRes interface {
// contains filtered or unexported methods
}
type DnsExpiring ¶
type DnsExpiring struct {
Items []DnsExpiringItemsItem `json:"items"`
}
Ref: #/components/schemas/DnsExpiring
func (*DnsExpiring) Decode ¶
func (s *DnsExpiring) Decode(d *jx.Decoder) error
Decode decodes DnsExpiring from json.
func (DnsExpiring) Encode ¶
func (s DnsExpiring) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DnsExpiring) GetItems ¶
func (s DnsExpiring) GetItems() []DnsExpiringItemsItem
GetItems returns the value of Items.
func (DnsExpiring) MarshalJSON ¶
func (s DnsExpiring) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DnsExpiring) SetItems ¶
func (s *DnsExpiring) SetItems(val []DnsExpiringItemsItem)
SetItems sets the value of Items.
func (*DnsExpiring) UnmarshalJSON ¶
func (s *DnsExpiring) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DnsExpiring) Validate ¶
func (s DnsExpiring) Validate() error
type DnsExpiringItemsItem ¶
type DnsExpiringItemsItem struct { ExpiringAt int64 `json:"expiring_at"` Name string `json:"name"` DNSItem OptNftItem `json:"dns_item"` }
func (*DnsExpiringItemsItem) Decode ¶
func (s *DnsExpiringItemsItem) Decode(d *jx.Decoder) error
Decode decodes DnsExpiringItemsItem from json.
func (DnsExpiringItemsItem) Encode ¶
func (s DnsExpiringItemsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DnsExpiringItemsItem) GetDNSItem ¶
func (s DnsExpiringItemsItem) GetDNSItem() OptNftItem
GetDNSItem returns the value of DNSItem.
func (DnsExpiringItemsItem) GetExpiringAt ¶
func (s DnsExpiringItemsItem) GetExpiringAt() int64
GetExpiringAt returns the value of ExpiringAt.
func (DnsExpiringItemsItem) GetName ¶
func (s DnsExpiringItemsItem) GetName() string
GetName returns the value of Name.
func (DnsExpiringItemsItem) MarshalJSON ¶
func (s DnsExpiringItemsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DnsExpiringItemsItem) SetDNSItem ¶
func (s *DnsExpiringItemsItem) SetDNSItem(val OptNftItem)
SetDNSItem sets the value of DNSItem.
func (*DnsExpiringItemsItem) SetExpiringAt ¶
func (s *DnsExpiringItemsItem) SetExpiringAt(val int64)
SetExpiringAt sets the value of ExpiringAt.
func (*DnsExpiringItemsItem) SetName ¶
func (s *DnsExpiringItemsItem) SetName(val string)
SetName sets the value of Name.
func (*DnsExpiringItemsItem) UnmarshalJSON ¶
func (s *DnsExpiringItemsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DnsExpiringItemsItem) Validate ¶
func (s DnsExpiringItemsItem) Validate() error
type DnsInfoParams ¶
type DnsInfoParams struct { // Domain name with .ton or .t.me. DomainName string }
DnsInfoParams is parameters of dnsInfo operation.
type DnsInfoRes ¶
type DnsInfoRes interface {
// contains filtered or unexported methods
}
type DnsRecord ¶
type DnsRecord struct { Wallet OptWalletDNS `json:"wallet"` NextResolver OptString `json:"next_resolver"` Sites []string `json:"sites"` // Tonstorage bag id. Storage OptString `json:"storage"` }
Ref: #/components/schemas/DnsRecord
func (DnsRecord) GetNextResolver ¶
GetNextResolver returns the value of NextResolver.
func (DnsRecord) GetStorage ¶
GetStorage returns the value of Storage.
func (DnsRecord) GetWallet ¶
func (s DnsRecord) GetWallet() OptWalletDNS
GetWallet returns the value of Wallet.
func (DnsRecord) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*DnsRecord) SetNextResolver ¶
SetNextResolver sets the value of NextResolver.
func (*DnsRecord) SetStorage ¶
SetStorage sets the value of Storage.
func (*DnsRecord) SetWallet ¶
func (s *DnsRecord) SetWallet(val OptWalletDNS)
SetWallet sets the value of Wallet.
func (*DnsRecord) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type DnsResolveParams ¶
type DnsResolveParams struct { // Domain name with .ton or .t.me. DomainName string }
DnsResolveParams is parameters of dnsResolve operation.
type DnsResolveRes ¶
type DnsResolveRes interface {
// contains filtered or unexported methods
}
type DomainBid ¶
type DomainBid struct { Success bool `json:"success"` Value int64 `json:"value"` TxTime int64 `json:"txTime"` TxHash string `json:"txHash"` Bidder AccountAddress `json:"bidder"` }
Ref: #/components/schemas/DomainBid
func (DomainBid) GetBidder ¶
func (s DomainBid) GetBidder() AccountAddress
GetBidder returns the value of Bidder.
func (DomainBid) GetSuccess ¶
GetSuccess returns the value of Success.
func (DomainBid) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*DomainBid) SetBidder ¶
func (s *DomainBid) SetBidder(val AccountAddress)
SetBidder sets the value of Bidder.
func (*DomainBid) SetSuccess ¶
SetSuccess sets the value of Success.
func (*DomainBid) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type DomainBids ¶
type DomainBids struct {
Data []DomainBid `json:"data"`
}
Ref: #/components/schemas/DomainBids
func (*DomainBids) Decode ¶
func (s *DomainBids) Decode(d *jx.Decoder) error
Decode decodes DomainBids from json.
func (DomainBids) Encode ¶
func (s DomainBids) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DomainBids) GetData ¶
func (s DomainBids) GetData() []DomainBid
GetData returns the value of Data.
func (DomainBids) MarshalJSON ¶
func (s DomainBids) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DomainBids) SetData ¶
func (s *DomainBids) SetData(val []DomainBid)
SetData sets the value of Data.
func (*DomainBids) UnmarshalJSON ¶
func (s *DomainBids) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DomainBids) Validate ¶
func (s DomainBids) Validate() error
type DomainInfo ¶
type DomainInfo struct { Name string `json:"name"` // Date of expiring. optional. not all domain in ton has expiration date. ExpiringAt OptInt `json:"expiring_at"` Item OptNftItem `json:"item"` }
Ref: #/components/schemas/DomainInfo
func (*DomainInfo) Decode ¶
func (s *DomainInfo) Decode(d *jx.Decoder) error
Decode decodes DomainInfo from json.
func (DomainInfo) Encode ¶
func (s DomainInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DomainInfo) GetExpiringAt ¶
func (s DomainInfo) GetExpiringAt() OptInt
GetExpiringAt returns the value of ExpiringAt.
func (DomainInfo) GetItem ¶
func (s DomainInfo) GetItem() OptNftItem
GetItem returns the value of Item.
func (DomainInfo) MarshalJSON ¶
func (s DomainInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DomainInfo) SetExpiringAt ¶
func (s *DomainInfo) SetExpiringAt(val OptInt)
SetExpiringAt sets the value of ExpiringAt.
func (*DomainInfo) SetItem ¶
func (s *DomainInfo) SetItem(val OptNftItem)
SetItem sets the value of Item.
func (*DomainInfo) SetName ¶
func (s *DomainInfo) SetName(val string)
SetName sets the value of Name.
func (*DomainInfo) UnmarshalJSON ¶
func (s *DomainInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DomainInfo) Validate ¶
func (s DomainInfo) Validate() error
type DomainNames ¶
type DomainNames struct {
Domains []string `json:"domains"`
}
Ref: #/components/schemas/DomainNames
func (*DomainNames) Decode ¶
func (s *DomainNames) Decode(d *jx.Decoder) error
Decode decodes DomainNames from json.
func (DomainNames) Encode ¶
func (s DomainNames) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (DomainNames) GetDomains ¶
func (s DomainNames) GetDomains() []string
GetDomains returns the value of Domains.
func (DomainNames) MarshalJSON ¶
func (s DomainNames) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DomainNames) SetDomains ¶
func (s *DomainNames) SetDomains(val []string)
SetDomains sets the value of Domains.
func (*DomainNames) UnmarshalJSON ¶
func (s *DomainNames) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (DomainNames) Validate ¶
func (s DomainNames) Validate() error
type EmulateMessageToAccountEventParams ¶
type EmulateMessageToAccountEventParams struct { AcceptLanguage OptString // Account ID. AccountID string }
EmulateMessageToAccountEventParams is parameters of emulateMessageToAccountEvent operation.
type EmulateMessageToAccountEventReq ¶
type EmulateMessageToAccountEventReq struct {
Boc string `json:"boc"`
}
func (*EmulateMessageToAccountEventReq) Decode ¶
func (s *EmulateMessageToAccountEventReq) Decode(d *jx.Decoder) error
Decode decodes EmulateMessageToAccountEventReq from json.
func (EmulateMessageToAccountEventReq) Encode ¶
func (s EmulateMessageToAccountEventReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EmulateMessageToAccountEventReq) GetBoc ¶
func (s EmulateMessageToAccountEventReq) GetBoc() string
GetBoc returns the value of Boc.
func (EmulateMessageToAccountEventReq) MarshalJSON ¶
func (s EmulateMessageToAccountEventReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateMessageToAccountEventReq) SetBoc ¶
func (s *EmulateMessageToAccountEventReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*EmulateMessageToAccountEventReq) UnmarshalJSON ¶
func (s *EmulateMessageToAccountEventReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EmulateMessageToAccountEventRes ¶
type EmulateMessageToAccountEventRes interface {
// contains filtered or unexported methods
}
type EmulateMessageToEventParams ¶
type EmulateMessageToEventParams struct {
AcceptLanguage OptString
}
EmulateMessageToEventParams is parameters of emulateMessageToEvent operation.
type EmulateMessageToEventReq ¶
type EmulateMessageToEventReq struct {
Boc string `json:"boc"`
}
func (*EmulateMessageToEventReq) Decode ¶
func (s *EmulateMessageToEventReq) Decode(d *jx.Decoder) error
Decode decodes EmulateMessageToEventReq from json.
func (EmulateMessageToEventReq) Encode ¶
func (s EmulateMessageToEventReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EmulateMessageToEventReq) GetBoc ¶
func (s EmulateMessageToEventReq) GetBoc() string
GetBoc returns the value of Boc.
func (EmulateMessageToEventReq) MarshalJSON ¶
func (s EmulateMessageToEventReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateMessageToEventReq) SetBoc ¶
func (s *EmulateMessageToEventReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*EmulateMessageToEventReq) UnmarshalJSON ¶
func (s *EmulateMessageToEventReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EmulateMessageToEventRes ¶
type EmulateMessageToEventRes interface {
// contains filtered or unexported methods
}
type EmulateMessageToTraceReq ¶
type EmulateMessageToTraceReq struct {
Boc string `json:"boc"`
}
func (*EmulateMessageToTraceReq) Decode ¶
func (s *EmulateMessageToTraceReq) Decode(d *jx.Decoder) error
Decode decodes EmulateMessageToTraceReq from json.
func (EmulateMessageToTraceReq) Encode ¶
func (s EmulateMessageToTraceReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EmulateMessageToTraceReq) GetBoc ¶
func (s EmulateMessageToTraceReq) GetBoc() string
GetBoc returns the value of Boc.
func (EmulateMessageToTraceReq) MarshalJSON ¶
func (s EmulateMessageToTraceReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateMessageToTraceReq) SetBoc ¶
func (s *EmulateMessageToTraceReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*EmulateMessageToTraceReq) UnmarshalJSON ¶
func (s *EmulateMessageToTraceReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EmulateMessageToTraceRes ¶
type EmulateMessageToTraceRes interface {
// contains filtered or unexported methods
}
type EmulateWalletMessageParams ¶
type EmulateWalletMessageParams struct {
AcceptLanguage OptString
}
EmulateWalletMessageParams is parameters of emulateWalletMessage operation.
type EmulateWalletMessageReq ¶
type EmulateWalletMessageReq struct {
Boc string `json:"boc"`
}
func (*EmulateWalletMessageReq) Decode ¶
func (s *EmulateWalletMessageReq) Decode(d *jx.Decoder) error
Decode decodes EmulateWalletMessageReq from json.
func (EmulateWalletMessageReq) Encode ¶
func (s EmulateWalletMessageReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EmulateWalletMessageReq) GetBoc ¶
func (s EmulateWalletMessageReq) GetBoc() string
GetBoc returns the value of Boc.
func (EmulateWalletMessageReq) MarshalJSON ¶
func (s EmulateWalletMessageReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateWalletMessageReq) SetBoc ¶
func (s *EmulateWalletMessageReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*EmulateWalletMessageReq) UnmarshalJSON ¶
func (s *EmulateWalletMessageReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EmulateWalletMessageRes ¶
type EmulateWalletMessageRes interface {
// contains filtered or unexported methods
}
type EncryptedComment ¶ added in v1.0.0
type EncryptedComment struct { EncryptionType string `json:"encryption_type"` CipherText string `json:"cipher_text"` }
Ref: #/components/schemas/EncryptedComment
func (*EncryptedComment) Decode ¶ added in v1.0.0
func (s *EncryptedComment) Decode(d *jx.Decoder) error
Decode decodes EncryptedComment from json.
func (EncryptedComment) Encode ¶ added in v1.0.0
func (s EncryptedComment) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (EncryptedComment) GetCipherText ¶ added in v1.0.0
func (s EncryptedComment) GetCipherText() string
GetCipherText returns the value of CipherText.
func (EncryptedComment) GetEncryptionType ¶ added in v1.0.0
func (s EncryptedComment) GetEncryptionType() string
GetEncryptionType returns the value of EncryptionType.
func (EncryptedComment) MarshalJSON ¶ added in v1.0.0
func (s EncryptedComment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EncryptedComment) SetCipherText ¶ added in v1.0.0
func (s *EncryptedComment) SetCipherText(val string)
SetCipherText sets the value of CipherText.
func (*EncryptedComment) SetEncryptionType ¶ added in v1.0.0
func (s *EncryptedComment) SetEncryptionType(val string)
SetEncryptionType sets the value of EncryptionType.
func (*EncryptedComment) UnmarshalJSON ¶ added in v1.0.0
func (s *EncryptedComment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Event ¶
type Event struct { EventID string `json:"event_id"` Timestamp int64 `json:"timestamp"` Actions []Action `json:"actions"` ValueFlow []ValueFlow `json:"value_flow"` // Scam. IsScam bool `json:"is_scam"` Lt int64 `json:"lt"` // Event is not finished yet. Transactions still happening. InProgress bool `json:"in_progress"` }
Ref: #/components/schemas/Event
func (Event) GetActions ¶
GetActions returns the value of Actions.
func (Event) GetEventID ¶
GetEventID returns the value of EventID.
func (Event) GetInProgress ¶
GetInProgress returns the value of InProgress.
func (Event) GetTimestamp ¶
GetTimestamp returns the value of Timestamp.
func (Event) GetValueFlow ¶
GetValueFlow returns the value of ValueFlow.
func (Event) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Event) SetActions ¶
SetActions sets the value of Actions.
func (*Event) SetEventID ¶
SetEventID sets the value of EventID.
func (*Event) SetInProgress ¶
SetInProgress sets the value of InProgress.
func (*Event) SetTimestamp ¶
SetTimestamp sets the value of Timestamp.
func (*Event) SetValueFlow ¶
SetValueFlow sets the value of ValueFlow.
func (*Event) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ExecGetMethodParams ¶
type ExecGetMethodParams struct { // Account ID. AccountID string // Contract get method name. MethodName string Args []string }
ExecGetMethodParams is parameters of execGetMethod operation.
type ExecGetMethodRes ¶
type ExecGetMethodRes interface {
// contains filtered or unexported methods
}
type FoundAccounts ¶
type FoundAccounts struct {
Addresses []FoundAccountsAddressesItem `json:"addresses"`
}
Ref: #/components/schemas/FoundAccounts
func (*FoundAccounts) Decode ¶
func (s *FoundAccounts) Decode(d *jx.Decoder) error
Decode decodes FoundAccounts from json.
func (FoundAccounts) Encode ¶
func (s FoundAccounts) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FoundAccounts) GetAddresses ¶
func (s FoundAccounts) GetAddresses() []FoundAccountsAddressesItem
GetAddresses returns the value of Addresses.
func (FoundAccounts) MarshalJSON ¶
func (s FoundAccounts) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FoundAccounts) SetAddresses ¶
func (s *FoundAccounts) SetAddresses(val []FoundAccountsAddressesItem)
SetAddresses sets the value of Addresses.
func (*FoundAccounts) UnmarshalJSON ¶
func (s *FoundAccounts) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (FoundAccounts) Validate ¶
func (s FoundAccounts) Validate() error
type FoundAccountsAddressesItem ¶
type FoundAccountsAddressesItem struct { Address string `json:"address"` Name string `json:"name"` }
func (*FoundAccountsAddressesItem) Decode ¶
func (s *FoundAccountsAddressesItem) Decode(d *jx.Decoder) error
Decode decodes FoundAccountsAddressesItem from json.
func (FoundAccountsAddressesItem) Encode ¶
func (s FoundAccountsAddressesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (FoundAccountsAddressesItem) GetAddress ¶
func (s FoundAccountsAddressesItem) GetAddress() string
GetAddress returns the value of Address.
func (FoundAccountsAddressesItem) GetName ¶
func (s FoundAccountsAddressesItem) GetName() string
GetName returns the value of Name.
func (FoundAccountsAddressesItem) MarshalJSON ¶
func (s FoundAccountsAddressesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*FoundAccountsAddressesItem) SetAddress ¶
func (s *FoundAccountsAddressesItem) SetAddress(val string)
SetAddress sets the value of Address.
func (*FoundAccountsAddressesItem) SetName ¶
func (s *FoundAccountsAddressesItem) SetName(val string)
SetName sets the value of Name.
func (*FoundAccountsAddressesItem) UnmarshalJSON ¶
func (s *FoundAccountsAddressesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountInfoByStateInitReq ¶
type GetAccountInfoByStateInitReq struct {
StateInit string `json:"state_init"`
}
func (*GetAccountInfoByStateInitReq) Decode ¶
func (s *GetAccountInfoByStateInitReq) Decode(d *jx.Decoder) error
Decode decodes GetAccountInfoByStateInitReq from json.
func (GetAccountInfoByStateInitReq) Encode ¶
func (s GetAccountInfoByStateInitReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetAccountInfoByStateInitReq) GetStateInit ¶
func (s GetAccountInfoByStateInitReq) GetStateInit() string
GetStateInit returns the value of StateInit.
func (GetAccountInfoByStateInitReq) MarshalJSON ¶
func (s GetAccountInfoByStateInitReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAccountInfoByStateInitReq) SetStateInit ¶
func (s *GetAccountInfoByStateInitReq) SetStateInit(val string)
SetStateInit sets the value of StateInit.
func (*GetAccountInfoByStateInitReq) UnmarshalJSON ¶
func (s *GetAccountInfoByStateInitReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountInfoByStateInitRes ¶
type GetAccountInfoByStateInitRes interface {
// contains filtered or unexported methods
}
type GetAccountParams ¶
type GetAccountParams struct { // Account ID. AccountID string }
GetAccountParams is parameters of getAccount operation.
type GetAccountRes ¶
type GetAccountRes interface {
// contains filtered or unexported methods
}
type GetAccountSeqnoParams ¶ added in v1.0.0
type GetAccountSeqnoParams struct { // Account ID. AccountID string }
GetAccountSeqnoParams is parameters of getAccountSeqno operation.
type GetAccountSeqnoRes ¶ added in v1.0.0
type GetAccountSeqnoRes interface {
// contains filtered or unexported methods
}
type GetAccountStateLiteServerOK ¶ added in v1.0.0
type GetAccountStateLiteServerOK struct { ID BlockRaw `json:"id"` Shardblk BlockRaw `json:"shardblk"` ShardProof string `json:"shard_proof"` Proof string `json:"proof"` State string `json:"state"` }
func (*GetAccountStateLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetAccountStateLiteServerOK from json.
func (GetAccountStateLiteServerOK) Encode ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetAccountStateLiteServerOK) GetID ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetAccountStateLiteServerOK) GetProof ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) GetProof() string
GetProof returns the value of Proof.
func (GetAccountStateLiteServerOK) GetShardProof ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) GetShardProof() string
GetShardProof returns the value of ShardProof.
func (GetAccountStateLiteServerOK) GetShardblk ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) GetShardblk() BlockRaw
GetShardblk returns the value of Shardblk.
func (GetAccountStateLiteServerOK) GetState ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) GetState() string
GetState returns the value of State.
func (GetAccountStateLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetAccountStateLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAccountStateLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetAccountStateLiteServerOK) SetProof ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetAccountStateLiteServerOK) SetShardProof ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) SetShardProof(val string)
SetShardProof sets the value of ShardProof.
func (*GetAccountStateLiteServerOK) SetShardblk ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) SetShardblk(val BlockRaw)
SetShardblk sets the value of Shardblk.
func (*GetAccountStateLiteServerOK) SetState ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) SetState(val string)
SetState sets the value of State.
func (*GetAccountStateLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetAccountStateLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountStateLiteServerParams ¶ added in v1.0.0
type GetAccountStateLiteServerParams struct { // Account ID. AccountID string }
GetAccountStateLiteServerParams is parameters of getAccountStateLiteServer operation.
type GetAccountStateLiteServerRes ¶ added in v1.0.0
type GetAccountStateLiteServerRes interface {
// contains filtered or unexported methods
}
type GetAccountTransactionsParams ¶
type GetAccountTransactionsParams struct { // Account ID. AccountID string // Omit this parameter to get last transactions. AfterLt OptInt64 // Omit this parameter to get last transactions. BeforeLt OptInt64 Limit OptInt32 }
GetAccountTransactionsParams is parameters of getAccountTransactions operation.
type GetAccountTransactionsRes ¶
type GetAccountTransactionsRes interface {
// contains filtered or unexported methods
}
type GetAccountsReq ¶
type GetAccountsReq struct {
AccountIds []string `json:"account_ids"`
}
func (*GetAccountsReq) Decode ¶
func (s *GetAccountsReq) Decode(d *jx.Decoder) error
Decode decodes GetAccountsReq from json.
func (GetAccountsReq) Encode ¶
func (s GetAccountsReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetAccountsReq) GetAccountIds ¶
func (s GetAccountsReq) GetAccountIds() []string
GetAccountIds returns the value of AccountIds.
func (GetAccountsReq) MarshalJSON ¶
func (s GetAccountsReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAccountsReq) SetAccountIds ¶
func (s *GetAccountsReq) SetAccountIds(val []string)
SetAccountIds sets the value of AccountIds.
func (*GetAccountsReq) UnmarshalJSON ¶
func (s *GetAccountsReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetAccountsReq) Validate ¶
func (s GetAccountsReq) Validate() error
type GetAccountsRes ¶
type GetAccountsRes interface {
// contains filtered or unexported methods
}
type GetAllAuctionsParams ¶
type GetAllAuctionsParams struct { // Domain filter for current auctions "ton" or "t.me". Tld OptString }
GetAllAuctionsParams is parameters of getAllAuctions operation.
type GetAllAuctionsRes ¶
type GetAllAuctionsRes interface {
// contains filtered or unexported methods
}
type GetAllShardsInfoLiteServerOK ¶ added in v1.0.0
type GetAllShardsInfoLiteServerOK struct { ID BlockRaw `json:"id"` Proof string `json:"proof"` Data string `json:"data"` }
func (*GetAllShardsInfoLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetAllShardsInfoLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetAllShardsInfoLiteServerOK from json.
func (GetAllShardsInfoLiteServerOK) Encode ¶ added in v1.0.0
func (s GetAllShardsInfoLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetAllShardsInfoLiteServerOK) GetData ¶ added in v1.0.0
func (s GetAllShardsInfoLiteServerOK) GetData() string
GetData returns the value of Data.
func (GetAllShardsInfoLiteServerOK) GetID ¶ added in v1.0.0
func (s GetAllShardsInfoLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetAllShardsInfoLiteServerOK) GetProof ¶ added in v1.0.0
func (s GetAllShardsInfoLiteServerOK) GetProof() string
GetProof returns the value of Proof.
func (GetAllShardsInfoLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetAllShardsInfoLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllShardsInfoLiteServerOK) SetData ¶ added in v1.0.0
func (s *GetAllShardsInfoLiteServerOK) SetData(val string)
SetData sets the value of Data.
func (*GetAllShardsInfoLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetAllShardsInfoLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetAllShardsInfoLiteServerOK) SetProof ¶ added in v1.0.0
func (s *GetAllShardsInfoLiteServerOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetAllShardsInfoLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetAllShardsInfoLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllShardsInfoLiteServerParams ¶ added in v1.0.0
type GetAllShardsInfoLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetAllShardsInfoLiteServerParams is parameters of getAllShardsInfoLiteServer operation.
type GetAllShardsInfoLiteServerRes ¶ added in v1.0.0
type GetAllShardsInfoLiteServerRes interface {
// contains filtered or unexported methods
}
type GetBlockHeaderLiteServerOK ¶ added in v1.0.0
type GetBlockHeaderLiteServerOK struct { ID BlockRaw `json:"id"` Mode uint32 `json:"mode"` HeaderProof string `json:"header_proof"` }
func (*GetBlockHeaderLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetBlockHeaderLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetBlockHeaderLiteServerOK from json.
func (GetBlockHeaderLiteServerOK) Encode ¶ added in v1.0.0
func (s GetBlockHeaderLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockHeaderLiteServerOK) GetHeaderProof ¶ added in v1.0.0
func (s GetBlockHeaderLiteServerOK) GetHeaderProof() string
GetHeaderProof returns the value of HeaderProof.
func (GetBlockHeaderLiteServerOK) GetID ¶ added in v1.0.0
func (s GetBlockHeaderLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetBlockHeaderLiteServerOK) GetMode ¶ added in v1.0.0
func (s GetBlockHeaderLiteServerOK) GetMode() uint32
GetMode returns the value of Mode.
func (GetBlockHeaderLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetBlockHeaderLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockHeaderLiteServerOK) SetHeaderProof ¶ added in v1.0.0
func (s *GetBlockHeaderLiteServerOK) SetHeaderProof(val string)
SetHeaderProof sets the value of HeaderProof.
func (*GetBlockHeaderLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetBlockHeaderLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetBlockHeaderLiteServerOK) SetMode ¶ added in v1.0.0
func (s *GetBlockHeaderLiteServerOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetBlockHeaderLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockHeaderLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetBlockHeaderLiteServerParams ¶ added in v1.0.0
type GetBlockHeaderLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Mode. Mode uint32 }
GetBlockHeaderLiteServerParams is parameters of getBlockHeaderLiteServer operation.
type GetBlockHeaderLiteServerRes ¶ added in v1.0.0
type GetBlockHeaderLiteServerRes interface {
// contains filtered or unexported methods
}
type GetBlockLiteServerOK ¶ added in v1.0.0
func (*GetBlockLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetBlockLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetBlockLiteServerOK from json.
func (GetBlockLiteServerOK) Encode ¶ added in v1.0.0
func (s GetBlockLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockLiteServerOK) GetData ¶ added in v1.0.0
func (s GetBlockLiteServerOK) GetData() string
GetData returns the value of Data.
func (GetBlockLiteServerOK) GetID ¶ added in v1.0.0
func (s GetBlockLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetBlockLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetBlockLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockLiteServerOK) SetData ¶ added in v1.0.0
func (s *GetBlockLiteServerOK) SetData(val string)
SetData sets the value of Data.
func (*GetBlockLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetBlockLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetBlockLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetBlockLiteServerParams ¶ added in v1.0.0
type GetBlockLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetBlockLiteServerParams is parameters of getBlockLiteServer operation.
type GetBlockLiteServerRes ¶ added in v1.0.0
type GetBlockLiteServerRes interface {
// contains filtered or unexported methods
}
type GetBlockParams ¶
type GetBlockParams struct { // Block ID. BlockID string }
GetBlockParams is parameters of getBlock operation.
type GetBlockProofLiteServerOK ¶ added in v1.0.0
type GetBlockProofLiteServerOK struct { Complete bool `json:"complete"` From BlockRaw `json:"from"` To BlockRaw `json:"to"` Steps []GetBlockProofLiteServerOKStepsItem `json:"steps"` }
func (*GetBlockProofLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOK from json.
func (GetBlockProofLiteServerOK) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOK) GetComplete ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) GetComplete() bool
GetComplete returns the value of Complete.
func (GetBlockProofLiteServerOK) GetFrom ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) GetFrom() BlockRaw
GetFrom returns the value of From.
func (GetBlockProofLiteServerOK) GetSteps ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) GetSteps() []GetBlockProofLiteServerOKStepsItem
GetSteps returns the value of Steps.
func (GetBlockProofLiteServerOK) GetTo ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) GetTo() BlockRaw
GetTo returns the value of To.
func (GetBlockProofLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOK) SetComplete ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) SetComplete(val bool)
SetComplete sets the value of Complete.
func (*GetBlockProofLiteServerOK) SetFrom ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetBlockProofLiteServerOK) SetSteps ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) SetSteps(val []GetBlockProofLiteServerOKStepsItem)
SetSteps sets the value of Steps.
func (*GetBlockProofLiteServerOK) SetTo ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetBlockProofLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetBlockProofLiteServerOK) Validate ¶ added in v1.0.0
func (s GetBlockProofLiteServerOK) Validate() error
type GetBlockProofLiteServerOKStepsItem ¶ added in v1.0.0
type GetBlockProofLiteServerOKStepsItem struct { LiteServerBlockLinkBack GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack `json:"lite_server_block_link_back"` LiteServerBlockLinkForward GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward `json:"lite_server_block_link_forward"` }
func (*GetBlockProofLiteServerOKStepsItem) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItem) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOKStepsItem from json.
func (GetBlockProofLiteServerOKStepsItem) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkBack ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkBack() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack
GetLiteServerBlockLinkBack returns the value of LiteServerBlockLinkBack.
func (GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkForward ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItem) GetLiteServerBlockLinkForward() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward
GetLiteServerBlockLinkForward returns the value of LiteServerBlockLinkForward.
func (GetBlockProofLiteServerOKStepsItem) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkBack ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkBack(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack)
SetLiteServerBlockLinkBack sets the value of LiteServerBlockLinkBack.
func (*GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkForward ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItem) SetLiteServerBlockLinkForward(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward)
SetLiteServerBlockLinkForward sets the value of LiteServerBlockLinkForward.
func (*GetBlockProofLiteServerOKStepsItem) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetBlockProofLiteServerOKStepsItem) Validate ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItem) Validate() error
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack ¶ added in v1.0.0
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack struct { ToKeyBlock bool `json:"to_key_block"` From BlockRaw `json:"from"` To BlockRaw `json:"to"` DestProof string `json:"dest_proof"` Proof string `json:"proof"` StateProof string `json:"state_proof"` }
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack from json.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetDestProof ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetDestProof() string
GetDestProof returns the value of DestProof.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetFrom ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetFrom() BlockRaw
GetFrom returns the value of From.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetProof ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetProof() string
GetProof returns the value of Proof.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetStateProof ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetStateProof() string
GetStateProof returns the value of StateProof.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetTo ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetTo() BlockRaw
GetTo returns the value of To.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock() bool
GetToKeyBlock returns the value of ToKeyBlock.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetDestProof ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetDestProof(val string)
SetDestProof sets the value of DestProof.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetFrom ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetProof ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetProof(val string)
SetProof sets the value of Proof.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetStateProof ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetStateProof(val string)
SetStateProof sets the value of StateProof.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetTo ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock(val bool)
SetToKeyBlock sets the value of ToKeyBlock.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward ¶ added in v1.0.0
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward struct { ToKeyBlock bool `json:"to_key_block"` From BlockRaw `json:"from"` To BlockRaw `json:"to"` DestProof string `json:"dest_proof"` ConfigProof string `json:"config_proof"` Signatures GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures `json:"signatures"` }
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward from json.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetConfigProof ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetConfigProof() string
GetConfigProof returns the value of ConfigProof.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetDestProof ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetDestProof() string
GetDestProof returns the value of DestProof.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetFrom ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetFrom() BlockRaw
GetFrom returns the value of From.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetSignatures ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetSignatures() GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures
GetSignatures returns the value of Signatures.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetTo ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetTo() BlockRaw
GetTo returns the value of To.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock() bool
GetToKeyBlock returns the value of ToKeyBlock.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetConfigProof ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetConfigProof(val string)
SetConfigProof sets the value of ConfigProof.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetDestProof ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetDestProof(val string)
SetDestProof sets the value of DestProof.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetFrom ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetSignatures ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetSignatures(val GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures)
SetSignatures sets the value of Signatures.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetTo ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock(val bool)
SetToKeyBlock sets the value of ToKeyBlock.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Validate ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForward) Validate() error
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures ¶ added in v1.0.0
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures struct { ValidatorSetHash uint32 `json:"validator_set_hash"` CatchainSeqno uint32 `json:"catchain_seqno"` Signatures []GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem `json:"signatures"` }
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures from json.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno() uint32
GetCatchainSeqno returns the value of CatchainSeqno.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures() []GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem
GetSignatures returns the value of Signatures.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash() uint32
GetValidatorSetHash returns the value of ValidatorSetHash.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno(val uint32)
SetCatchainSeqno sets the value of CatchainSeqno.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures(val []GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem)
SetSignatures sets the value of Signatures.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash(val uint32)
SetValidatorSetHash sets the value of ValidatorSetHash.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Validate ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignatures) Validate() error
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem ¶ added in v1.0.0
type GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem struct { NodeIDShort string `json:"node_id_short"` Signature string `json:"signature"` }
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode(d *jx.Decoder) error
Decode decodes GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem from json.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort() string
GetNodeIDShort returns the value of NodeIDShort.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature() string
GetSignature returns the value of Signature.
func (GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON ¶ added in v1.0.0
func (s GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort(val string)
SetNodeIDShort sets the value of NodeIDShort.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature(val string)
SetSignature sets the value of Signature.
func (*GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON ¶ added in v1.0.0
func (s *GetBlockProofLiteServerOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetBlockProofLiteServerParams ¶ added in v1.0.0
type GetBlockProofLiteServerParams struct { // Known block: (workchain,shard,seqno,root_hash,file_hash). KnownBlock string // Target block: (workchain,shard,seqno,root_hash,file_hash). TargetBlock OptString // Mode. Mode uint32 }
GetBlockProofLiteServerParams is parameters of getBlockProofLiteServer operation.
type GetBlockProofLiteServerRes ¶ added in v1.0.0
type GetBlockProofLiteServerRes interface {
// contains filtered or unexported methods
}
type GetBlockRes ¶
type GetBlockRes interface {
// contains filtered or unexported methods
}
type GetBlockTransactionsParams ¶
type GetBlockTransactionsParams struct { // Block ID. BlockID string }
GetBlockTransactionsParams is parameters of getBlockTransactions operation.
type GetBlockTransactionsRes ¶
type GetBlockTransactionsRes interface {
// contains filtered or unexported methods
}
type GetConfigAllLiteServerOK ¶ added in v1.0.0
type GetConfigAllLiteServerOK struct { Mode uint32 `json:"mode"` ID BlockRaw `json:"id"` StateProof string `json:"state_proof"` ConfigProof string `json:"config_proof"` }
func (*GetConfigAllLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetConfigAllLiteServerOK from json.
func (GetConfigAllLiteServerOK) Encode ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetConfigAllLiteServerOK) GetConfigProof ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) GetConfigProof() string
GetConfigProof returns the value of ConfigProof.
func (GetConfigAllLiteServerOK) GetID ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetConfigAllLiteServerOK) GetMode ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) GetMode() uint32
GetMode returns the value of Mode.
func (GetConfigAllLiteServerOK) GetStateProof ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) GetStateProof() string
GetStateProof returns the value of StateProof.
func (GetConfigAllLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetConfigAllLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetConfigAllLiteServerOK) SetConfigProof ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) SetConfigProof(val string)
SetConfigProof sets the value of ConfigProof.
func (*GetConfigAllLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetConfigAllLiteServerOK) SetMode ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetConfigAllLiteServerOK) SetStateProof ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) SetStateProof(val string)
SetStateProof sets the value of StateProof.
func (*GetConfigAllLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetConfigAllLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetConfigAllLiteServerParams ¶ added in v1.0.0
type GetConfigAllLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Mode. Mode uint32 }
GetConfigAllLiteServerParams is parameters of getConfigAllLiteServer operation.
type GetConfigAllLiteServerRes ¶ added in v1.0.0
type GetConfigAllLiteServerRes interface {
// contains filtered or unexported methods
}
type GetConfigRes ¶
type GetConfigRes interface {
// contains filtered or unexported methods
}
type GetDnsExpiringParams ¶
type GetDnsExpiringParams struct { // Account ID. AccountID string // Number of days before expiration. Period OptInt }
GetDnsExpiringParams is parameters of getDnsExpiring operation.
type GetDnsExpiringRes ¶
type GetDnsExpiringRes interface {
// contains filtered or unexported methods
}
type GetDomainBidsParams ¶
type GetDomainBidsParams struct { // Domain name with .ton or .t.me. DomainName string }
GetDomainBidsParams is parameters of getDomainBids operation.
type GetDomainBidsRes ¶
type GetDomainBidsRes interface {
// contains filtered or unexported methods
}
type GetEventParams ¶
type GetEventParams struct { // Event ID or transaction hash in hex (without 0x) or base64url format. EventID string AcceptLanguage OptString }
GetEventParams is parameters of getEvent operation.
type GetEventRes ¶
type GetEventRes interface {
// contains filtered or unexported methods
}
type GetEventsByAccountParams ¶
type GetEventsByAccountParams struct { // Account ID. AccountID string AcceptLanguage OptString // Filter actions where requested account is not real subject (for example sender or reciver jettons). SubjectOnly OptBool // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetEventsByAccountParams is parameters of getEventsByAccount operation.
type GetEventsByAccountRes ¶
type GetEventsByAccountRes interface {
// contains filtered or unexported methods
}
type GetItemsFromCollectionParams ¶
type GetItemsFromCollectionParams struct { // Account ID. AccountID string Limit OptInt Offset OptInt }
GetItemsFromCollectionParams is parameters of getItemsFromCollection operation.
type GetItemsFromCollectionRes ¶
type GetItemsFromCollectionRes interface {
// contains filtered or unexported methods
}
type GetJettonInfoParams ¶
type GetJettonInfoParams struct { // Account ID. AccountID string }
GetJettonInfoParams is parameters of getJettonInfo operation.
type GetJettonInfoRes ¶
type GetJettonInfoRes interface {
// contains filtered or unexported methods
}
type GetJettonsBalancesParams ¶
type GetJettonsBalancesParams struct { // Account ID. AccountID string }
GetJettonsBalancesParams is parameters of getJettonsBalances operation.
type GetJettonsBalancesRes ¶
type GetJettonsBalancesRes interface {
// contains filtered or unexported methods
}
type GetJettonsHistoryByIDParams ¶
type GetJettonsHistoryByIDParams struct { // Account ID. AccountID string // Jetton ID. JettonID string AcceptLanguage OptString // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetJettonsHistoryByIDParams is parameters of getJettonsHistoryByID operation.
type GetJettonsHistoryByIDRes ¶
type GetJettonsHistoryByIDRes interface {
// contains filtered or unexported methods
}
type GetJettonsHistoryParams ¶
type GetJettonsHistoryParams struct { // Account ID. AccountID string AcceptLanguage OptString // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetJettonsHistoryParams is parameters of getJettonsHistory operation.
type GetJettonsHistoryRes ¶
type GetJettonsHistoryRes interface {
// contains filtered or unexported methods
}
type GetJettonsParams ¶ added in v1.0.0
GetJettonsParams is parameters of getJettons operation.
type GetJettonsRes ¶ added in v1.0.0
type GetJettonsRes interface {
// contains filtered or unexported methods
}
type GetListBlockTransactionsLiteServerOK ¶ added in v1.0.0
type GetListBlockTransactionsLiteServerOK struct { ID BlockRaw `json:"id"` ReqCount uint32 `json:"req_count"` Incomplete bool `json:"incomplete"` Ids []GetListBlockTransactionsLiteServerOKIdsItem `json:"ids"` Proof string `json:"proof"` }
func (*GetListBlockTransactionsLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetListBlockTransactionsLiteServerOK from json.
func (GetListBlockTransactionsLiteServerOK) Encode ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetListBlockTransactionsLiteServerOK) GetID ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetListBlockTransactionsLiteServerOK) GetIds ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) GetIds() []GetListBlockTransactionsLiteServerOKIdsItem
GetIds returns the value of Ids.
func (GetListBlockTransactionsLiteServerOK) GetIncomplete ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) GetIncomplete() bool
GetIncomplete returns the value of Incomplete.
func (GetListBlockTransactionsLiteServerOK) GetProof ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) GetProof() string
GetProof returns the value of Proof.
func (GetListBlockTransactionsLiteServerOK) GetReqCount ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) GetReqCount() uint32
GetReqCount returns the value of ReqCount.
func (GetListBlockTransactionsLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetListBlockTransactionsLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetListBlockTransactionsLiteServerOK) SetIds ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) SetIds(val []GetListBlockTransactionsLiteServerOKIdsItem)
SetIds sets the value of Ids.
func (*GetListBlockTransactionsLiteServerOK) SetIncomplete ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) SetIncomplete(val bool)
SetIncomplete sets the value of Incomplete.
func (*GetListBlockTransactionsLiteServerOK) SetProof ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetListBlockTransactionsLiteServerOK) SetReqCount ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) SetReqCount(val uint32)
SetReqCount sets the value of ReqCount.
func (*GetListBlockTransactionsLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetListBlockTransactionsLiteServerOK) Validate ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOK) Validate() error
type GetListBlockTransactionsLiteServerOKIdsItem ¶ added in v1.0.0
type GetListBlockTransactionsLiteServerOKIdsItem struct { Mode uint32 `json:"mode"` Account OptString `json:"account"` Lt OptUint64 `json:"lt"` Hash OptString `json:"hash"` }
func (*GetListBlockTransactionsLiteServerOKIdsItem) Decode ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) Decode(d *jx.Decoder) error
Decode decodes GetListBlockTransactionsLiteServerOKIdsItem from json.
func (GetListBlockTransactionsLiteServerOKIdsItem) Encode ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetListBlockTransactionsLiteServerOKIdsItem) GetAccount ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) GetAccount() OptString
GetAccount returns the value of Account.
func (GetListBlockTransactionsLiteServerOKIdsItem) GetHash ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) GetHash() OptString
GetHash returns the value of Hash.
func (GetListBlockTransactionsLiteServerOKIdsItem) GetLt ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) GetLt() OptUint64
GetLt returns the value of Lt.
func (GetListBlockTransactionsLiteServerOKIdsItem) GetMode ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) GetMode() uint32
GetMode returns the value of Mode.
func (GetListBlockTransactionsLiteServerOKIdsItem) MarshalJSON ¶ added in v1.0.0
func (s GetListBlockTransactionsLiteServerOKIdsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetListBlockTransactionsLiteServerOKIdsItem) SetAccount ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetAccount(val OptString)
SetAccount sets the value of Account.
func (*GetListBlockTransactionsLiteServerOKIdsItem) SetHash ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetHash(val OptString)
SetHash sets the value of Hash.
func (*GetListBlockTransactionsLiteServerOKIdsItem) SetLt ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetLt(val OptUint64)
SetLt sets the value of Lt.
func (*GetListBlockTransactionsLiteServerOKIdsItem) SetMode ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetListBlockTransactionsLiteServerOKIdsItem) UnmarshalJSON ¶ added in v1.0.0
func (s *GetListBlockTransactionsLiteServerOKIdsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetListBlockTransactionsLiteServerParams ¶ added in v1.0.0
type GetListBlockTransactionsLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Mode. Mode uint32 // Count. Count uint32 // Account ID. AccountID OptString // Lt. Lt OptUint64 }
GetListBlockTransactionsLiteServerParams is parameters of getListBlockTransactionsLiteServer operation.
type GetListBlockTransactionsLiteServerRes ¶ added in v1.0.0
type GetListBlockTransactionsLiteServerRes interface {
// contains filtered or unexported methods
}
type GetMasterchainHeadRes ¶
type GetMasterchainHeadRes interface {
// contains filtered or unexported methods
}
type GetMasterchainInfoExtLiteServerOK ¶ added in v1.0.0
type GetMasterchainInfoExtLiteServerOK struct { Mode uint32 `json:"mode"` Version uint32 `json:"version"` Capabilities uint64 `json:"capabilities"` Last BlockRaw `json:"last"` LastUtime uint32 `json:"last_utime"` Now uint32 `json:"now"` StateRootHash string `json:"state_root_hash"` Init InitStateRaw `json:"init"` }
func (*GetMasterchainInfoExtLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetMasterchainInfoExtLiteServerOK from json.
func (GetMasterchainInfoExtLiteServerOK) Encode ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetMasterchainInfoExtLiteServerOK) GetCapabilities ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetCapabilities() uint64
GetCapabilities returns the value of Capabilities.
func (GetMasterchainInfoExtLiteServerOK) GetInit ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetInit() InitStateRaw
GetInit returns the value of Init.
func (GetMasterchainInfoExtLiteServerOK) GetLast ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetLast() BlockRaw
GetLast returns the value of Last.
func (GetMasterchainInfoExtLiteServerOK) GetLastUtime ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetLastUtime() uint32
GetLastUtime returns the value of LastUtime.
func (GetMasterchainInfoExtLiteServerOK) GetMode ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetMode() uint32
GetMode returns the value of Mode.
func (GetMasterchainInfoExtLiteServerOK) GetNow ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetNow() uint32
GetNow returns the value of Now.
func (GetMasterchainInfoExtLiteServerOK) GetStateRootHash ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetStateRootHash() string
GetStateRootHash returns the value of StateRootHash.
func (GetMasterchainInfoExtLiteServerOK) GetVersion ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) GetVersion() uint32
GetVersion returns the value of Version.
func (GetMasterchainInfoExtLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetMasterchainInfoExtLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMasterchainInfoExtLiteServerOK) SetCapabilities ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetCapabilities(val uint64)
SetCapabilities sets the value of Capabilities.
func (*GetMasterchainInfoExtLiteServerOK) SetInit ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetInit(val InitStateRaw)
SetInit sets the value of Init.
func (*GetMasterchainInfoExtLiteServerOK) SetLast ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetLast(val BlockRaw)
SetLast sets the value of Last.
func (*GetMasterchainInfoExtLiteServerOK) SetLastUtime ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetLastUtime(val uint32)
SetLastUtime sets the value of LastUtime.
func (*GetMasterchainInfoExtLiteServerOK) SetMode ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetMasterchainInfoExtLiteServerOK) SetNow ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetNow(val uint32)
SetNow sets the value of Now.
func (*GetMasterchainInfoExtLiteServerOK) SetStateRootHash ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetStateRootHash(val string)
SetStateRootHash sets the value of StateRootHash.
func (*GetMasterchainInfoExtLiteServerOK) SetVersion ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) SetVersion(val uint32)
SetVersion sets the value of Version.
func (*GetMasterchainInfoExtLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetMasterchainInfoExtLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMasterchainInfoExtLiteServerParams ¶ added in v1.0.0
type GetMasterchainInfoExtLiteServerParams struct { // Mode. Mode uint32 }
GetMasterchainInfoExtLiteServerParams is parameters of getMasterchainInfoExtLiteServer operation.
type GetMasterchainInfoExtLiteServerRes ¶ added in v1.0.0
type GetMasterchainInfoExtLiteServerRes interface {
// contains filtered or unexported methods
}
type GetMasterchainInfoLiteServerOK ¶ added in v1.0.0
type GetMasterchainInfoLiteServerOK struct { Last BlockRaw `json:"last"` StateRootHash string `json:"state_root_hash"` Init InitStateRaw `json:"init"` }
func (*GetMasterchainInfoLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetMasterchainInfoLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetMasterchainInfoLiteServerOK from json.
func (GetMasterchainInfoLiteServerOK) Encode ¶ added in v1.0.0
func (s GetMasterchainInfoLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetMasterchainInfoLiteServerOK) GetInit ¶ added in v1.0.0
func (s GetMasterchainInfoLiteServerOK) GetInit() InitStateRaw
GetInit returns the value of Init.
func (GetMasterchainInfoLiteServerOK) GetLast ¶ added in v1.0.0
func (s GetMasterchainInfoLiteServerOK) GetLast() BlockRaw
GetLast returns the value of Last.
func (GetMasterchainInfoLiteServerOK) GetStateRootHash ¶ added in v1.0.0
func (s GetMasterchainInfoLiteServerOK) GetStateRootHash() string
GetStateRootHash returns the value of StateRootHash.
func (GetMasterchainInfoLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetMasterchainInfoLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetMasterchainInfoLiteServerOK) SetInit ¶ added in v1.0.0
func (s *GetMasterchainInfoLiteServerOK) SetInit(val InitStateRaw)
SetInit sets the value of Init.
func (*GetMasterchainInfoLiteServerOK) SetLast ¶ added in v1.0.0
func (s *GetMasterchainInfoLiteServerOK) SetLast(val BlockRaw)
SetLast sets the value of Last.
func (*GetMasterchainInfoLiteServerOK) SetStateRootHash ¶ added in v1.0.0
func (s *GetMasterchainInfoLiteServerOK) SetStateRootHash(val string)
SetStateRootHash sets the value of StateRootHash.
func (*GetMasterchainInfoLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetMasterchainInfoLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetMasterchainInfoLiteServerRes ¶ added in v1.0.0
type GetMasterchainInfoLiteServerRes interface {
// contains filtered or unexported methods
}
type GetNftCollectionParams ¶
type GetNftCollectionParams struct { // Account ID. AccountID string }
GetNftCollectionParams is parameters of getNftCollection operation.
type GetNftCollectionRes ¶
type GetNftCollectionRes interface {
// contains filtered or unexported methods
}
type GetNftCollectionsParams ¶
GetNftCollectionsParams is parameters of getNftCollections operation.
type GetNftCollectionsRes ¶
type GetNftCollectionsRes interface {
// contains filtered or unexported methods
}
type GetNftItemByAddressParams ¶
type GetNftItemByAddressParams struct { // Account ID. AccountID string }
GetNftItemByAddressParams is parameters of getNftItemByAddress operation.
type GetNftItemByAddressRes ¶
type GetNftItemByAddressRes interface {
// contains filtered or unexported methods
}
type GetNftItemsByAddressesReq ¶
type GetNftItemsByAddressesReq struct {
AccountIds []string `json:"account_ids"`
}
func (*GetNftItemsByAddressesReq) Decode ¶
func (s *GetNftItemsByAddressesReq) Decode(d *jx.Decoder) error
Decode decodes GetNftItemsByAddressesReq from json.
func (GetNftItemsByAddressesReq) Encode ¶
func (s GetNftItemsByAddressesReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetNftItemsByAddressesReq) GetAccountIds ¶
func (s GetNftItemsByAddressesReq) GetAccountIds() []string
GetAccountIds returns the value of AccountIds.
func (GetNftItemsByAddressesReq) MarshalJSON ¶
func (s GetNftItemsByAddressesReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetNftItemsByAddressesReq) SetAccountIds ¶
func (s *GetNftItemsByAddressesReq) SetAccountIds(val []string)
SetAccountIds sets the value of AccountIds.
func (*GetNftItemsByAddressesReq) UnmarshalJSON ¶
func (s *GetNftItemsByAddressesReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetNftItemsByAddressesReq) Validate ¶
func (s GetNftItemsByAddressesReq) Validate() error
type GetNftItemsByAddressesRes ¶
type GetNftItemsByAddressesRes interface {
// contains filtered or unexported methods
}
type GetNftItemsByOwnerParams ¶
type GetNftItemsByOwnerParams struct { // Account ID. AccountID string // Nft collection. Collection OptString Limit OptInt Offset OptInt // Selling nft items in ton implemented usually via transfer items to special selling account. This // option enables including items which owned not directly. IndirectOwnership OptBool }
GetNftItemsByOwnerParams is parameters of getNftItemsByOwner operation.
type GetNftItemsByOwnerRes ¶
type GetNftItemsByOwnerRes interface {
// contains filtered or unexported methods
}
type GetPublicKeyByAccountIDOK ¶
type GetPublicKeyByAccountIDOK struct {
PublicKey string `json:"public_key"`
}
func (*GetPublicKeyByAccountIDOK) Decode ¶
func (s *GetPublicKeyByAccountIDOK) Decode(d *jx.Decoder) error
Decode decodes GetPublicKeyByAccountIDOK from json.
func (GetPublicKeyByAccountIDOK) Encode ¶
func (s GetPublicKeyByAccountIDOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetPublicKeyByAccountIDOK) GetPublicKey ¶
func (s GetPublicKeyByAccountIDOK) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (GetPublicKeyByAccountIDOK) MarshalJSON ¶
func (s GetPublicKeyByAccountIDOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetPublicKeyByAccountIDOK) SetPublicKey ¶
func (s *GetPublicKeyByAccountIDOK) SetPublicKey(val string)
SetPublicKey sets the value of PublicKey.
func (*GetPublicKeyByAccountIDOK) UnmarshalJSON ¶
func (s *GetPublicKeyByAccountIDOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetPublicKeyByAccountIDParams ¶
type GetPublicKeyByAccountIDParams struct { // Account ID. AccountID string }
GetPublicKeyByAccountIDParams is parameters of getPublicKeyByAccountID operation.
type GetPublicKeyByAccountIDRes ¶
type GetPublicKeyByAccountIDRes interface {
// contains filtered or unexported methods
}
type GetRatesOK ¶
func (*GetRatesOK) Decode ¶
func (s *GetRatesOK) Decode(d *jx.Decoder) error
Decode decodes GetRatesOK from json.
func (GetRatesOK) Encode ¶
func (s GetRatesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetRatesOK) GetRates ¶
func (s GetRatesOK) GetRates() jx.Raw
GetRates returns the value of Rates.
func (GetRatesOK) MarshalJSON ¶
func (s GetRatesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRatesOK) SetRates ¶
func (s *GetRatesOK) SetRates(val jx.Raw)
SetRates sets the value of Rates.
func (*GetRatesOK) UnmarshalJSON ¶
func (s *GetRatesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRatesParams ¶
type GetRatesParams struct { // Accept ton and jetton master addresses, separated by commas. Tokens string // Accept ton and all possible fiat currencies, separated by commas. Currencies string }
GetRatesParams is parameters of getRates operation.
type GetRatesRes ¶
type GetRatesRes interface {
// contains filtered or unexported methods
}
type GetRawAccountParams ¶
type GetRawAccountParams struct { // Account ID. AccountID string }
GetRawAccountParams is parameters of getRawAccount operation.
type GetRawAccountRes ¶
type GetRawAccountRes interface {
// contains filtered or unexported methods
}
type GetSearchAccountsParams ¶
type GetSearchAccountsParams struct {
Name string
}
GetSearchAccountsParams is parameters of getSearchAccounts operation.
type GetSearchAccountsRes ¶
type GetSearchAccountsRes interface {
// contains filtered or unexported methods
}
type GetShardBlockProofLiteServerOK ¶ added in v1.0.0
type GetShardBlockProofLiteServerOK struct { MasterchainID BlockRaw `json:"masterchain_id"` Links []GetShardBlockProofLiteServerOKLinksItem `json:"links"` }
func (*GetShardBlockProofLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetShardBlockProofLiteServerOK from json.
func (GetShardBlockProofLiteServerOK) Encode ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetShardBlockProofLiteServerOK) GetLinks ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOK) GetLinks() []GetShardBlockProofLiteServerOKLinksItem
GetLinks returns the value of Links.
func (GetShardBlockProofLiteServerOK) GetMasterchainID ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOK) GetMasterchainID() BlockRaw
GetMasterchainID returns the value of MasterchainID.
func (GetShardBlockProofLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetShardBlockProofLiteServerOK) SetLinks ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOK) SetLinks(val []GetShardBlockProofLiteServerOKLinksItem)
SetLinks sets the value of Links.
func (*GetShardBlockProofLiteServerOK) SetMasterchainID ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOK) SetMasterchainID(val BlockRaw)
SetMasterchainID sets the value of MasterchainID.
func (*GetShardBlockProofLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetShardBlockProofLiteServerOK) Validate ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOK) Validate() error
type GetShardBlockProofLiteServerOKLinksItem ¶ added in v1.0.0
type GetShardBlockProofLiteServerOKLinksItem struct { ID BlockRaw `json:"id"` Proof string `json:"proof"` }
func (*GetShardBlockProofLiteServerOKLinksItem) Decode ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOKLinksItem) Decode(d *jx.Decoder) error
Decode decodes GetShardBlockProofLiteServerOKLinksItem from json.
func (GetShardBlockProofLiteServerOKLinksItem) Encode ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOKLinksItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetShardBlockProofLiteServerOKLinksItem) GetID ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOKLinksItem) GetID() BlockRaw
GetID returns the value of ID.
func (GetShardBlockProofLiteServerOKLinksItem) GetProof ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOKLinksItem) GetProof() string
GetProof returns the value of Proof.
func (GetShardBlockProofLiteServerOKLinksItem) MarshalJSON ¶ added in v1.0.0
func (s GetShardBlockProofLiteServerOKLinksItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetShardBlockProofLiteServerOKLinksItem) SetID ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOKLinksItem) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetShardBlockProofLiteServerOKLinksItem) SetProof ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOKLinksItem) SetProof(val string)
SetProof sets the value of Proof.
func (*GetShardBlockProofLiteServerOKLinksItem) UnmarshalJSON ¶ added in v1.0.0
func (s *GetShardBlockProofLiteServerOKLinksItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetShardBlockProofLiteServerParams ¶ added in v1.0.0
type GetShardBlockProofLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetShardBlockProofLiteServerParams is parameters of getShardBlockProofLiteServer operation.
type GetShardBlockProofLiteServerRes ¶ added in v1.0.0
type GetShardBlockProofLiteServerRes interface {
// contains filtered or unexported methods
}
type GetShardInfoLiteServerOK ¶ added in v1.0.0
type GetShardInfoLiteServerOK struct { ID BlockRaw `json:"id"` Shardblk BlockRaw `json:"shardblk"` ShardProof string `json:"shard_proof"` ShardDescr string `json:"shard_descr"` }
func (*GetShardInfoLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetShardInfoLiteServerOK from json.
func (GetShardInfoLiteServerOK) Encode ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetShardInfoLiteServerOK) GetID ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetShardInfoLiteServerOK) GetShardDescr ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) GetShardDescr() string
GetShardDescr returns the value of ShardDescr.
func (GetShardInfoLiteServerOK) GetShardProof ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) GetShardProof() string
GetShardProof returns the value of ShardProof.
func (GetShardInfoLiteServerOK) GetShardblk ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) GetShardblk() BlockRaw
GetShardblk returns the value of Shardblk.
func (GetShardInfoLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetShardInfoLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetShardInfoLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetShardInfoLiteServerOK) SetShardDescr ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) SetShardDescr(val string)
SetShardDescr sets the value of ShardDescr.
func (*GetShardInfoLiteServerOK) SetShardProof ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) SetShardProof(val string)
SetShardProof sets the value of ShardProof.
func (*GetShardInfoLiteServerOK) SetShardblk ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) SetShardblk(val BlockRaw)
SetShardblk sets the value of Shardblk.
func (*GetShardInfoLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetShardInfoLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetShardInfoLiteServerParams ¶ added in v1.0.0
type GetShardInfoLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Workchain. Workchain uint32 // Shard. Shard uint64 // Exact. Exact bool }
GetShardInfoLiteServerParams is parameters of getShardInfoLiteServer operation.
type GetShardInfoLiteServerRes ¶ added in v1.0.0
type GetShardInfoLiteServerRes interface {
// contains filtered or unexported methods
}
type GetStateLiteServerOK ¶ added in v1.0.0
type GetStateLiteServerOK struct { ID BlockRaw `json:"id"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` Data string `json:"data"` }
func (*GetStateLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetStateLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetStateLiteServerOK from json.
func (GetStateLiteServerOK) Encode ¶ added in v1.0.0
func (s GetStateLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetStateLiteServerOK) GetData ¶ added in v1.0.0
func (s GetStateLiteServerOK) GetData() string
GetData returns the value of Data.
func (GetStateLiteServerOK) GetFileHash ¶ added in v1.0.0
func (s GetStateLiteServerOK) GetFileHash() string
GetFileHash returns the value of FileHash.
func (GetStateLiteServerOK) GetID ¶ added in v1.0.0
func (s GetStateLiteServerOK) GetID() BlockRaw
GetID returns the value of ID.
func (GetStateLiteServerOK) GetRootHash ¶ added in v1.0.0
func (s GetStateLiteServerOK) GetRootHash() string
GetRootHash returns the value of RootHash.
func (GetStateLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetStateLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStateLiteServerOK) SetData ¶ added in v1.0.0
func (s *GetStateLiteServerOK) SetData(val string)
SetData sets the value of Data.
func (*GetStateLiteServerOK) SetFileHash ¶ added in v1.0.0
func (s *GetStateLiteServerOK) SetFileHash(val string)
SetFileHash sets the value of FileHash.
func (*GetStateLiteServerOK) SetID ¶ added in v1.0.0
func (s *GetStateLiteServerOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetStateLiteServerOK) SetRootHash ¶ added in v1.0.0
func (s *GetStateLiteServerOK) SetRootHash(val string)
SetRootHash sets the value of RootHash.
func (*GetStateLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetStateLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetStateLiteServerParams ¶ added in v1.0.0
type GetStateLiteServerParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetStateLiteServerParams is parameters of getStateLiteServer operation.
type GetStateLiteServerRes ¶ added in v1.0.0
type GetStateLiteServerRes interface {
// contains filtered or unexported methods
}
type GetStorageProvidersOK ¶
type GetStorageProvidersOK struct {
Providers []StorageProvider `json:"providers"`
}
func (*GetStorageProvidersOK) Decode ¶
func (s *GetStorageProvidersOK) Decode(d *jx.Decoder) error
Decode decodes GetStorageProvidersOK from json.
func (GetStorageProvidersOK) Encode ¶
func (s GetStorageProvidersOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetStorageProvidersOK) GetProviders ¶
func (s GetStorageProvidersOK) GetProviders() []StorageProvider
GetProviders returns the value of Providers.
func (GetStorageProvidersOK) MarshalJSON ¶
func (s GetStorageProvidersOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStorageProvidersOK) SetProviders ¶
func (s *GetStorageProvidersOK) SetProviders(val []StorageProvider)
SetProviders sets the value of Providers.
func (*GetStorageProvidersOK) UnmarshalJSON ¶
func (s *GetStorageProvidersOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetStorageProvidersOK) Validate ¶
func (s GetStorageProvidersOK) Validate() error
type GetStorageProvidersRes ¶
type GetStorageProvidersRes interface {
// contains filtered or unexported methods
}
type GetSubscriptionsByAccountParams ¶
type GetSubscriptionsByAccountParams struct { // Account ID. AccountID string }
GetSubscriptionsByAccountParams is parameters of getSubscriptionsByAccount operation.
type GetSubscriptionsByAccountRes ¶
type GetSubscriptionsByAccountRes interface {
// contains filtered or unexported methods
}
type GetTimeLiteServerOK ¶ added in v1.0.0
type GetTimeLiteServerOK struct {
Time uint32 `json:"time"`
}
func (*GetTimeLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetTimeLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetTimeLiteServerOK from json.
func (GetTimeLiteServerOK) Encode ¶ added in v1.0.0
func (s GetTimeLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetTimeLiteServerOK) GetTime ¶ added in v1.0.0
func (s GetTimeLiteServerOK) GetTime() uint32
GetTime returns the value of Time.
func (GetTimeLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetTimeLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTimeLiteServerOK) SetTime ¶ added in v1.0.0
func (s *GetTimeLiteServerOK) SetTime(val uint32)
SetTime sets the value of Time.
func (*GetTimeLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetTimeLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTimeLiteServerRes ¶ added in v1.0.0
type GetTimeLiteServerRes interface {
// contains filtered or unexported methods
}
type GetTonConnectPayloadOK ¶
type GetTonConnectPayloadOK struct {
Payload string `json:"payload"`
}
func (*GetTonConnectPayloadOK) Decode ¶
func (s *GetTonConnectPayloadOK) Decode(d *jx.Decoder) error
Decode decodes GetTonConnectPayloadOK from json.
func (GetTonConnectPayloadOK) Encode ¶
func (s GetTonConnectPayloadOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetTonConnectPayloadOK) GetPayload ¶
func (s GetTonConnectPayloadOK) GetPayload() string
GetPayload returns the value of Payload.
func (GetTonConnectPayloadOK) MarshalJSON ¶
func (s GetTonConnectPayloadOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTonConnectPayloadOK) SetPayload ¶
func (s *GetTonConnectPayloadOK) SetPayload(val string)
SetPayload sets the value of Payload.
func (*GetTonConnectPayloadOK) UnmarshalJSON ¶
func (s *GetTonConnectPayloadOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetTonConnectPayloadRes ¶
type GetTonConnectPayloadRes interface {
// contains filtered or unexported methods
}
type GetTraceParams ¶
type GetTraceParams struct { // Trace ID or transaction hash in hex (without 0x) or base64url format. TraceID string }
GetTraceParams is parameters of getTrace operation.
type GetTraceRes ¶
type GetTraceRes interface {
// contains filtered or unexported methods
}
type GetTracesByAccountParams ¶
GetTracesByAccountParams is parameters of getTracesByAccount operation.
type GetTracesByAccountRes ¶
type GetTracesByAccountRes interface {
// contains filtered or unexported methods
}
type GetTransactionByMessageHashParams ¶ added in v1.0.0
type GetTransactionByMessageHashParams struct { // Message ID. MsgID string }
GetTransactionByMessageHashParams is parameters of getTransactionByMessageHash operation.
type GetTransactionByMessageHashRes ¶ added in v1.0.0
type GetTransactionByMessageHashRes interface {
// contains filtered or unexported methods
}
type GetTransactionParams ¶
type GetTransactionParams struct { // Transaction ID. TransactionID string }
GetTransactionParams is parameters of getTransaction operation.
type GetTransactionRes ¶
type GetTransactionRes interface {
// contains filtered or unexported methods
}
type GetTransactionsLiteServerOK ¶ added in v1.0.0
type GetTransactionsLiteServerOK struct { Ids []BlockRaw `json:"ids"` Transactions string `json:"transactions"` }
func (*GetTransactionsLiteServerOK) Decode ¶ added in v1.0.0
func (s *GetTransactionsLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes GetTransactionsLiteServerOK from json.
func (GetTransactionsLiteServerOK) Encode ¶ added in v1.0.0
func (s GetTransactionsLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetTransactionsLiteServerOK) GetIds ¶ added in v1.0.0
func (s GetTransactionsLiteServerOK) GetIds() []BlockRaw
GetIds returns the value of Ids.
func (GetTransactionsLiteServerOK) GetTransactions ¶ added in v1.0.0
func (s GetTransactionsLiteServerOK) GetTransactions() string
GetTransactions returns the value of Transactions.
func (GetTransactionsLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s GetTransactionsLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetTransactionsLiteServerOK) SetIds ¶ added in v1.0.0
func (s *GetTransactionsLiteServerOK) SetIds(val []BlockRaw)
SetIds sets the value of Ids.
func (*GetTransactionsLiteServerOK) SetTransactions ¶ added in v1.0.0
func (s *GetTransactionsLiteServerOK) SetTransactions(val string)
SetTransactions sets the value of Transactions.
func (*GetTransactionsLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *GetTransactionsLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetTransactionsLiteServerOK) Validate ¶ added in v1.0.0
func (s GetTransactionsLiteServerOK) Validate() error
type GetTransactionsLiteServerParams ¶ added in v1.0.0
type GetTransactionsLiteServerParams struct { // Account ID. AccountID string // Count. Count uint32 // Lt. Lt uint64 // Hash. Hash string }
GetTransactionsLiteServerParams is parameters of getTransactionsLiteServer operation.
type GetTransactionsLiteServerRes ¶ added in v1.0.0
type GetTransactionsLiteServerRes interface {
// contains filtered or unexported methods
}
type GetValidatorsRes ¶
type GetValidatorsRes interface {
// contains filtered or unexported methods
}
type GetWalletBackupOK ¶
type GetWalletBackupOK struct {
Dump string `json:"dump"`
}
func (*GetWalletBackupOK) Decode ¶
func (s *GetWalletBackupOK) Decode(d *jx.Decoder) error
Decode decodes GetWalletBackupOK from json.
func (GetWalletBackupOK) Encode ¶
func (s GetWalletBackupOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetWalletBackupOK) GetDump ¶
func (s GetWalletBackupOK) GetDump() string
GetDump returns the value of Dump.
func (GetWalletBackupOK) MarshalJSON ¶
func (s GetWalletBackupOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetWalletBackupOK) SetDump ¶
func (s *GetWalletBackupOK) SetDump(val string)
SetDump sets the value of Dump.
func (*GetWalletBackupOK) UnmarshalJSON ¶
func (s *GetWalletBackupOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetWalletBackupParams ¶
type GetWalletBackupParams struct {
XTonConnectAuth string
}
GetWalletBackupParams is parameters of getWalletBackup operation.
type GetWalletBackupRes ¶
type GetWalletBackupRes interface {
// contains filtered or unexported methods
}
type GetWalletsByPublicKeyParams ¶ added in v1.0.0
type GetWalletsByPublicKeyParams struct {
PublicKey string
}
GetWalletsByPublicKeyParams is parameters of getWalletsByPublicKey operation.
type GetWalletsByPublicKeyRes ¶ added in v1.0.0
type GetWalletsByPublicKeyRes interface {
// contains filtered or unexported methods
}
type Handler ¶
type Handler interface { // DnsBackResolve implements dnsBackResolve operation. // // Get domains for wallet account. // // GET /v2/accounts/{account_id}/dns/backresolve DnsBackResolve(ctx context.Context, params DnsBackResolveParams) (DnsBackResolveRes, error) // DnsInfo implements dnsInfo operation. // // Get full information about domain name. // // GET /v2/dns/{domain_name} DnsInfo(ctx context.Context, params DnsInfoParams) (DnsInfoRes, error) // DnsResolve implements dnsResolve operation. // // DNS resolve for domain name. // // GET /v2/dns/{domain_name}/resolve DnsResolve(ctx context.Context, params DnsResolveParams) (DnsResolveRes, error) // EmulateMessageToAccountEvent implements emulateMessageToAccountEvent operation. // // Emulate sending message to blockchain. // // POST /v2/accounts/{account_id}/events/emulate EmulateMessageToAccountEvent(ctx context.Context, req EmulateMessageToAccountEventReq, params EmulateMessageToAccountEventParams) (EmulateMessageToAccountEventRes, error) // EmulateMessageToEvent implements emulateMessageToEvent operation. // // Emulate sending message to blockchain. // // POST /v2/events/emulate EmulateMessageToEvent(ctx context.Context, req EmulateMessageToEventReq, params EmulateMessageToEventParams) (EmulateMessageToEventRes, error) // EmulateMessageToTrace implements emulateMessageToTrace operation. // // Emulate sending message to blockchain. // // POST /v2/traces/emulate EmulateMessageToTrace(ctx context.Context, req EmulateMessageToTraceReq) (EmulateMessageToTraceRes, error) // EmulateWalletMessage implements emulateWalletMessage operation. // // Emulate sending message to blockchain. // // POST /v2/wallet/emulate EmulateWalletMessage(ctx context.Context, req EmulateWalletMessageReq, params EmulateWalletMessageParams) (EmulateWalletMessageRes, error) // ExecGetMethod implements execGetMethod operation. // // Execute get method for account. // // GET /v2/blockchain/accounts/{account_id}/methods/{method_name} ExecGetMethod(ctx context.Context, params ExecGetMethodParams) (ExecGetMethodRes, error) // GetAccount implements getAccount operation. // // Get human-friendly information about an account without low-level details. // // GET /v2/accounts/{account_id} GetAccount(ctx context.Context, params GetAccountParams) (GetAccountRes, error) // GetAccountInfoByStateInit implements getAccountInfoByStateInit operation. // // Get account info by state init. // // POST /v2/tonconnect/stateinit GetAccountInfoByStateInit(ctx context.Context, req GetAccountInfoByStateInitReq) (GetAccountInfoByStateInitRes, error) // GetAccountSeqno implements getAccountSeqno operation. // // Get account seqno. // // GET /v2/wallet/{account_id}/seqno GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (GetAccountSeqnoRes, error) // GetAccountStateLiteServer implements getAccountStateLiteServer operation. // // Get account state. // // GET /v2/liteserver/get_account_state/{account_id} GetAccountStateLiteServer(ctx context.Context, params GetAccountStateLiteServerParams) (GetAccountStateLiteServerRes, error) // GetAccountTransactions implements getAccountTransactions operation. // // Get account transactions. // // GET /v2/blockchain/accounts/{account_id}/transactions GetAccountTransactions(ctx context.Context, params GetAccountTransactionsParams) (GetAccountTransactionsRes, error) // GetAccounts implements getAccounts operation. // // Get human-friendly information about several accounts without low-level details. // // POST /v2/accounts/_bulk GetAccounts(ctx context.Context, req OptGetAccountsReq) (GetAccountsRes, error) // GetAllAuctions implements getAllAuctions operation. // // Get all auctions. // // GET /v2/dns/auctions GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (GetAllAuctionsRes, error) // GetAllShardsInfoLiteServer implements getAllShardsInfoLiteServer operation. // // Get all shards info. // // GET /v2/liteserver/get_all_shards_info/{block_id} GetAllShardsInfoLiteServer(ctx context.Context, params GetAllShardsInfoLiteServerParams) (GetAllShardsInfoLiteServerRes, error) // GetBlock implements getBlock operation. // // Get block data. // // GET /v2/blockchain/blocks/{block_id} GetBlock(ctx context.Context, params GetBlockParams) (GetBlockRes, error) // GetBlockHeaderLiteServer implements getBlockHeaderLiteServer operation. // // Get block header. // // GET /v2/liteserver/get_block_header/{block_id} GetBlockHeaderLiteServer(ctx context.Context, params GetBlockHeaderLiteServerParams) (GetBlockHeaderLiteServerRes, error) // GetBlockLiteServer implements getBlockLiteServer operation. // // Get block. // // GET /v2/liteserver/get_block/{block_id} GetBlockLiteServer(ctx context.Context, params GetBlockLiteServerParams) (GetBlockLiteServerRes, error) // GetBlockProofLiteServer implements getBlockProofLiteServer operation. // // Get block proof. // // GET /v2/liteserver/get_block_proof GetBlockProofLiteServer(ctx context.Context, params GetBlockProofLiteServerParams) (GetBlockProofLiteServerRes, error) // GetBlockTransactions implements getBlockTransactions operation. // // Get transactions from block. // // GET /v2/blockchain/blocks/{block_id}/transactions GetBlockTransactions(ctx context.Context, params GetBlockTransactionsParams) (GetBlockTransactionsRes, error) // GetConfig implements getConfig operation. // // Get blockchain config. // // GET /v2/blockchain/config GetConfig(ctx context.Context) (GetConfigRes, error) // GetConfigAllLiteServer implements getConfigAllLiteServer operation. // // Get config all. // // GET /v2/liteserver/get_config_all/{block_id} GetConfigAllLiteServer(ctx context.Context, params GetConfigAllLiteServerParams) (GetConfigAllLiteServerRes, error) // GetDnsExpiring implements getDnsExpiring operation. // // Get expiring .ton dns. // // GET /v2/accounts/{account_id}/dns/expiring GetDnsExpiring(ctx context.Context, params GetDnsExpiringParams) (GetDnsExpiringRes, error) // GetDomainBids implements getDomainBids operation. // // Get domain bids. // // GET /v2/dns/{domain_name}/bids GetDomainBids(ctx context.Context, params GetDomainBidsParams) (GetDomainBidsRes, error) // GetEvent implements getEvent operation. // // Get an event either by event ID or a hash of any transaction in a trace. An event is built on top // of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known // patterns inside the trace and splits the trace into actions, where a single action represents a // meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to // be shown to users. It is advised not to build any logic on top of actions because actions can be // changed at any time. // // GET /v2/events/{event_id} GetEvent(ctx context.Context, params GetEventParams) (GetEventRes, error) // GetEventsByAccount implements getEventsByAccount operation. // // Get events for an account. Each event is built on top of a trace which is a series of transactions // caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the // trace into actions, where a single action represents a meaningful high-level operation like a // Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not // to build any logic on top of actions because actions can be changed at any time. // // GET /v2/accounts/{account_id}/events GetEventsByAccount(ctx context.Context, params GetEventsByAccountParams) (GetEventsByAccountRes, error) // GetItemsFromCollection implements getItemsFromCollection operation. // // Get NFT items from collection by collection address. // // GET /v2/nfts/collections/{account_id}/items GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (GetItemsFromCollectionRes, error) // GetJettonInfo implements getJettonInfo operation. // // Get jetton metadata by jetton master address. // // GET /v2/jettons/{account_id} GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (GetJettonInfoRes, error) // GetJettons implements getJettons operation. // // Get a list of all indexed jetton masters in the blockchain. // // GET /v2/jettons GetJettons(ctx context.Context, params GetJettonsParams) (GetJettonsRes, error) // GetJettonsBalances implements getJettonsBalances operation. // // Get all Jettons balances by owner address. // // GET /v2/accounts/{account_id}/jettons GetJettonsBalances(ctx context.Context, params GetJettonsBalancesParams) (GetJettonsBalancesRes, error) // GetJettonsHistory implements getJettonsHistory operation. // // Get the transfer jettons history for account_id. // // GET /v2/accounts/{account_id}/jettons/history GetJettonsHistory(ctx context.Context, params GetJettonsHistoryParams) (GetJettonsHistoryRes, error) // GetJettonsHistoryByID implements getJettonsHistoryByID operation. // // Get the transfer jetton history for account_id and jetton_id. // // GET /v2/accounts/{account_id}/jettons/{jetton_id}/history GetJettonsHistoryByID(ctx context.Context, params GetJettonsHistoryByIDParams) (GetJettonsHistoryByIDRes, error) // GetListBlockTransactionsLiteServer implements getListBlockTransactionsLiteServer operation. // // Get list block transactions. // // GET /v2/liteserver/list_block_transactions/{block_id} GetListBlockTransactionsLiteServer(ctx context.Context, params GetListBlockTransactionsLiteServerParams) (GetListBlockTransactionsLiteServerRes, error) // GetMasterchainHead implements getMasterchainHead operation. // // Get last known masterchain block. // // GET /v2/blockchain/masterchain-head GetMasterchainHead(ctx context.Context) (GetMasterchainHeadRes, error) // GetMasterchainInfoExtLiteServer implements getMasterchainInfoExtLiteServer operation. // // Get masterchain info ext. // // GET /v2/liteserver/get_masterchain_info_ext GetMasterchainInfoExtLiteServer(ctx context.Context, params GetMasterchainInfoExtLiteServerParams) (GetMasterchainInfoExtLiteServerRes, error) // GetMasterchainInfoLiteServer implements getMasterchainInfoLiteServer operation. // // Get masterchain info. // // GET /v2/liteserver/get_masterchain_info GetMasterchainInfoLiteServer(ctx context.Context) (GetMasterchainInfoLiteServerRes, error) // GetNftCollection implements getNftCollection operation. // // Get NFT collection by collection address. // // GET /v2/nfts/collections/{account_id} GetNftCollection(ctx context.Context, params GetNftCollectionParams) (GetNftCollectionRes, error) // GetNftCollections implements getNftCollections operation. // // Get NFT collections. // // GET /v2/nfts/collections GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (GetNftCollectionsRes, error) // GetNftItemByAddress implements getNftItemByAddress operation. // // Get NFT item by its address. // // GET /v2/nfts/{account_id} GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (GetNftItemByAddressRes, error) // GetNftItemsByAddresses implements getNftItemsByAddresses operation. // // Get NFT items by their addresses. // // POST /v2/nfts/_bulk GetNftItemsByAddresses(ctx context.Context, req OptGetNftItemsByAddressesReq) (GetNftItemsByAddressesRes, error) // GetNftItemsByOwner implements getNftItemsByOwner operation. // // Get all NFT items by owner address. // // GET /v2/accounts/{account_id}/nfts GetNftItemsByOwner(ctx context.Context, params GetNftItemsByOwnerParams) (GetNftItemsByOwnerRes, error) // GetPublicKeyByAccountID implements getPublicKeyByAccountID operation. // // Get public key by account id. // // GET /v2/accounts/{account_id}/publickey GetPublicKeyByAccountID(ctx context.Context, params GetPublicKeyByAccountIDParams) (GetPublicKeyByAccountIDRes, error) // GetRates implements getRates operation. // // Get the token price to the currency. // // GET /v2/rates GetRates(ctx context.Context, params GetRatesParams) (GetRatesRes, error) // GetRawAccount implements getRawAccount operation. // // Get low-level information about an account taken directly from the blockchain. // // GET /v2/blockchain/accounts/{account_id} GetRawAccount(ctx context.Context, params GetRawAccountParams) (GetRawAccountRes, error) // GetSearchAccounts implements getSearchAccounts operation. // // Search for accounts by name. You can find the account by the first characters of the domain. // // GET /v2/accounts/search GetSearchAccounts(ctx context.Context, params GetSearchAccountsParams) (GetSearchAccountsRes, error) // GetShardBlockProofLiteServer implements getShardBlockProofLiteServer operation. // // Get shard block proof. // // GET /v2/liteserver/get_shard_block_proof/{block_id} GetShardBlockProofLiteServer(ctx context.Context, params GetShardBlockProofLiteServerParams) (GetShardBlockProofLiteServerRes, error) // GetShardInfoLiteServer implements getShardInfoLiteServer operation. // // Get shard info. // // GET /v2/liteserver/get_shard_info/{block_id} GetShardInfoLiteServer(ctx context.Context, params GetShardInfoLiteServerParams) (GetShardInfoLiteServerRes, error) // GetStateLiteServer implements getStateLiteServer operation. // // Get block state. // // GET /v2/liteserver/get_state/{block_id} GetStateLiteServer(ctx context.Context, params GetStateLiteServerParams) (GetStateLiteServerRes, error) // GetStorageProviders implements getStorageProviders operation. // // Get TON storage providers deployed to the blockchain. // // GET /v2/storage/providers GetStorageProviders(ctx context.Context) (GetStorageProvidersRes, error) // GetSubscriptionsByAccount implements getSubscriptionsByAccount operation. // // Get all subscriptions by wallet address. // // GET /v2/accounts/{account_id}/subscriptions GetSubscriptionsByAccount(ctx context.Context, params GetSubscriptionsByAccountParams) (GetSubscriptionsByAccountRes, error) // GetTimeLiteServer implements getTimeLiteServer operation. // // Get time. // // GET /v2/liteserver/get_time GetTimeLiteServer(ctx context.Context) (GetTimeLiteServerRes, error) // GetTonConnectPayload implements getTonConnectPayload operation. // // Get a payload for further token receipt. // // GET /v2/tonconnect/payload GetTonConnectPayload(ctx context.Context) (GetTonConnectPayloadRes, error) // GetTrace implements getTrace operation. // // Get the trace by trace ID or hash of any transaction in trace. // // GET /v2/traces/{trace_id} GetTrace(ctx context.Context, params GetTraceParams) (GetTraceRes, error) // GetTracesByAccount implements getTracesByAccount operation. // // Get traces for account. // // GET /v2/accounts/{account_id}/traces GetTracesByAccount(ctx context.Context, params GetTracesByAccountParams) (GetTracesByAccountRes, error) // GetTransaction implements getTransaction operation. // // Get transaction data. // // GET /v2/blockchain/transactions/{transaction_id} GetTransaction(ctx context.Context, params GetTransactionParams) (GetTransactionRes, error) // GetTransactionByMessageHash implements getTransactionByMessageHash operation. // // Get transaction data by message hash. // // GET /v2/blockchain/messages/{msg_id}/transaction GetTransactionByMessageHash(ctx context.Context, params GetTransactionByMessageHashParams) (GetTransactionByMessageHashRes, error) // GetTransactionsLiteServer implements getTransactionsLiteServer operation. // // Get transactions. // // GET /v2/liteserver/get_transactions/{account_id} GetTransactionsLiteServer(ctx context.Context, params GetTransactionsLiteServerParams) (GetTransactionsLiteServerRes, error) // GetValidators implements getValidators operation. // // Get validators. // // GET /v2/blockchain/validators GetValidators(ctx context.Context) (GetValidatorsRes, error) // GetWalletBackup implements getWalletBackup operation. // // Get backup info. // // GET /v2/wallet/backup GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (GetWalletBackupRes, error) // GetWalletsByPublicKey implements getWalletsByPublicKey operation. // // Get wallets by public key. // // GET /v2/pubkeys/{public_key}/wallets GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (GetWalletsByPublicKeyRes, error) // PoolsByNominators implements poolsByNominators operation. // // All pools where account participates. // // GET /v2/staking/nominator/{account_id}/pools PoolsByNominators(ctx context.Context, params PoolsByNominatorsParams) (PoolsByNominatorsRes, error) // ReindexAccount implements reindexAccount operation. // // Update internal cache for a particular account. // // POST /v2/accounts/{account_id}/reindex ReindexAccount(ctx context.Context, params ReindexAccountParams) (ReindexAccountRes, error) // SendMessage implements sendMessage operation. // // Send message to blockchain. // // POST /v2/blockchain/message SendMessage(ctx context.Context, req SendMessageReq) (SendMessageRes, error) // SendMessageLiteServer implements sendMessageLiteServer operation. // // Send message. // // POST /v2/liteserver/send_message SendMessageLiteServer(ctx context.Context, req SendMessageLiteServerReq) (SendMessageLiteServerRes, error) // SetWalletBackup implements setWalletBackup operation. // // Set backup info. // // PUT /v2/wallet/backup SetWalletBackup(ctx context.Context, req SetWalletBackupReq, params SetWalletBackupParams) (SetWalletBackupRes, error) // StakingPoolHistory implements stakingPoolHistory operation. // // Pool info. // // GET /v2/staking/pool/{account_id}/history StakingPoolHistory(ctx context.Context, params StakingPoolHistoryParams) (StakingPoolHistoryRes, error) // StakingPoolInfo implements stakingPoolInfo operation. // // Pool info. // // GET /v2/staking/pool/{account_id} StakingPoolInfo(ctx context.Context, params StakingPoolInfoParams) (StakingPoolInfoRes, error) // StakingPools implements stakingPools operation. // // All pools available in network. // // GET /v2/staking/pools StakingPools(ctx context.Context, params StakingPoolsParams) (StakingPoolsRes, error) // TonConnectProof implements tonConnectProof operation. // // Account verification and token issuance. // // POST /v2/wallet/auth/proof TonConnectProof(ctx context.Context, req TonConnectProofReq) (TonConnectProofRes, error) }
Handler handles operations described by OpenAPI v3 specification.
type ImagePreview ¶
Ref: #/components/schemas/ImagePreview
func (*ImagePreview) Decode ¶
func (s *ImagePreview) Decode(d *jx.Decoder) error
Decode decodes ImagePreview from json.
func (ImagePreview) Encode ¶
func (s ImagePreview) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ImagePreview) GetResolution ¶
func (s ImagePreview) GetResolution() string
GetResolution returns the value of Resolution.
func (ImagePreview) MarshalJSON ¶
func (s ImagePreview) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ImagePreview) SetResolution ¶
func (s *ImagePreview) SetResolution(val string)
SetResolution sets the value of Resolution.
func (*ImagePreview) SetURL ¶
func (s *ImagePreview) SetURL(val string)
SetURL sets the value of URL.
func (*ImagePreview) UnmarshalJSON ¶
func (s *ImagePreview) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InitStateRaw ¶ added in v1.0.0
type InitStateRaw struct { Workchain uint32 `json:"workchain"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` }
Ref: #/components/schemas/InitStateRaw
func (*InitStateRaw) Decode ¶ added in v1.0.0
func (s *InitStateRaw) Decode(d *jx.Decoder) error
Decode decodes InitStateRaw from json.
func (InitStateRaw) Encode ¶ added in v1.0.0
func (s InitStateRaw) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (InitStateRaw) GetFileHash ¶ added in v1.0.0
func (s InitStateRaw) GetFileHash() string
GetFileHash returns the value of FileHash.
func (InitStateRaw) GetRootHash ¶ added in v1.0.0
func (s InitStateRaw) GetRootHash() string
GetRootHash returns the value of RootHash.
func (InitStateRaw) GetWorkchain ¶ added in v1.0.0
func (s InitStateRaw) GetWorkchain() uint32
GetWorkchain returns the value of Workchain.
func (InitStateRaw) MarshalJSON ¶ added in v1.0.0
func (s InitStateRaw) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InitStateRaw) SetFileHash ¶ added in v1.0.0
func (s *InitStateRaw) SetFileHash(val string)
SetFileHash sets the value of FileHash.
func (*InitStateRaw) SetRootHash ¶ added in v1.0.0
func (s *InitStateRaw) SetRootHash(val string)
SetRootHash sets the value of RootHash.
func (*InitStateRaw) SetWorkchain ¶ added in v1.0.0
func (s *InitStateRaw) SetWorkchain(val uint32)
SetWorkchain sets the value of Workchain.
func (*InitStateRaw) UnmarshalJSON ¶ added in v1.0.0
func (s *InitStateRaw) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type InternalError ¶
type InternalError struct {
Error string `json:"error"`
}
func (*InternalError) Decode ¶
func (s *InternalError) Decode(d *jx.Decoder) error
Decode decodes InternalError from json.
func (InternalError) Encode ¶
func (s InternalError) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (InternalError) GetError ¶
func (s InternalError) GetError() string
GetError returns the value of Error.
func (InternalError) MarshalJSON ¶
func (s InternalError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InternalError) SetError ¶
func (s *InternalError) SetError(val string)
SetError sets the value of Error.
func (*InternalError) UnmarshalJSON ¶
func (s *InternalError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type JettonBalance ¶
type JettonBalance struct { Balance string `json:"balance"` WalletAddress AccountAddress `json:"wallet_address"` Jetton JettonPreview `json:"jetton"` }
Ref: #/components/schemas/JettonBalance
func (*JettonBalance) Decode ¶
func (s *JettonBalance) Decode(d *jx.Decoder) error
Decode decodes JettonBalance from json.
func (JettonBalance) Encode ¶
func (s JettonBalance) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonBalance) GetBalance ¶
func (s JettonBalance) GetBalance() string
GetBalance returns the value of Balance.
func (JettonBalance) GetJetton ¶
func (s JettonBalance) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
func (JettonBalance) GetWalletAddress ¶
func (s JettonBalance) GetWalletAddress() AccountAddress
GetWalletAddress returns the value of WalletAddress.
func (JettonBalance) MarshalJSON ¶
func (s JettonBalance) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonBalance) SetBalance ¶
func (s *JettonBalance) SetBalance(val string)
SetBalance sets the value of Balance.
func (*JettonBalance) SetJetton ¶
func (s *JettonBalance) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
func (*JettonBalance) SetWalletAddress ¶
func (s *JettonBalance) SetWalletAddress(val AccountAddress)
SetWalletAddress sets the value of WalletAddress.
func (*JettonBalance) UnmarshalJSON ¶
func (s *JettonBalance) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonBalance) Validate ¶
func (s JettonBalance) Validate() error
type JettonInfo ¶
type JettonInfo struct { Mintable bool `json:"mintable"` TotalSupply string `json:"total_supply"` Metadata JettonMetadata `json:"metadata"` Verification JettonVerificationType `json:"verification"` }
Ref: #/components/schemas/JettonInfo
func (*JettonInfo) Decode ¶
func (s *JettonInfo) Decode(d *jx.Decoder) error
Decode decodes JettonInfo from json.
func (JettonInfo) Encode ¶
func (s JettonInfo) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonInfo) GetMetadata ¶
func (s JettonInfo) GetMetadata() JettonMetadata
GetMetadata returns the value of Metadata.
func (JettonInfo) GetMintable ¶
func (s JettonInfo) GetMintable() bool
GetMintable returns the value of Mintable.
func (JettonInfo) GetTotalSupply ¶
func (s JettonInfo) GetTotalSupply() string
GetTotalSupply returns the value of TotalSupply.
func (JettonInfo) GetVerification ¶
func (s JettonInfo) GetVerification() JettonVerificationType
GetVerification returns the value of Verification.
func (JettonInfo) MarshalJSON ¶
func (s JettonInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonInfo) SetMetadata ¶
func (s *JettonInfo) SetMetadata(val JettonMetadata)
SetMetadata sets the value of Metadata.
func (*JettonInfo) SetMintable ¶
func (s *JettonInfo) SetMintable(val bool)
SetMintable sets the value of Mintable.
func (*JettonInfo) SetTotalSupply ¶
func (s *JettonInfo) SetTotalSupply(val string)
SetTotalSupply sets the value of TotalSupply.
func (*JettonInfo) SetVerification ¶
func (s *JettonInfo) SetVerification(val JettonVerificationType)
SetVerification sets the value of Verification.
func (*JettonInfo) UnmarshalJSON ¶
func (s *JettonInfo) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonInfo) Validate ¶
func (s JettonInfo) Validate() error
type JettonMetadata ¶
type JettonMetadata struct { Address string `json:"address"` Name string `json:"name"` Symbol string `json:"symbol"` Decimals string `json:"decimals"` Image OptString `json:"image"` Description OptString `json:"description"` Social []string `json:"social"` Websites []string `json:"websites"` Catalogs []string `json:"catalogs"` }
Ref: #/components/schemas/JettonMetadata
func (*JettonMetadata) Decode ¶
func (s *JettonMetadata) Decode(d *jx.Decoder) error
Decode decodes JettonMetadata from json.
func (JettonMetadata) Encode ¶
func (s JettonMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonMetadata) GetAddress ¶
func (s JettonMetadata) GetAddress() string
GetAddress returns the value of Address.
func (JettonMetadata) GetCatalogs ¶
func (s JettonMetadata) GetCatalogs() []string
GetCatalogs returns the value of Catalogs.
func (JettonMetadata) GetDecimals ¶
func (s JettonMetadata) GetDecimals() string
GetDecimals returns the value of Decimals.
func (JettonMetadata) GetDescription ¶
func (s JettonMetadata) GetDescription() OptString
GetDescription returns the value of Description.
func (JettonMetadata) GetImage ¶
func (s JettonMetadata) GetImage() OptString
GetImage returns the value of Image.
func (JettonMetadata) GetName ¶
func (s JettonMetadata) GetName() string
GetName returns the value of Name.
func (JettonMetadata) GetSocial ¶
func (s JettonMetadata) GetSocial() []string
GetSocial returns the value of Social.
func (JettonMetadata) GetSymbol ¶
func (s JettonMetadata) GetSymbol() string
GetSymbol returns the value of Symbol.
func (JettonMetadata) GetWebsites ¶
func (s JettonMetadata) GetWebsites() []string
GetWebsites returns the value of Websites.
func (JettonMetadata) MarshalJSON ¶
func (s JettonMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonMetadata) SetAddress ¶
func (s *JettonMetadata) SetAddress(val string)
SetAddress sets the value of Address.
func (*JettonMetadata) SetCatalogs ¶
func (s *JettonMetadata) SetCatalogs(val []string)
SetCatalogs sets the value of Catalogs.
func (*JettonMetadata) SetDecimals ¶
func (s *JettonMetadata) SetDecimals(val string)
SetDecimals sets the value of Decimals.
func (*JettonMetadata) SetDescription ¶
func (s *JettonMetadata) SetDescription(val OptString)
SetDescription sets the value of Description.
func (*JettonMetadata) SetImage ¶
func (s *JettonMetadata) SetImage(val OptString)
SetImage sets the value of Image.
func (*JettonMetadata) SetName ¶
func (s *JettonMetadata) SetName(val string)
SetName sets the value of Name.
func (*JettonMetadata) SetSocial ¶
func (s *JettonMetadata) SetSocial(val []string)
SetSocial sets the value of Social.
func (*JettonMetadata) SetSymbol ¶
func (s *JettonMetadata) SetSymbol(val string)
SetSymbol sets the value of Symbol.
func (*JettonMetadata) SetWebsites ¶
func (s *JettonMetadata) SetWebsites(val []string)
SetWebsites sets the value of Websites.
func (*JettonMetadata) UnmarshalJSON ¶
func (s *JettonMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type JettonPreview ¶
type JettonPreview struct { Address string `json:"address"` Name string `json:"name"` Symbol string `json:"symbol"` Decimals int `json:"decimals"` Image string `json:"image"` Verification JettonVerificationType `json:"verification"` }
Ref: #/components/schemas/JettonPreview
func (*JettonPreview) Decode ¶
func (s *JettonPreview) Decode(d *jx.Decoder) error
Decode decodes JettonPreview from json.
func (JettonPreview) Encode ¶
func (s JettonPreview) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonPreview) GetAddress ¶
func (s JettonPreview) GetAddress() string
GetAddress returns the value of Address.
func (JettonPreview) GetDecimals ¶
func (s JettonPreview) GetDecimals() int
GetDecimals returns the value of Decimals.
func (JettonPreview) GetImage ¶
func (s JettonPreview) GetImage() string
GetImage returns the value of Image.
func (JettonPreview) GetName ¶
func (s JettonPreview) GetName() string
GetName returns the value of Name.
func (JettonPreview) GetSymbol ¶
func (s JettonPreview) GetSymbol() string
GetSymbol returns the value of Symbol.
func (JettonPreview) GetVerification ¶
func (s JettonPreview) GetVerification() JettonVerificationType
GetVerification returns the value of Verification.
func (JettonPreview) MarshalJSON ¶
func (s JettonPreview) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonPreview) SetAddress ¶
func (s *JettonPreview) SetAddress(val string)
SetAddress sets the value of Address.
func (*JettonPreview) SetDecimals ¶
func (s *JettonPreview) SetDecimals(val int)
SetDecimals sets the value of Decimals.
func (*JettonPreview) SetImage ¶
func (s *JettonPreview) SetImage(val string)
SetImage sets the value of Image.
func (*JettonPreview) SetName ¶
func (s *JettonPreview) SetName(val string)
SetName sets the value of Name.
func (*JettonPreview) SetSymbol ¶
func (s *JettonPreview) SetSymbol(val string)
SetSymbol sets the value of Symbol.
func (*JettonPreview) SetVerification ¶
func (s *JettonPreview) SetVerification(val JettonVerificationType)
SetVerification sets the value of Verification.
func (*JettonPreview) UnmarshalJSON ¶
func (s *JettonPreview) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonPreview) Validate ¶
func (s JettonPreview) Validate() error
type JettonQuantity ¶
type JettonQuantity struct { Quantity string `json:"quantity"` WalletAddress AccountAddress `json:"wallet_address"` Jetton JettonPreview `json:"jetton"` }
Ref: #/components/schemas/JettonQuantity
func (*JettonQuantity) Decode ¶
func (s *JettonQuantity) Decode(d *jx.Decoder) error
Decode decodes JettonQuantity from json.
func (JettonQuantity) Encode ¶
func (s JettonQuantity) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonQuantity) GetJetton ¶
func (s JettonQuantity) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
func (JettonQuantity) GetQuantity ¶
func (s JettonQuantity) GetQuantity() string
GetQuantity returns the value of Quantity.
func (JettonQuantity) GetWalletAddress ¶
func (s JettonQuantity) GetWalletAddress() AccountAddress
GetWalletAddress returns the value of WalletAddress.
func (JettonQuantity) MarshalJSON ¶
func (s JettonQuantity) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonQuantity) SetJetton ¶
func (s *JettonQuantity) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
func (*JettonQuantity) SetQuantity ¶
func (s *JettonQuantity) SetQuantity(val string)
SetQuantity sets the value of Quantity.
func (*JettonQuantity) SetWalletAddress ¶
func (s *JettonQuantity) SetWalletAddress(val AccountAddress)
SetWalletAddress sets the value of WalletAddress.
func (*JettonQuantity) UnmarshalJSON ¶
func (s *JettonQuantity) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonQuantity) Validate ¶
func (s JettonQuantity) Validate() error
type JettonTransferAction ¶
type JettonTransferAction struct { Sender OptAccountAddress `json:"sender"` Recipient OptAccountAddress `json:"recipient"` SendersWallet string `json:"senders_wallet"` RecipientsWallet string `json:"recipients_wallet"` // Amount in quanta of tokens. Amount string `json:"amount"` Comment OptString `json:"comment"` EncryptedComment OptEncryptedComment `json:"encrypted_comment"` Refund OptRefund `json:"refund"` Jetton JettonPreview `json:"jetton"` }
Ref: #/components/schemas/JettonTransferAction
func (*JettonTransferAction) Decode ¶
func (s *JettonTransferAction) Decode(d *jx.Decoder) error
Decode decodes JettonTransferAction from json.
func (JettonTransferAction) Encode ¶
func (s JettonTransferAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonTransferAction) GetAmount ¶
func (s JettonTransferAction) GetAmount() string
GetAmount returns the value of Amount.
func (JettonTransferAction) GetComment ¶
func (s JettonTransferAction) GetComment() OptString
GetComment returns the value of Comment.
func (JettonTransferAction) GetEncryptedComment ¶ added in v1.0.0
func (s JettonTransferAction) GetEncryptedComment() OptEncryptedComment
GetEncryptedComment returns the value of EncryptedComment.
func (JettonTransferAction) GetJetton ¶
func (s JettonTransferAction) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
func (JettonTransferAction) GetRecipient ¶
func (s JettonTransferAction) GetRecipient() OptAccountAddress
GetRecipient returns the value of Recipient.
func (JettonTransferAction) GetRecipientsWallet ¶
func (s JettonTransferAction) GetRecipientsWallet() string
GetRecipientsWallet returns the value of RecipientsWallet.
func (JettonTransferAction) GetRefund ¶
func (s JettonTransferAction) GetRefund() OptRefund
GetRefund returns the value of Refund.
func (JettonTransferAction) GetSender ¶
func (s JettonTransferAction) GetSender() OptAccountAddress
GetSender returns the value of Sender.
func (JettonTransferAction) GetSendersWallet ¶
func (s JettonTransferAction) GetSendersWallet() string
GetSendersWallet returns the value of SendersWallet.
func (JettonTransferAction) MarshalJSON ¶
func (s JettonTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonTransferAction) SetAmount ¶
func (s *JettonTransferAction) SetAmount(val string)
SetAmount sets the value of Amount.
func (*JettonTransferAction) SetComment ¶
func (s *JettonTransferAction) SetComment(val OptString)
SetComment sets the value of Comment.
func (*JettonTransferAction) SetEncryptedComment ¶ added in v1.0.0
func (s *JettonTransferAction) SetEncryptedComment(val OptEncryptedComment)
SetEncryptedComment sets the value of EncryptedComment.
func (*JettonTransferAction) SetJetton ¶
func (s *JettonTransferAction) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
func (*JettonTransferAction) SetRecipient ¶
func (s *JettonTransferAction) SetRecipient(val OptAccountAddress)
SetRecipient sets the value of Recipient.
func (*JettonTransferAction) SetRecipientsWallet ¶
func (s *JettonTransferAction) SetRecipientsWallet(val string)
SetRecipientsWallet sets the value of RecipientsWallet.
func (*JettonTransferAction) SetRefund ¶
func (s *JettonTransferAction) SetRefund(val OptRefund)
SetRefund sets the value of Refund.
func (*JettonTransferAction) SetSender ¶
func (s *JettonTransferAction) SetSender(val OptAccountAddress)
SetSender sets the value of Sender.
func (*JettonTransferAction) SetSendersWallet ¶
func (s *JettonTransferAction) SetSendersWallet(val string)
SetSendersWallet sets the value of SendersWallet.
func (*JettonTransferAction) UnmarshalJSON ¶
func (s *JettonTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonTransferAction) Validate ¶
func (s JettonTransferAction) Validate() error
type JettonVerificationType ¶
type JettonVerificationType string
Ref: #/components/schemas/JettonVerificationType
const ( JettonVerificationTypeWhitelist JettonVerificationType = "whitelist" JettonVerificationTypeBlacklist JettonVerificationType = "blacklist" JettonVerificationTypeNone JettonVerificationType = "none" )
func (*JettonVerificationType) Decode ¶
func (s *JettonVerificationType) Decode(d *jx.Decoder) error
Decode decodes JettonVerificationType from json.
func (JettonVerificationType) Encode ¶
func (s JettonVerificationType) Encode(e *jx.Encoder)
Encode encodes JettonVerificationType as json.
func (JettonVerificationType) MarshalJSON ¶
func (s JettonVerificationType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonVerificationType) UnmarshalJSON ¶
func (s *JettonVerificationType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonVerificationType) Validate ¶
func (s JettonVerificationType) Validate() error
type Jettons ¶ added in v1.0.0
type Jettons struct {
Jettons []JettonInfo `json:"jettons"`
}
Ref: #/components/schemas/Jettons
func (Jettons) GetJettons ¶ added in v1.0.0
func (s Jettons) GetJettons() []JettonInfo
GetJettons returns the value of Jettons.
func (Jettons) MarshalJSON ¶ added in v1.0.0
MarshalJSON implements stdjson.Marshaler.
func (*Jettons) SetJettons ¶ added in v1.0.0
func (s *Jettons) SetJettons(val []JettonInfo)
SetJettons sets the value of Jettons.
func (*Jettons) UnmarshalJSON ¶ added in v1.0.0
UnmarshalJSON implements stdjson.Unmarshaler.
type JettonsBalances ¶
type JettonsBalances struct {
Balances []JettonBalance `json:"balances"`
}
Ref: #/components/schemas/JettonsBalances
func (*JettonsBalances) Decode ¶
func (s *JettonsBalances) Decode(d *jx.Decoder) error
Decode decodes JettonsBalances from json.
func (JettonsBalances) Encode ¶
func (s JettonsBalances) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (JettonsBalances) GetBalances ¶
func (s JettonsBalances) GetBalances() []JettonBalance
GetBalances returns the value of Balances.
func (JettonsBalances) MarshalJSON ¶
func (s JettonsBalances) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonsBalances) SetBalances ¶
func (s *JettonsBalances) SetBalances(val []JettonBalance)
SetBalances sets the value of Balances.
func (*JettonsBalances) UnmarshalJSON ¶
func (s *JettonsBalances) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (JettonsBalances) Validate ¶
func (s JettonsBalances) Validate() error
type Message ¶
type Message struct { CreatedLt int64 `json:"created_lt"` IhrDisabled bool `json:"ihr_disabled"` Bounce bool `json:"bounce"` Bounced bool `json:"bounced"` Value int64 `json:"value"` FwdFee int64 `json:"fwd_fee"` IhrFee int64 `json:"ihr_fee"` Destination OptAccountAddress `json:"destination"` Source OptAccountAddress `json:"source"` ImportFee int64 `json:"import_fee"` CreatedAt int64 `json:"created_at"` OpCode OptString `json:"op_code"` Init OptStateInit `json:"init"` // Hex-encoded BoC with raw message body. RawBody OptString `json:"raw_body"` DecodedOpName OptString `json:"decoded_op_name"` DecodedBody jx.Raw `json:"decoded_body"` }
Ref: #/components/schemas/Message
func (Message) GetBounced ¶
GetBounced returns the value of Bounced.
func (Message) GetCreatedAt ¶
GetCreatedAt returns the value of CreatedAt.
func (Message) GetCreatedLt ¶
GetCreatedLt returns the value of CreatedLt.
func (Message) GetDecodedBody ¶
GetDecodedBody returns the value of DecodedBody.
func (Message) GetDecodedOpName ¶
GetDecodedOpName returns the value of DecodedOpName.
func (Message) GetDestination ¶
func (s Message) GetDestination() OptAccountAddress
GetDestination returns the value of Destination.
func (Message) GetIhrDisabled ¶
GetIhrDisabled returns the value of IhrDisabled.
func (Message) GetImportFee ¶
GetImportFee returns the value of ImportFee.
func (Message) GetRawBody ¶
GetRawBody returns the value of RawBody.
func (Message) GetSource ¶
func (s Message) GetSource() OptAccountAddress
GetSource returns the value of Source.
func (Message) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Message) SetBounced ¶
SetBounced sets the value of Bounced.
func (*Message) SetCreatedAt ¶
SetCreatedAt sets the value of CreatedAt.
func (*Message) SetCreatedLt ¶
SetCreatedLt sets the value of CreatedLt.
func (*Message) SetDecodedBody ¶
SetDecodedBody sets the value of DecodedBody.
func (*Message) SetDecodedOpName ¶
SetDecodedOpName sets the value of DecodedOpName.
func (*Message) SetDestination ¶
func (s *Message) SetDestination(val OptAccountAddress)
SetDestination sets the value of Destination.
func (*Message) SetIhrDisabled ¶
SetIhrDisabled sets the value of IhrDisabled.
func (*Message) SetImportFee ¶
SetImportFee sets the value of ImportFee.
func (*Message) SetInit ¶
func (s *Message) SetInit(val OptStateInit)
SetInit sets the value of Init.
func (*Message) SetRawBody ¶
SetRawBody sets the value of RawBody.
func (*Message) SetSource ¶
func (s *Message) SetSource(val OptAccountAddress)
SetSource sets the value of Source.
func (*Message) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type MessageConsequences ¶
type MessageConsequences struct { Trace Trace `json:"trace"` Risk Risk `json:"risk"` Event AccountEvent `json:"event"` }
Ref: #/components/schemas/MessageConsequences
func (*MessageConsequences) Decode ¶
func (s *MessageConsequences) Decode(d *jx.Decoder) error
Decode decodes MessageConsequences from json.
func (MessageConsequences) Encode ¶
func (s MessageConsequences) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MessageConsequences) GetEvent ¶
func (s MessageConsequences) GetEvent() AccountEvent
GetEvent returns the value of Event.
func (MessageConsequences) GetRisk ¶
func (s MessageConsequences) GetRisk() Risk
GetRisk returns the value of Risk.
func (MessageConsequences) GetTrace ¶
func (s MessageConsequences) GetTrace() Trace
GetTrace returns the value of Trace.
func (MessageConsequences) MarshalJSON ¶
func (s MessageConsequences) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MessageConsequences) SetEvent ¶
func (s *MessageConsequences) SetEvent(val AccountEvent)
SetEvent sets the value of Event.
func (*MessageConsequences) SetRisk ¶
func (s *MessageConsequences) SetRisk(val Risk)
SetRisk sets the value of Risk.
func (*MessageConsequences) SetTrace ¶
func (s *MessageConsequences) SetTrace(val Trace)
SetTrace sets the value of Trace.
func (*MessageConsequences) UnmarshalJSON ¶
func (s *MessageConsequences) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (MessageConsequences) Validate ¶
func (s MessageConsequences) Validate() error
type MethodExecutionResult ¶
type MethodExecutionResult struct { Success bool `json:"success"` // Tvm exit code. ExitCode int `json:"exit_code"` Stack []TvmStackRecord `json:"stack"` Decoded jx.Raw `json:"decoded"` }
Ref: #/components/schemas/MethodExecutionResult
func (*MethodExecutionResult) Decode ¶
func (s *MethodExecutionResult) Decode(d *jx.Decoder) error
Decode decodes MethodExecutionResult from json.
func (MethodExecutionResult) Encode ¶
func (s MethodExecutionResult) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (MethodExecutionResult) GetDecoded ¶
func (s MethodExecutionResult) GetDecoded() jx.Raw
GetDecoded returns the value of Decoded.
func (MethodExecutionResult) GetExitCode ¶
func (s MethodExecutionResult) GetExitCode() int
GetExitCode returns the value of ExitCode.
func (MethodExecutionResult) GetStack ¶
func (s MethodExecutionResult) GetStack() []TvmStackRecord
GetStack returns the value of Stack.
func (MethodExecutionResult) GetSuccess ¶
func (s MethodExecutionResult) GetSuccess() bool
GetSuccess returns the value of Success.
func (MethodExecutionResult) MarshalJSON ¶
func (s MethodExecutionResult) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MethodExecutionResult) SetDecoded ¶
func (s *MethodExecutionResult) SetDecoded(val jx.Raw)
SetDecoded sets the value of Decoded.
func (*MethodExecutionResult) SetExitCode ¶
func (s *MethodExecutionResult) SetExitCode(val int)
SetExitCode sets the value of ExitCode.
func (*MethodExecutionResult) SetStack ¶
func (s *MethodExecutionResult) SetStack(val []TvmStackRecord)
SetStack sets the value of Stack.
func (*MethodExecutionResult) SetSuccess ¶
func (s *MethodExecutionResult) SetSuccess(val bool)
SetSuccess sets the value of Success.
func (*MethodExecutionResult) UnmarshalJSON ¶
func (s *MethodExecutionResult) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (MethodExecutionResult) Validate ¶
func (s MethodExecutionResult) Validate() error
type NftCollection ¶
type NftCollection struct { Address string `json:"address"` NextItemIndex int64 `json:"next_item_index"` Owner OptAccountAddress `json:"owner"` RawCollectionContent string `json:"raw_collection_content"` Metadata OptNftCollectionMetadata `json:"metadata"` }
Ref: #/components/schemas/NftCollection
func (*NftCollection) Decode ¶
func (s *NftCollection) Decode(d *jx.Decoder) error
Decode decodes NftCollection from json.
func (NftCollection) Encode ¶
func (s NftCollection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftCollection) GetAddress ¶
func (s NftCollection) GetAddress() string
GetAddress returns the value of Address.
func (NftCollection) GetMetadata ¶
func (s NftCollection) GetMetadata() OptNftCollectionMetadata
GetMetadata returns the value of Metadata.
func (NftCollection) GetNextItemIndex ¶
func (s NftCollection) GetNextItemIndex() int64
GetNextItemIndex returns the value of NextItemIndex.
func (NftCollection) GetOwner ¶
func (s NftCollection) GetOwner() OptAccountAddress
GetOwner returns the value of Owner.
func (NftCollection) GetRawCollectionContent ¶
func (s NftCollection) GetRawCollectionContent() string
GetRawCollectionContent returns the value of RawCollectionContent.
func (NftCollection) MarshalJSON ¶
func (s NftCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftCollection) SetAddress ¶
func (s *NftCollection) SetAddress(val string)
SetAddress sets the value of Address.
func (*NftCollection) SetMetadata ¶
func (s *NftCollection) SetMetadata(val OptNftCollectionMetadata)
SetMetadata sets the value of Metadata.
func (*NftCollection) SetNextItemIndex ¶
func (s *NftCollection) SetNextItemIndex(val int64)
SetNextItemIndex sets the value of NextItemIndex.
func (*NftCollection) SetOwner ¶
func (s *NftCollection) SetOwner(val OptAccountAddress)
SetOwner sets the value of Owner.
func (*NftCollection) SetRawCollectionContent ¶
func (s *NftCollection) SetRawCollectionContent(val string)
SetRawCollectionContent sets the value of RawCollectionContent.
func (*NftCollection) UnmarshalJSON ¶
func (s *NftCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NftCollectionMetadata ¶
func (*NftCollectionMetadata) Decode ¶
func (s *NftCollectionMetadata) Decode(d *jx.Decoder) error
Decode decodes NftCollectionMetadata from json.
func (NftCollectionMetadata) Encode ¶
func (s NftCollectionMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftCollectionMetadata) MarshalJSON ¶
func (s NftCollectionMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftCollectionMetadata) UnmarshalJSON ¶
func (s *NftCollectionMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NftCollections ¶
type NftCollections struct {
NftCollections []NftCollection `json:"nft_collections"`
}
Ref: #/components/schemas/NftCollections
func (*NftCollections) Decode ¶
func (s *NftCollections) Decode(d *jx.Decoder) error
Decode decodes NftCollections from json.
func (NftCollections) Encode ¶
func (s NftCollections) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftCollections) GetNftCollections ¶
func (s NftCollections) GetNftCollections() []NftCollection
GetNftCollections returns the value of NftCollections.
func (NftCollections) MarshalJSON ¶
func (s NftCollections) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftCollections) SetNftCollections ¶
func (s *NftCollections) SetNftCollections(val []NftCollection)
SetNftCollections sets the value of NftCollections.
func (*NftCollections) UnmarshalJSON ¶
func (s *NftCollections) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftCollections) Validate ¶
func (s NftCollections) Validate() error
type NftItem ¶
type NftItem struct { Address string `json:"address"` Index int64 `json:"index"` Owner OptAccountAddress `json:"owner"` Collection OptNftItemCollection `json:"collection"` Verified bool `json:"verified"` Metadata NftItemMetadata `json:"metadata"` Sale OptSale `json:"sale"` Previews []ImagePreview `json:"previews"` DNS OptString `json:"dns"` ApprovedBy []NftItemApprovedByItem `json:"approved_by"` }
Ref: #/components/schemas/NftItem
func (NftItem) GetAddress ¶
GetAddress returns the value of Address.
func (NftItem) GetApprovedBy ¶
func (s NftItem) GetApprovedBy() []NftItemApprovedByItem
GetApprovedBy returns the value of ApprovedBy.
func (NftItem) GetCollection ¶
func (s NftItem) GetCollection() OptNftItemCollection
GetCollection returns the value of Collection.
func (NftItem) GetMetadata ¶
func (s NftItem) GetMetadata() NftItemMetadata
GetMetadata returns the value of Metadata.
func (NftItem) GetOwner ¶
func (s NftItem) GetOwner() OptAccountAddress
GetOwner returns the value of Owner.
func (NftItem) GetPreviews ¶
func (s NftItem) GetPreviews() []ImagePreview
GetPreviews returns the value of Previews.
func (NftItem) GetVerified ¶
GetVerified returns the value of Verified.
func (NftItem) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NftItem) SetAddress ¶
SetAddress sets the value of Address.
func (*NftItem) SetApprovedBy ¶
func (s *NftItem) SetApprovedBy(val []NftItemApprovedByItem)
SetApprovedBy sets the value of ApprovedBy.
func (*NftItem) SetCollection ¶
func (s *NftItem) SetCollection(val OptNftItemCollection)
SetCollection sets the value of Collection.
func (*NftItem) SetMetadata ¶
func (s *NftItem) SetMetadata(val NftItemMetadata)
SetMetadata sets the value of Metadata.
func (*NftItem) SetOwner ¶
func (s *NftItem) SetOwner(val OptAccountAddress)
SetOwner sets the value of Owner.
func (*NftItem) SetPreviews ¶
func (s *NftItem) SetPreviews(val []ImagePreview)
SetPreviews sets the value of Previews.
func (*NftItem) SetVerified ¶
SetVerified sets the value of Verified.
func (*NftItem) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NftItemApprovedByItem ¶ added in v0.1.0
type NftItemApprovedByItem string
const ( NftItemApprovedByItemGetgems NftItemApprovedByItem = "getgems" NftItemApprovedByItemTonkeeper NftItemApprovedByItem = "tonkeeper" )
func (*NftItemApprovedByItem) Decode ¶ added in v0.1.0
func (s *NftItemApprovedByItem) Decode(d *jx.Decoder) error
Decode decodes NftItemApprovedByItem from json.
func (NftItemApprovedByItem) Encode ¶ added in v0.1.0
func (s NftItemApprovedByItem) Encode(e *jx.Encoder)
Encode encodes NftItemApprovedByItem as json.
func (NftItemApprovedByItem) MarshalJSON ¶ added in v0.1.0
func (s NftItemApprovedByItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftItemApprovedByItem) UnmarshalJSON ¶ added in v0.1.0
func (s *NftItemApprovedByItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftItemApprovedByItem) Validate ¶ added in v0.1.0
func (s NftItemApprovedByItem) Validate() error
type NftItemCollection ¶
func (*NftItemCollection) Decode ¶
func (s *NftItemCollection) Decode(d *jx.Decoder) error
Decode decodes NftItemCollection from json.
func (NftItemCollection) Encode ¶
func (s NftItemCollection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftItemCollection) GetAddress ¶
func (s NftItemCollection) GetAddress() string
GetAddress returns the value of Address.
func (NftItemCollection) GetName ¶
func (s NftItemCollection) GetName() string
GetName returns the value of Name.
func (NftItemCollection) MarshalJSON ¶
func (s NftItemCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftItemCollection) SetAddress ¶
func (s *NftItemCollection) SetAddress(val string)
SetAddress sets the value of Address.
func (*NftItemCollection) SetName ¶
func (s *NftItemCollection) SetName(val string)
SetName sets the value of Name.
func (*NftItemCollection) UnmarshalJSON ¶
func (s *NftItemCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NftItemMetadata ¶
func (*NftItemMetadata) Decode ¶
func (s *NftItemMetadata) Decode(d *jx.Decoder) error
Decode decodes NftItemMetadata from json.
func (NftItemMetadata) Encode ¶
func (s NftItemMetadata) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftItemMetadata) MarshalJSON ¶
func (s NftItemMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftItemMetadata) UnmarshalJSON ¶
func (s *NftItemMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NftItemTransferAction ¶
type NftItemTransferAction struct { Sender OptAccountAddress `json:"sender"` Recipient OptAccountAddress `json:"recipient"` Nft string `json:"nft"` Comment OptString `json:"comment"` EncryptedComment OptEncryptedComment `json:"encrypted_comment"` // Raw hex encoded payload. Payload OptString `json:"payload"` Refund OptRefund `json:"refund"` }
Ref: #/components/schemas/NftItemTransferAction
func (*NftItemTransferAction) Decode ¶
func (s *NftItemTransferAction) Decode(d *jx.Decoder) error
Decode decodes NftItemTransferAction from json.
func (NftItemTransferAction) Encode ¶
func (s NftItemTransferAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftItemTransferAction) GetComment ¶
func (s NftItemTransferAction) GetComment() OptString
GetComment returns the value of Comment.
func (NftItemTransferAction) GetEncryptedComment ¶ added in v1.0.0
func (s NftItemTransferAction) GetEncryptedComment() OptEncryptedComment
GetEncryptedComment returns the value of EncryptedComment.
func (NftItemTransferAction) GetNft ¶
func (s NftItemTransferAction) GetNft() string
GetNft returns the value of Nft.
func (NftItemTransferAction) GetPayload ¶
func (s NftItemTransferAction) GetPayload() OptString
GetPayload returns the value of Payload.
func (NftItemTransferAction) GetRecipient ¶
func (s NftItemTransferAction) GetRecipient() OptAccountAddress
GetRecipient returns the value of Recipient.
func (NftItemTransferAction) GetRefund ¶
func (s NftItemTransferAction) GetRefund() OptRefund
GetRefund returns the value of Refund.
func (NftItemTransferAction) GetSender ¶
func (s NftItemTransferAction) GetSender() OptAccountAddress
GetSender returns the value of Sender.
func (NftItemTransferAction) MarshalJSON ¶
func (s NftItemTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftItemTransferAction) SetComment ¶
func (s *NftItemTransferAction) SetComment(val OptString)
SetComment sets the value of Comment.
func (*NftItemTransferAction) SetEncryptedComment ¶ added in v1.0.0
func (s *NftItemTransferAction) SetEncryptedComment(val OptEncryptedComment)
SetEncryptedComment sets the value of EncryptedComment.
func (*NftItemTransferAction) SetNft ¶
func (s *NftItemTransferAction) SetNft(val string)
SetNft sets the value of Nft.
func (*NftItemTransferAction) SetPayload ¶
func (s *NftItemTransferAction) SetPayload(val OptString)
SetPayload sets the value of Payload.
func (*NftItemTransferAction) SetRecipient ¶
func (s *NftItemTransferAction) SetRecipient(val OptAccountAddress)
SetRecipient sets the value of Recipient.
func (*NftItemTransferAction) SetRefund ¶
func (s *NftItemTransferAction) SetRefund(val OptRefund)
SetRefund sets the value of Refund.
func (*NftItemTransferAction) SetSender ¶
func (s *NftItemTransferAction) SetSender(val OptAccountAddress)
SetSender sets the value of Sender.
func (*NftItemTransferAction) UnmarshalJSON ¶
func (s *NftItemTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftItemTransferAction) Validate ¶
func (s NftItemTransferAction) Validate() error
type NftItems ¶
type NftItems struct {
NftItems []NftItem `json:"nft_items"`
}
Ref: #/components/schemas/NftItems
func (NftItems) GetNftItems ¶
GetNftItems returns the value of NftItems.
func (NftItems) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NftItems) SetNftItems ¶
SetNftItems sets the value of NftItems.
func (*NftItems) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type NftPurchaseAction ¶
type NftPurchaseAction struct { AuctionType NftPurchaseActionAuctionType `json:"auction_type"` Amount Price `json:"amount"` Nft NftItem `json:"nft"` Seller AccountAddress `json:"seller"` Buyer AccountAddress `json:"buyer"` }
Ref: #/components/schemas/NftPurchaseAction
func (*NftPurchaseAction) Decode ¶
func (s *NftPurchaseAction) Decode(d *jx.Decoder) error
Decode decodes NftPurchaseAction from json.
func (NftPurchaseAction) Encode ¶
func (s NftPurchaseAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (NftPurchaseAction) GetAmount ¶
func (s NftPurchaseAction) GetAmount() Price
GetAmount returns the value of Amount.
func (NftPurchaseAction) GetAuctionType ¶ added in v0.1.0
func (s NftPurchaseAction) GetAuctionType() NftPurchaseActionAuctionType
GetAuctionType returns the value of AuctionType.
func (NftPurchaseAction) GetBuyer ¶
func (s NftPurchaseAction) GetBuyer() AccountAddress
GetBuyer returns the value of Buyer.
func (NftPurchaseAction) GetNft ¶
func (s NftPurchaseAction) GetNft() NftItem
GetNft returns the value of Nft.
func (NftPurchaseAction) GetSeller ¶
func (s NftPurchaseAction) GetSeller() AccountAddress
GetSeller returns the value of Seller.
func (NftPurchaseAction) MarshalJSON ¶
func (s NftPurchaseAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftPurchaseAction) SetAmount ¶
func (s *NftPurchaseAction) SetAmount(val Price)
SetAmount sets the value of Amount.
func (*NftPurchaseAction) SetAuctionType ¶ added in v0.1.0
func (s *NftPurchaseAction) SetAuctionType(val NftPurchaseActionAuctionType)
SetAuctionType sets the value of AuctionType.
func (*NftPurchaseAction) SetBuyer ¶
func (s *NftPurchaseAction) SetBuyer(val AccountAddress)
SetBuyer sets the value of Buyer.
func (*NftPurchaseAction) SetNft ¶
func (s *NftPurchaseAction) SetNft(val NftItem)
SetNft sets the value of Nft.
func (*NftPurchaseAction) SetSeller ¶
func (s *NftPurchaseAction) SetSeller(val AccountAddress)
SetSeller sets the value of Seller.
func (*NftPurchaseAction) UnmarshalJSON ¶
func (s *NftPurchaseAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftPurchaseAction) Validate ¶
func (s NftPurchaseAction) Validate() error
type NftPurchaseActionAuctionType ¶ added in v0.1.0
type NftPurchaseActionAuctionType string
const ( NftPurchaseActionAuctionTypeDNSTg NftPurchaseActionAuctionType = "DNS.tg" NftPurchaseActionAuctionTypeGetgems NftPurchaseActionAuctionType = "getgems" NftPurchaseActionAuctionTypeBasic NftPurchaseActionAuctionType = "basic" )
func (*NftPurchaseActionAuctionType) Decode ¶ added in v0.1.0
func (s *NftPurchaseActionAuctionType) Decode(d *jx.Decoder) error
Decode decodes NftPurchaseActionAuctionType from json.
func (NftPurchaseActionAuctionType) Encode ¶ added in v0.1.0
func (s NftPurchaseActionAuctionType) Encode(e *jx.Encoder)
Encode encodes NftPurchaseActionAuctionType as json.
func (NftPurchaseActionAuctionType) MarshalJSON ¶ added in v0.1.0
func (s NftPurchaseActionAuctionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftPurchaseActionAuctionType) UnmarshalJSON ¶ added in v0.1.0
func (s *NftPurchaseActionAuctionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftPurchaseActionAuctionType) Validate ¶ added in v0.1.0
func (s NftPurchaseActionAuctionType) Validate() error
type NotFound ¶
type NotFound struct {
Error string `json:"error"`
}
func (NotFound) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*NotFound) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAccountAddress ¶
type OptAccountAddress struct { Value AccountAddress Set bool }
OptAccountAddress is optional AccountAddress.
func NewOptAccountAddress ¶
func NewOptAccountAddress(v AccountAddress) OptAccountAddress
NewOptAccountAddress returns new OptAccountAddress with value set to v.
func (*OptAccountAddress) Decode ¶
func (o *OptAccountAddress) Decode(d *jx.Decoder) error
Decode decodes AccountAddress from json.
func (OptAccountAddress) Encode ¶
func (o OptAccountAddress) Encode(e *jx.Encoder)
Encode encodes AccountAddress as json.
func (OptAccountAddress) Get ¶
func (o OptAccountAddress) Get() (v AccountAddress, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAccountAddress) IsSet ¶
func (o OptAccountAddress) IsSet() bool
IsSet returns true if OptAccountAddress was set.
func (OptAccountAddress) MarshalJSON ¶
func (s OptAccountAddress) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAccountAddress) Or ¶
func (o OptAccountAddress) Or(d AccountAddress) AccountAddress
Or returns value if set, or given parameter if does not.
func (*OptAccountAddress) SetTo ¶
func (o *OptAccountAddress) SetTo(v AccountAddress)
SetTo sets value to v.
func (*OptAccountAddress) UnmarshalJSON ¶
func (s *OptAccountAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptActionPhase ¶
type OptActionPhase struct { Value ActionPhase Set bool }
OptActionPhase is optional ActionPhase.
func NewOptActionPhase ¶
func NewOptActionPhase(v ActionPhase) OptActionPhase
NewOptActionPhase returns new OptActionPhase with value set to v.
func (*OptActionPhase) Decode ¶
func (o *OptActionPhase) Decode(d *jx.Decoder) error
Decode decodes ActionPhase from json.
func (OptActionPhase) Encode ¶
func (o OptActionPhase) Encode(e *jx.Encoder)
Encode encodes ActionPhase as json.
func (OptActionPhase) Get ¶
func (o OptActionPhase) Get() (v ActionPhase, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptActionPhase) IsSet ¶
func (o OptActionPhase) IsSet() bool
IsSet returns true if OptActionPhase was set.
func (OptActionPhase) MarshalJSON ¶
func (s OptActionPhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptActionPhase) Or ¶
func (o OptActionPhase) Or(d ActionPhase) ActionPhase
Or returns value if set, or given parameter if does not.
func (*OptActionPhase) UnmarshalJSON ¶
func (s *OptActionPhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptAuctionBidAction ¶
type OptAuctionBidAction struct { Value AuctionBidAction Set bool }
OptAuctionBidAction is optional AuctionBidAction.
func NewOptAuctionBidAction ¶
func NewOptAuctionBidAction(v AuctionBidAction) OptAuctionBidAction
NewOptAuctionBidAction returns new OptAuctionBidAction with value set to v.
func (*OptAuctionBidAction) Decode ¶
func (o *OptAuctionBidAction) Decode(d *jx.Decoder) error
Decode decodes AuctionBidAction from json.
func (OptAuctionBidAction) Encode ¶
func (o OptAuctionBidAction) Encode(e *jx.Encoder)
Encode encodes AuctionBidAction as json.
func (OptAuctionBidAction) Get ¶
func (o OptAuctionBidAction) Get() (v AuctionBidAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptAuctionBidAction) IsSet ¶
func (o OptAuctionBidAction) IsSet() bool
IsSet returns true if OptAuctionBidAction was set.
func (OptAuctionBidAction) MarshalJSON ¶
func (s OptAuctionBidAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptAuctionBidAction) Or ¶
func (o OptAuctionBidAction) Or(d AuctionBidAction) AuctionBidAction
Or returns value if set, or given parameter if does not.
func (*OptAuctionBidAction) SetTo ¶
func (o *OptAuctionBidAction) SetTo(v AuctionBidAction)
SetTo sets value to v.
func (*OptAuctionBidAction) UnmarshalJSON ¶
func (s *OptAuctionBidAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBool ¶
OptBool is optional bool.
func NewOptBool ¶
NewOptBool returns new OptBool with value set to v.
func (OptBool) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptBool) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBouncePhaseType ¶
type OptBouncePhaseType struct { Value BouncePhaseType Set bool }
OptBouncePhaseType is optional BouncePhaseType.
func NewOptBouncePhaseType ¶
func NewOptBouncePhaseType(v BouncePhaseType) OptBouncePhaseType
NewOptBouncePhaseType returns new OptBouncePhaseType with value set to v.
func (*OptBouncePhaseType) Decode ¶
func (o *OptBouncePhaseType) Decode(d *jx.Decoder) error
Decode decodes BouncePhaseType from json.
func (OptBouncePhaseType) Encode ¶
func (o OptBouncePhaseType) Encode(e *jx.Encoder)
Encode encodes BouncePhaseType as json.
func (OptBouncePhaseType) Get ¶
func (o OptBouncePhaseType) Get() (v BouncePhaseType, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBouncePhaseType) IsSet ¶
func (o OptBouncePhaseType) IsSet() bool
IsSet returns true if OptBouncePhaseType was set.
func (OptBouncePhaseType) MarshalJSON ¶
func (s OptBouncePhaseType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBouncePhaseType) Or ¶
func (o OptBouncePhaseType) Or(d BouncePhaseType) BouncePhaseType
Or returns value if set, or given parameter if does not.
func (*OptBouncePhaseType) SetTo ¶
func (o *OptBouncePhaseType) SetTo(v BouncePhaseType)
SetTo sets value to v.
func (*OptBouncePhaseType) UnmarshalJSON ¶
func (s *OptBouncePhaseType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComputePhase ¶
type OptComputePhase struct { Value ComputePhase Set bool }
OptComputePhase is optional ComputePhase.
func NewOptComputePhase ¶
func NewOptComputePhase(v ComputePhase) OptComputePhase
NewOptComputePhase returns new OptComputePhase with value set to v.
func (*OptComputePhase) Decode ¶
func (o *OptComputePhase) Decode(d *jx.Decoder) error
Decode decodes ComputePhase from json.
func (OptComputePhase) Encode ¶
func (o OptComputePhase) Encode(e *jx.Encoder)
Encode encodes ComputePhase as json.
func (OptComputePhase) Get ¶
func (o OptComputePhase) Get() (v ComputePhase, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComputePhase) IsSet ¶
func (o OptComputePhase) IsSet() bool
IsSet returns true if OptComputePhase was set.
func (OptComputePhase) MarshalJSON ¶
func (s OptComputePhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComputePhase) Or ¶
func (o OptComputePhase) Or(d ComputePhase) ComputePhase
Or returns value if set, or given parameter if does not.
func (*OptComputePhase) SetTo ¶
func (o *OptComputePhase) SetTo(v ComputePhase)
SetTo sets value to v.
func (*OptComputePhase) UnmarshalJSON ¶
func (s *OptComputePhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptComputeSkipReason ¶
type OptComputeSkipReason struct { Value ComputeSkipReason Set bool }
OptComputeSkipReason is optional ComputeSkipReason.
func NewOptComputeSkipReason ¶
func NewOptComputeSkipReason(v ComputeSkipReason) OptComputeSkipReason
NewOptComputeSkipReason returns new OptComputeSkipReason with value set to v.
func (*OptComputeSkipReason) Decode ¶
func (o *OptComputeSkipReason) Decode(d *jx.Decoder) error
Decode decodes ComputeSkipReason from json.
func (OptComputeSkipReason) Encode ¶
func (o OptComputeSkipReason) Encode(e *jx.Encoder)
Encode encodes ComputeSkipReason as json.
func (OptComputeSkipReason) Get ¶
func (o OptComputeSkipReason) Get() (v ComputeSkipReason, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptComputeSkipReason) IsSet ¶
func (o OptComputeSkipReason) IsSet() bool
IsSet returns true if OptComputeSkipReason was set.
func (OptComputeSkipReason) MarshalJSON ¶
func (s OptComputeSkipReason) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptComputeSkipReason) Or ¶
func (o OptComputeSkipReason) Or(d ComputeSkipReason) ComputeSkipReason
Or returns value if set, or given parameter if does not.
func (*OptComputeSkipReason) SetTo ¶
func (o *OptComputeSkipReason) SetTo(v ComputeSkipReason)
SetTo sets value to v.
func (*OptComputeSkipReason) UnmarshalJSON ¶
func (s *OptComputeSkipReason) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptContractDeployAction ¶
type OptContractDeployAction struct { Value ContractDeployAction Set bool }
OptContractDeployAction is optional ContractDeployAction.
func NewOptContractDeployAction ¶
func NewOptContractDeployAction(v ContractDeployAction) OptContractDeployAction
NewOptContractDeployAction returns new OptContractDeployAction with value set to v.
func (*OptContractDeployAction) Decode ¶
func (o *OptContractDeployAction) Decode(d *jx.Decoder) error
Decode decodes ContractDeployAction from json.
func (OptContractDeployAction) Encode ¶
func (o OptContractDeployAction) Encode(e *jx.Encoder)
Encode encodes ContractDeployAction as json.
func (OptContractDeployAction) Get ¶
func (o OptContractDeployAction) Get() (v ContractDeployAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptContractDeployAction) IsSet ¶
func (o OptContractDeployAction) IsSet() bool
IsSet returns true if OptContractDeployAction was set.
func (OptContractDeployAction) MarshalJSON ¶
func (s OptContractDeployAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptContractDeployAction) Or ¶
func (o OptContractDeployAction) Or(d ContractDeployAction) ContractDeployAction
Or returns value if set, or given parameter if does not.
func (*OptContractDeployAction) Reset ¶
func (o *OptContractDeployAction) Reset()
Reset unsets value.
func (*OptContractDeployAction) SetTo ¶
func (o *OptContractDeployAction) SetTo(v ContractDeployAction)
SetTo sets value to v.
func (*OptContractDeployAction) UnmarshalJSON ¶
func (s *OptContractDeployAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptCreditPhase ¶
type OptCreditPhase struct { Value CreditPhase Set bool }
OptCreditPhase is optional CreditPhase.
func NewOptCreditPhase ¶
func NewOptCreditPhase(v CreditPhase) OptCreditPhase
NewOptCreditPhase returns new OptCreditPhase with value set to v.
func (*OptCreditPhase) Decode ¶
func (o *OptCreditPhase) Decode(d *jx.Decoder) error
Decode decodes CreditPhase from json.
func (OptCreditPhase) Encode ¶
func (o OptCreditPhase) Encode(e *jx.Encoder)
Encode encodes CreditPhase as json.
func (OptCreditPhase) Get ¶
func (o OptCreditPhase) Get() (v CreditPhase, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptCreditPhase) IsSet ¶
func (o OptCreditPhase) IsSet() bool
IsSet returns true if OptCreditPhase was set.
func (OptCreditPhase) MarshalJSON ¶
func (s OptCreditPhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptCreditPhase) Or ¶
func (o OptCreditPhase) Or(d CreditPhase) CreditPhase
Or returns value if set, or given parameter if does not.
func (*OptCreditPhase) UnmarshalJSON ¶
func (s *OptCreditPhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDepositStakeAction ¶ added in v0.1.1
type OptDepositStakeAction struct { Value DepositStakeAction Set bool }
OptDepositStakeAction is optional DepositStakeAction.
func NewOptDepositStakeAction ¶ added in v0.1.1
func NewOptDepositStakeAction(v DepositStakeAction) OptDepositStakeAction
NewOptDepositStakeAction returns new OptDepositStakeAction with value set to v.
func (*OptDepositStakeAction) Decode ¶ added in v0.1.1
func (o *OptDepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes DepositStakeAction from json.
func (OptDepositStakeAction) Encode ¶ added in v0.1.1
func (o OptDepositStakeAction) Encode(e *jx.Encoder)
Encode encodes DepositStakeAction as json.
func (OptDepositStakeAction) Get ¶ added in v0.1.1
func (o OptDepositStakeAction) Get() (v DepositStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDepositStakeAction) IsSet ¶ added in v0.1.1
func (o OptDepositStakeAction) IsSet() bool
IsSet returns true if OptDepositStakeAction was set.
func (OptDepositStakeAction) MarshalJSON ¶ added in v0.1.1
func (s OptDepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDepositStakeAction) Or ¶ added in v0.1.1
func (o OptDepositStakeAction) Or(d DepositStakeAction) DepositStakeAction
Or returns value if set, or given parameter if does not.
func (*OptDepositStakeAction) Reset ¶ added in v0.1.1
func (o *OptDepositStakeAction) Reset()
Reset unsets value.
func (*OptDepositStakeAction) SetTo ¶ added in v0.1.1
func (o *OptDepositStakeAction) SetTo(v DepositStakeAction)
SetTo sets value to v.
func (*OptDepositStakeAction) UnmarshalJSON ¶ added in v0.1.1
func (s *OptDepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEncryptedComment ¶ added in v1.0.0
type OptEncryptedComment struct { Value EncryptedComment Set bool }
OptEncryptedComment is optional EncryptedComment.
func NewOptEncryptedComment ¶ added in v1.0.0
func NewOptEncryptedComment(v EncryptedComment) OptEncryptedComment
NewOptEncryptedComment returns new OptEncryptedComment with value set to v.
func (*OptEncryptedComment) Decode ¶ added in v1.0.0
func (o *OptEncryptedComment) Decode(d *jx.Decoder) error
Decode decodes EncryptedComment from json.
func (OptEncryptedComment) Encode ¶ added in v1.0.0
func (o OptEncryptedComment) Encode(e *jx.Encoder)
Encode encodes EncryptedComment as json.
func (OptEncryptedComment) Get ¶ added in v1.0.0
func (o OptEncryptedComment) Get() (v EncryptedComment, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEncryptedComment) IsSet ¶ added in v1.0.0
func (o OptEncryptedComment) IsSet() bool
IsSet returns true if OptEncryptedComment was set.
func (OptEncryptedComment) MarshalJSON ¶ added in v1.0.0
func (s OptEncryptedComment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEncryptedComment) Or ¶ added in v1.0.0
func (o OptEncryptedComment) Or(d EncryptedComment) EncryptedComment
Or returns value if set, or given parameter if does not.
func (*OptEncryptedComment) Reset ¶ added in v1.0.0
func (o *OptEncryptedComment) Reset()
Reset unsets value.
func (*OptEncryptedComment) SetTo ¶ added in v1.0.0
func (o *OptEncryptedComment) SetTo(v EncryptedComment)
SetTo sets value to v.
func (*OptEncryptedComment) UnmarshalJSON ¶ added in v1.0.0
func (s *OptEncryptedComment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetAccountsReq ¶
type OptGetAccountsReq struct { Value GetAccountsReq Set bool }
OptGetAccountsReq is optional GetAccountsReq.
func NewOptGetAccountsReq ¶
func NewOptGetAccountsReq(v GetAccountsReq) OptGetAccountsReq
NewOptGetAccountsReq returns new OptGetAccountsReq with value set to v.
func (*OptGetAccountsReq) Decode ¶
func (o *OptGetAccountsReq) Decode(d *jx.Decoder) error
Decode decodes GetAccountsReq from json.
func (OptGetAccountsReq) Encode ¶
func (o OptGetAccountsReq) Encode(e *jx.Encoder)
Encode encodes GetAccountsReq as json.
func (OptGetAccountsReq) Get ¶
func (o OptGetAccountsReq) Get() (v GetAccountsReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetAccountsReq) IsSet ¶
func (o OptGetAccountsReq) IsSet() bool
IsSet returns true if OptGetAccountsReq was set.
func (OptGetAccountsReq) MarshalJSON ¶
func (s OptGetAccountsReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptGetAccountsReq) Or ¶
func (o OptGetAccountsReq) Or(d GetAccountsReq) GetAccountsReq
Or returns value if set, or given parameter if does not.
func (*OptGetAccountsReq) SetTo ¶
func (o *OptGetAccountsReq) SetTo(v GetAccountsReq)
SetTo sets value to v.
func (*OptGetAccountsReq) UnmarshalJSON ¶
func (s *OptGetAccountsReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptGetNftItemsByAddressesReq ¶
type OptGetNftItemsByAddressesReq struct { Value GetNftItemsByAddressesReq Set bool }
OptGetNftItemsByAddressesReq is optional GetNftItemsByAddressesReq.
func NewOptGetNftItemsByAddressesReq ¶
func NewOptGetNftItemsByAddressesReq(v GetNftItemsByAddressesReq) OptGetNftItemsByAddressesReq
NewOptGetNftItemsByAddressesReq returns new OptGetNftItemsByAddressesReq with value set to v.
func (*OptGetNftItemsByAddressesReq) Decode ¶
func (o *OptGetNftItemsByAddressesReq) Decode(d *jx.Decoder) error
Decode decodes GetNftItemsByAddressesReq from json.
func (OptGetNftItemsByAddressesReq) Encode ¶
func (o OptGetNftItemsByAddressesReq) Encode(e *jx.Encoder)
Encode encodes GetNftItemsByAddressesReq as json.
func (OptGetNftItemsByAddressesReq) Get ¶
func (o OptGetNftItemsByAddressesReq) Get() (v GetNftItemsByAddressesReq, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptGetNftItemsByAddressesReq) IsSet ¶
func (o OptGetNftItemsByAddressesReq) IsSet() bool
IsSet returns true if OptGetNftItemsByAddressesReq was set.
func (OptGetNftItemsByAddressesReq) MarshalJSON ¶
func (s OptGetNftItemsByAddressesReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptGetNftItemsByAddressesReq) Reset ¶
func (o *OptGetNftItemsByAddressesReq) Reset()
Reset unsets value.
func (*OptGetNftItemsByAddressesReq) SetTo ¶
func (o *OptGetNftItemsByAddressesReq) SetTo(v GetNftItemsByAddressesReq)
SetTo sets value to v.
func (*OptGetNftItemsByAddressesReq) UnmarshalJSON ¶
func (s *OptGetNftItemsByAddressesReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt ¶
OptInt is optional int.
func (OptInt) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt32 ¶
OptInt32 is optional int32.
func NewOptInt32 ¶
NewOptInt32 returns new OptInt32 with value set to v.
func (OptInt32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptInt64 ¶
OptInt64 is optional int64.
func NewOptInt64 ¶
NewOptInt64 returns new OptInt64 with value set to v.
func (OptInt64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptInt64) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptJettonTransferAction ¶
type OptJettonTransferAction struct { Value JettonTransferAction Set bool }
OptJettonTransferAction is optional JettonTransferAction.
func NewOptJettonTransferAction ¶
func NewOptJettonTransferAction(v JettonTransferAction) OptJettonTransferAction
NewOptJettonTransferAction returns new OptJettonTransferAction with value set to v.
func (*OptJettonTransferAction) Decode ¶
func (o *OptJettonTransferAction) Decode(d *jx.Decoder) error
Decode decodes JettonTransferAction from json.
func (OptJettonTransferAction) Encode ¶
func (o OptJettonTransferAction) Encode(e *jx.Encoder)
Encode encodes JettonTransferAction as json.
func (OptJettonTransferAction) Get ¶
func (o OptJettonTransferAction) Get() (v JettonTransferAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonTransferAction) IsSet ¶
func (o OptJettonTransferAction) IsSet() bool
IsSet returns true if OptJettonTransferAction was set.
func (OptJettonTransferAction) MarshalJSON ¶
func (s OptJettonTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonTransferAction) Or ¶
func (o OptJettonTransferAction) Or(d JettonTransferAction) JettonTransferAction
Or returns value if set, or given parameter if does not.
func (*OptJettonTransferAction) Reset ¶
func (o *OptJettonTransferAction) Reset()
Reset unsets value.
func (*OptJettonTransferAction) SetTo ¶
func (o *OptJettonTransferAction) SetTo(v JettonTransferAction)
SetTo sets value to v.
func (*OptJettonTransferAction) UnmarshalJSON ¶
func (s *OptJettonTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptMessage ¶
OptMessage is optional Message.
func NewOptMessage ¶
func NewOptMessage(v Message) OptMessage
NewOptMessage returns new OptMessage with value set to v.
func (*OptMessage) Decode ¶
func (o *OptMessage) Decode(d *jx.Decoder) error
Decode decodes Message from json.
func (OptMessage) Encode ¶
func (o OptMessage) Encode(e *jx.Encoder)
Encode encodes Message as json.
func (OptMessage) Get ¶
func (o OptMessage) Get() (v Message, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptMessage) IsSet ¶
func (o OptMessage) IsSet() bool
IsSet returns true if OptMessage was set.
func (OptMessage) MarshalJSON ¶
func (s OptMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptMessage) Or ¶
func (o OptMessage) Or(d Message) Message
Or returns value if set, or given parameter if does not.
func (*OptMessage) UnmarshalJSON ¶
func (s *OptMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNftCollectionMetadata ¶
type OptNftCollectionMetadata struct { Value NftCollectionMetadata Set bool }
OptNftCollectionMetadata is optional NftCollectionMetadata.
func NewOptNftCollectionMetadata ¶
func NewOptNftCollectionMetadata(v NftCollectionMetadata) OptNftCollectionMetadata
NewOptNftCollectionMetadata returns new OptNftCollectionMetadata with value set to v.
func (*OptNftCollectionMetadata) Decode ¶
func (o *OptNftCollectionMetadata) Decode(d *jx.Decoder) error
Decode decodes NftCollectionMetadata from json.
func (OptNftCollectionMetadata) Encode ¶
func (o OptNftCollectionMetadata) Encode(e *jx.Encoder)
Encode encodes NftCollectionMetadata as json.
func (OptNftCollectionMetadata) Get ¶
func (o OptNftCollectionMetadata) Get() (v NftCollectionMetadata, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNftCollectionMetadata) IsSet ¶
func (o OptNftCollectionMetadata) IsSet() bool
IsSet returns true if OptNftCollectionMetadata was set.
func (OptNftCollectionMetadata) MarshalJSON ¶
func (s OptNftCollectionMetadata) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNftCollectionMetadata) Or ¶
func (o OptNftCollectionMetadata) Or(d NftCollectionMetadata) NftCollectionMetadata
Or returns value if set, or given parameter if does not.
func (*OptNftCollectionMetadata) Reset ¶
func (o *OptNftCollectionMetadata) Reset()
Reset unsets value.
func (*OptNftCollectionMetadata) SetTo ¶
func (o *OptNftCollectionMetadata) SetTo(v NftCollectionMetadata)
SetTo sets value to v.
func (*OptNftCollectionMetadata) UnmarshalJSON ¶
func (s *OptNftCollectionMetadata) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNftItem ¶
OptNftItem is optional NftItem.
func NewOptNftItem ¶
func NewOptNftItem(v NftItem) OptNftItem
NewOptNftItem returns new OptNftItem with value set to v.
func (*OptNftItem) Decode ¶
func (o *OptNftItem) Decode(d *jx.Decoder) error
Decode decodes NftItem from json.
func (OptNftItem) Encode ¶
func (o OptNftItem) Encode(e *jx.Encoder)
Encode encodes NftItem as json.
func (OptNftItem) Get ¶
func (o OptNftItem) Get() (v NftItem, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNftItem) IsSet ¶
func (o OptNftItem) IsSet() bool
IsSet returns true if OptNftItem was set.
func (OptNftItem) MarshalJSON ¶
func (s OptNftItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNftItem) Or ¶
func (o OptNftItem) Or(d NftItem) NftItem
Or returns value if set, or given parameter if does not.
func (*OptNftItem) UnmarshalJSON ¶
func (s *OptNftItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNftItemCollection ¶
type OptNftItemCollection struct { Value NftItemCollection Set bool }
OptNftItemCollection is optional NftItemCollection.
func NewOptNftItemCollection ¶
func NewOptNftItemCollection(v NftItemCollection) OptNftItemCollection
NewOptNftItemCollection returns new OptNftItemCollection with value set to v.
func (*OptNftItemCollection) Decode ¶
func (o *OptNftItemCollection) Decode(d *jx.Decoder) error
Decode decodes NftItemCollection from json.
func (OptNftItemCollection) Encode ¶
func (o OptNftItemCollection) Encode(e *jx.Encoder)
Encode encodes NftItemCollection as json.
func (OptNftItemCollection) Get ¶
func (o OptNftItemCollection) Get() (v NftItemCollection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNftItemCollection) IsSet ¶
func (o OptNftItemCollection) IsSet() bool
IsSet returns true if OptNftItemCollection was set.
func (OptNftItemCollection) MarshalJSON ¶
func (s OptNftItemCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNftItemCollection) Or ¶
func (o OptNftItemCollection) Or(d NftItemCollection) NftItemCollection
Or returns value if set, or given parameter if does not.
func (*OptNftItemCollection) SetTo ¶
func (o *OptNftItemCollection) SetTo(v NftItemCollection)
SetTo sets value to v.
func (*OptNftItemCollection) UnmarshalJSON ¶
func (s *OptNftItemCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNftItemTransferAction ¶
type OptNftItemTransferAction struct { Value NftItemTransferAction Set bool }
OptNftItemTransferAction is optional NftItemTransferAction.
func NewOptNftItemTransferAction ¶
func NewOptNftItemTransferAction(v NftItemTransferAction) OptNftItemTransferAction
NewOptNftItemTransferAction returns new OptNftItemTransferAction with value set to v.
func (*OptNftItemTransferAction) Decode ¶
func (o *OptNftItemTransferAction) Decode(d *jx.Decoder) error
Decode decodes NftItemTransferAction from json.
func (OptNftItemTransferAction) Encode ¶
func (o OptNftItemTransferAction) Encode(e *jx.Encoder)
Encode encodes NftItemTransferAction as json.
func (OptNftItemTransferAction) Get ¶
func (o OptNftItemTransferAction) Get() (v NftItemTransferAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNftItemTransferAction) IsSet ¶
func (o OptNftItemTransferAction) IsSet() bool
IsSet returns true if OptNftItemTransferAction was set.
func (OptNftItemTransferAction) MarshalJSON ¶
func (s OptNftItemTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNftItemTransferAction) Or ¶
func (o OptNftItemTransferAction) Or(d NftItemTransferAction) NftItemTransferAction
Or returns value if set, or given parameter if does not.
func (*OptNftItemTransferAction) Reset ¶
func (o *OptNftItemTransferAction) Reset()
Reset unsets value.
func (*OptNftItemTransferAction) SetTo ¶
func (o *OptNftItemTransferAction) SetTo(v NftItemTransferAction)
SetTo sets value to v.
func (*OptNftItemTransferAction) UnmarshalJSON ¶
func (s *OptNftItemTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptNftPurchaseAction ¶
type OptNftPurchaseAction struct { Value NftPurchaseAction Set bool }
OptNftPurchaseAction is optional NftPurchaseAction.
func NewOptNftPurchaseAction ¶
func NewOptNftPurchaseAction(v NftPurchaseAction) OptNftPurchaseAction
NewOptNftPurchaseAction returns new OptNftPurchaseAction with value set to v.
func (*OptNftPurchaseAction) Decode ¶
func (o *OptNftPurchaseAction) Decode(d *jx.Decoder) error
Decode decodes NftPurchaseAction from json.
func (OptNftPurchaseAction) Encode ¶
func (o OptNftPurchaseAction) Encode(e *jx.Encoder)
Encode encodes NftPurchaseAction as json.
func (OptNftPurchaseAction) Get ¶
func (o OptNftPurchaseAction) Get() (v NftPurchaseAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptNftPurchaseAction) IsSet ¶
func (o OptNftPurchaseAction) IsSet() bool
IsSet returns true if OptNftPurchaseAction was set.
func (OptNftPurchaseAction) MarshalJSON ¶
func (s OptNftPurchaseAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptNftPurchaseAction) Or ¶
func (o OptNftPurchaseAction) Or(d NftPurchaseAction) NftPurchaseAction
Or returns value if set, or given parameter if does not.
func (*OptNftPurchaseAction) SetTo ¶
func (o *OptNftPurchaseAction) SetTo(v NftPurchaseAction)
SetTo sets value to v.
func (*OptNftPurchaseAction) UnmarshalJSON ¶
func (s *OptNftPurchaseAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRawAccountExtraBalance ¶
type OptRawAccountExtraBalance struct { Value RawAccountExtraBalance Set bool }
OptRawAccountExtraBalance is optional RawAccountExtraBalance.
func NewOptRawAccountExtraBalance ¶
func NewOptRawAccountExtraBalance(v RawAccountExtraBalance) OptRawAccountExtraBalance
NewOptRawAccountExtraBalance returns new OptRawAccountExtraBalance with value set to v.
func (*OptRawAccountExtraBalance) Decode ¶
func (o *OptRawAccountExtraBalance) Decode(d *jx.Decoder) error
Decode decodes RawAccountExtraBalance from json.
func (OptRawAccountExtraBalance) Encode ¶
func (o OptRawAccountExtraBalance) Encode(e *jx.Encoder)
Encode encodes RawAccountExtraBalance as json.
func (OptRawAccountExtraBalance) Get ¶
func (o OptRawAccountExtraBalance) Get() (v RawAccountExtraBalance, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRawAccountExtraBalance) IsSet ¶
func (o OptRawAccountExtraBalance) IsSet() bool
IsSet returns true if OptRawAccountExtraBalance was set.
func (OptRawAccountExtraBalance) MarshalJSON ¶
func (s OptRawAccountExtraBalance) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptRawAccountExtraBalance) Reset ¶
func (o *OptRawAccountExtraBalance) Reset()
Reset unsets value.
func (*OptRawAccountExtraBalance) SetTo ¶
func (o *OptRawAccountExtraBalance) SetTo(v RawAccountExtraBalance)
SetTo sets value to v.
func (*OptRawAccountExtraBalance) UnmarshalJSON ¶
func (s *OptRawAccountExtraBalance) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRecoverStakeAction ¶ added in v0.1.1
type OptRecoverStakeAction struct { Value RecoverStakeAction Set bool }
OptRecoverStakeAction is optional RecoverStakeAction.
func NewOptRecoverStakeAction ¶ added in v0.1.1
func NewOptRecoverStakeAction(v RecoverStakeAction) OptRecoverStakeAction
NewOptRecoverStakeAction returns new OptRecoverStakeAction with value set to v.
func (*OptRecoverStakeAction) Decode ¶ added in v0.1.1
func (o *OptRecoverStakeAction) Decode(d *jx.Decoder) error
Decode decodes RecoverStakeAction from json.
func (OptRecoverStakeAction) Encode ¶ added in v0.1.1
func (o OptRecoverStakeAction) Encode(e *jx.Encoder)
Encode encodes RecoverStakeAction as json.
func (OptRecoverStakeAction) Get ¶ added in v0.1.1
func (o OptRecoverStakeAction) Get() (v RecoverStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptRecoverStakeAction) IsSet ¶ added in v0.1.1
func (o OptRecoverStakeAction) IsSet() bool
IsSet returns true if OptRecoverStakeAction was set.
func (OptRecoverStakeAction) MarshalJSON ¶ added in v0.1.1
func (s OptRecoverStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptRecoverStakeAction) Or ¶ added in v0.1.1
func (o OptRecoverStakeAction) Or(d RecoverStakeAction) RecoverStakeAction
Or returns value if set, or given parameter if does not.
func (*OptRecoverStakeAction) Reset ¶ added in v0.1.1
func (o *OptRecoverStakeAction) Reset()
Reset unsets value.
func (*OptRecoverStakeAction) SetTo ¶ added in v0.1.1
func (o *OptRecoverStakeAction) SetTo(v RecoverStakeAction)
SetTo sets value to v.
func (*OptRecoverStakeAction) UnmarshalJSON ¶ added in v0.1.1
func (s *OptRecoverStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptRefund ¶
OptRefund is optional Refund.
func NewOptRefund ¶
NewOptRefund returns new OptRefund with value set to v.
func (OptRefund) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptRefund) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSTONfiSwapAction ¶ added in v1.0.0
type OptSTONfiSwapAction struct { Value STONfiSwapAction Set bool }
OptSTONfiSwapAction is optional STONfiSwapAction.
func NewOptSTONfiSwapAction ¶ added in v1.0.0
func NewOptSTONfiSwapAction(v STONfiSwapAction) OptSTONfiSwapAction
NewOptSTONfiSwapAction returns new OptSTONfiSwapAction with value set to v.
func (*OptSTONfiSwapAction) Decode ¶ added in v1.0.0
func (o *OptSTONfiSwapAction) Decode(d *jx.Decoder) error
Decode decodes STONfiSwapAction from json.
func (OptSTONfiSwapAction) Encode ¶ added in v1.0.0
func (o OptSTONfiSwapAction) Encode(e *jx.Encoder)
Encode encodes STONfiSwapAction as json.
func (OptSTONfiSwapAction) Get ¶ added in v1.0.0
func (o OptSTONfiSwapAction) Get() (v STONfiSwapAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSTONfiSwapAction) IsSet ¶ added in v1.0.0
func (o OptSTONfiSwapAction) IsSet() bool
IsSet returns true if OptSTONfiSwapAction was set.
func (OptSTONfiSwapAction) MarshalJSON ¶ added in v1.0.0
func (s OptSTONfiSwapAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSTONfiSwapAction) Or ¶ added in v1.0.0
func (o OptSTONfiSwapAction) Or(d STONfiSwapAction) STONfiSwapAction
Or returns value if set, or given parameter if does not.
func (*OptSTONfiSwapAction) Reset ¶ added in v1.0.0
func (o *OptSTONfiSwapAction) Reset()
Reset unsets value.
func (*OptSTONfiSwapAction) SetTo ¶ added in v1.0.0
func (o *OptSTONfiSwapAction) SetTo(v STONfiSwapAction)
SetTo sets value to v.
func (*OptSTONfiSwapAction) UnmarshalJSON ¶ added in v1.0.0
func (s *OptSTONfiSwapAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSale ¶
OptSale is optional Sale.
func NewOptSale ¶
NewOptSale returns new OptSale with value set to v.
func (OptSale) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptSale) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSmartContractAction ¶
type OptSmartContractAction struct { Value SmartContractAction Set bool }
OptSmartContractAction is optional SmartContractAction.
func NewOptSmartContractAction ¶
func NewOptSmartContractAction(v SmartContractAction) OptSmartContractAction
NewOptSmartContractAction returns new OptSmartContractAction with value set to v.
func (*OptSmartContractAction) Decode ¶
func (o *OptSmartContractAction) Decode(d *jx.Decoder) error
Decode decodes SmartContractAction from json.
func (OptSmartContractAction) Encode ¶
func (o OptSmartContractAction) Encode(e *jx.Encoder)
Encode encodes SmartContractAction as json.
func (OptSmartContractAction) Get ¶
func (o OptSmartContractAction) Get() (v SmartContractAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSmartContractAction) IsSet ¶
func (o OptSmartContractAction) IsSet() bool
IsSet returns true if OptSmartContractAction was set.
func (OptSmartContractAction) MarshalJSON ¶
func (s OptSmartContractAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSmartContractAction) Or ¶
func (o OptSmartContractAction) Or(d SmartContractAction) SmartContractAction
Or returns value if set, or given parameter if does not.
func (*OptSmartContractAction) SetTo ¶
func (o *OptSmartContractAction) SetTo(v SmartContractAction)
SetTo sets value to v.
func (*OptSmartContractAction) UnmarshalJSON ¶
func (s *OptSmartContractAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStateInit ¶
OptStateInit is optional StateInit.
func NewOptStateInit ¶
func NewOptStateInit(v StateInit) OptStateInit
NewOptStateInit returns new OptStateInit with value set to v.
func (*OptStateInit) Decode ¶
func (o *OptStateInit) Decode(d *jx.Decoder) error
Decode decodes StateInit from json.
func (OptStateInit) Encode ¶
func (o OptStateInit) Encode(e *jx.Encoder)
Encode encodes StateInit as json.
func (OptStateInit) Get ¶
func (o OptStateInit) Get() (v StateInit, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStateInit) IsSet ¶
func (o OptStateInit) IsSet() bool
IsSet returns true if OptStateInit was set.
func (OptStateInit) MarshalJSON ¶
func (s OptStateInit) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStateInit) Or ¶
func (o OptStateInit) Or(d StateInit) StateInit
Or returns value if set, or given parameter if does not.
func (*OptStateInit) UnmarshalJSON ¶
func (s *OptStateInit) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptStoragePhase ¶
type OptStoragePhase struct { Value StoragePhase Set bool }
OptStoragePhase is optional StoragePhase.
func NewOptStoragePhase ¶
func NewOptStoragePhase(v StoragePhase) OptStoragePhase
NewOptStoragePhase returns new OptStoragePhase with value set to v.
func (*OptStoragePhase) Decode ¶
func (o *OptStoragePhase) Decode(d *jx.Decoder) error
Decode decodes StoragePhase from json.
func (OptStoragePhase) Encode ¶
func (o OptStoragePhase) Encode(e *jx.Encoder)
Encode encodes StoragePhase as json.
func (OptStoragePhase) Get ¶
func (o OptStoragePhase) Get() (v StoragePhase, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptStoragePhase) IsSet ¶
func (o OptStoragePhase) IsSet() bool
IsSet returns true if OptStoragePhase was set.
func (OptStoragePhase) MarshalJSON ¶
func (s OptStoragePhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptStoragePhase) Or ¶
func (o OptStoragePhase) Or(d StoragePhase) StoragePhase
Or returns value if set, or given parameter if does not.
func (*OptStoragePhase) SetTo ¶
func (o *OptStoragePhase) SetTo(v StoragePhase)
SetTo sets value to v.
func (*OptStoragePhase) UnmarshalJSON ¶
func (s *OptStoragePhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptString ¶
OptString is optional string.
func NewOptString ¶
NewOptString returns new OptString with value set to v.
func (OptString) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptString) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptSubscriptionAction ¶
type OptSubscriptionAction struct { Value SubscriptionAction Set bool }
OptSubscriptionAction is optional SubscriptionAction.
func NewOptSubscriptionAction ¶
func NewOptSubscriptionAction(v SubscriptionAction) OptSubscriptionAction
NewOptSubscriptionAction returns new OptSubscriptionAction with value set to v.
func (*OptSubscriptionAction) Decode ¶
func (o *OptSubscriptionAction) Decode(d *jx.Decoder) error
Decode decodes SubscriptionAction from json.
func (OptSubscriptionAction) Encode ¶
func (o OptSubscriptionAction) Encode(e *jx.Encoder)
Encode encodes SubscriptionAction as json.
func (OptSubscriptionAction) Get ¶
func (o OptSubscriptionAction) Get() (v SubscriptionAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptSubscriptionAction) IsSet ¶
func (o OptSubscriptionAction) IsSet() bool
IsSet returns true if OptSubscriptionAction was set.
func (OptSubscriptionAction) MarshalJSON ¶
func (s OptSubscriptionAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptSubscriptionAction) Or ¶
func (o OptSubscriptionAction) Or(d SubscriptionAction) SubscriptionAction
Or returns value if set, or given parameter if does not.
func (*OptSubscriptionAction) SetTo ¶
func (o *OptSubscriptionAction) SetTo(v SubscriptionAction)
SetTo sets value to v.
func (*OptSubscriptionAction) UnmarshalJSON ¶
func (s *OptSubscriptionAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTonTransferAction ¶
type OptTonTransferAction struct { Value TonTransferAction Set bool }
OptTonTransferAction is optional TonTransferAction.
func NewOptTonTransferAction ¶
func NewOptTonTransferAction(v TonTransferAction) OptTonTransferAction
NewOptTonTransferAction returns new OptTonTransferAction with value set to v.
func (*OptTonTransferAction) Decode ¶
func (o *OptTonTransferAction) Decode(d *jx.Decoder) error
Decode decodes TonTransferAction from json.
func (OptTonTransferAction) Encode ¶
func (o OptTonTransferAction) Encode(e *jx.Encoder)
Encode encodes TonTransferAction as json.
func (OptTonTransferAction) Get ¶
func (o OptTonTransferAction) Get() (v TonTransferAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTonTransferAction) IsSet ¶
func (o OptTonTransferAction) IsSet() bool
IsSet returns true if OptTonTransferAction was set.
func (OptTonTransferAction) MarshalJSON ¶
func (s OptTonTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTonTransferAction) Or ¶
func (o OptTonTransferAction) Or(d TonTransferAction) TonTransferAction
Or returns value if set, or given parameter if does not.
func (*OptTonTransferAction) SetTo ¶
func (o *OptTonTransferAction) SetTo(v TonTransferAction)
SetTo sets value to v.
func (*OptTonTransferAction) UnmarshalJSON ¶
func (s *OptTonTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUint32 ¶
OptUint32 is optional uint32.
func NewOptUint32 ¶
NewOptUint32 returns new OptUint32 with value set to v.
func (OptUint32) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUint32) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUint64 ¶ added in v1.0.0
OptUint64 is optional uint64.
func NewOptUint64 ¶ added in v1.0.0
NewOptUint64 returns new OptUint64 with value set to v.
func (OptUint64) Get ¶ added in v1.0.0
Get returns value and boolean that denotes whether value was set.
func (OptUint64) MarshalJSON ¶ added in v1.0.0
MarshalJSON implements stdjson.Marshaler.
func (*OptUint64) UnmarshalJSON ¶ added in v1.0.0
UnmarshalJSON implements stdjson.Unmarshaler.
type OptUnSubscriptionAction ¶
type OptUnSubscriptionAction struct { Value UnSubscriptionAction Set bool }
OptUnSubscriptionAction is optional UnSubscriptionAction.
func NewOptUnSubscriptionAction ¶
func NewOptUnSubscriptionAction(v UnSubscriptionAction) OptUnSubscriptionAction
NewOptUnSubscriptionAction returns new OptUnSubscriptionAction with value set to v.
func (*OptUnSubscriptionAction) Decode ¶
func (o *OptUnSubscriptionAction) Decode(d *jx.Decoder) error
Decode decodes UnSubscriptionAction from json.
func (OptUnSubscriptionAction) Encode ¶
func (o OptUnSubscriptionAction) Encode(e *jx.Encoder)
Encode encodes UnSubscriptionAction as json.
func (OptUnSubscriptionAction) Get ¶
func (o OptUnSubscriptionAction) Get() (v UnSubscriptionAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptUnSubscriptionAction) IsSet ¶
func (o OptUnSubscriptionAction) IsSet() bool
IsSet returns true if OptUnSubscriptionAction was set.
func (OptUnSubscriptionAction) MarshalJSON ¶
func (s OptUnSubscriptionAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptUnSubscriptionAction) Or ¶
func (o OptUnSubscriptionAction) Or(d UnSubscriptionAction) UnSubscriptionAction
Or returns value if set, or given parameter if does not.
func (*OptUnSubscriptionAction) Reset ¶
func (o *OptUnSubscriptionAction) Reset()
Reset unsets value.
func (*OptUnSubscriptionAction) SetTo ¶
func (o *OptUnSubscriptionAction) SetTo(v UnSubscriptionAction)
SetTo sets value to v.
func (*OptUnSubscriptionAction) UnmarshalJSON ¶
func (s *OptUnSubscriptionAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptValidatorsSet ¶ added in v1.0.0
type OptValidatorsSet struct { Value ValidatorsSet Set bool }
OptValidatorsSet is optional ValidatorsSet.
func NewOptValidatorsSet ¶ added in v1.0.0
func NewOptValidatorsSet(v ValidatorsSet) OptValidatorsSet
NewOptValidatorsSet returns new OptValidatorsSet with value set to v.
func (*OptValidatorsSet) Decode ¶ added in v1.0.0
func (o *OptValidatorsSet) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSet from json.
func (OptValidatorsSet) Encode ¶ added in v1.0.0
func (o OptValidatorsSet) Encode(e *jx.Encoder)
Encode encodes ValidatorsSet as json.
func (OptValidatorsSet) Get ¶ added in v1.0.0
func (o OptValidatorsSet) Get() (v ValidatorsSet, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptValidatorsSet) IsSet ¶ added in v1.0.0
func (o OptValidatorsSet) IsSet() bool
IsSet returns true if OptValidatorsSet was set.
func (OptValidatorsSet) MarshalJSON ¶ added in v1.0.0
func (s OptValidatorsSet) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptValidatorsSet) Or ¶ added in v1.0.0
func (o OptValidatorsSet) Or(d ValidatorsSet) ValidatorsSet
Or returns value if set, or given parameter if does not.
func (*OptValidatorsSet) Reset ¶ added in v1.0.0
func (o *OptValidatorsSet) Reset()
Reset unsets value.
func (*OptValidatorsSet) SetTo ¶ added in v1.0.0
func (o *OptValidatorsSet) SetTo(v ValidatorsSet)
SetTo sets value to v.
func (*OptValidatorsSet) UnmarshalJSON ¶ added in v1.0.0
func (s *OptValidatorsSet) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptWalletDNS ¶
OptWalletDNS is optional WalletDNS.
func NewOptWalletDNS ¶
func NewOptWalletDNS(v WalletDNS) OptWalletDNS
NewOptWalletDNS returns new OptWalletDNS with value set to v.
func (*OptWalletDNS) Decode ¶
func (o *OptWalletDNS) Decode(d *jx.Decoder) error
Decode decodes WalletDNS from json.
func (OptWalletDNS) Encode ¶
func (o OptWalletDNS) Encode(e *jx.Encoder)
Encode encodes WalletDNS as json.
func (OptWalletDNS) Get ¶
func (o OptWalletDNS) Get() (v WalletDNS, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWalletDNS) IsSet ¶
func (o OptWalletDNS) IsSet() bool
IsSet returns true if OptWalletDNS was set.
func (OptWalletDNS) MarshalJSON ¶
func (s OptWalletDNS) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWalletDNS) Or ¶
func (o OptWalletDNS) Or(d WalletDNS) WalletDNS
Or returns value if set, or given parameter if does not.
func (*OptWalletDNS) UnmarshalJSON ¶
func (s *OptWalletDNS) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { ServerOption ClientOption }
Option is config option.
func WithMeterProvider ¶
func WithMeterProvider(provider metric.MeterProvider) Option
WithMeterProvider specifies a meter provider to use for creating a meter.
If none is specified, the metric.NewNoopMeterProvider is used.
func WithTracerProvider ¶
func WithTracerProvider(provider trace.TracerProvider) Option
WithTracerProvider specifies a tracer provider to use for creating a tracer.
If none is specified, the global provider is used.
type PoolImplementation ¶
type PoolImplementation struct { Name string `json:"name"` Description string `json:"description"` URL string `json:"url"` }
Ref: #/components/schemas/PoolImplementation
func (*PoolImplementation) Decode ¶
func (s *PoolImplementation) Decode(d *jx.Decoder) error
Decode decodes PoolImplementation from json.
func (PoolImplementation) Encode ¶
func (s PoolImplementation) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (PoolImplementation) GetDescription ¶
func (s PoolImplementation) GetDescription() string
GetDescription returns the value of Description.
func (PoolImplementation) GetName ¶
func (s PoolImplementation) GetName() string
GetName returns the value of Name.
func (PoolImplementation) GetURL ¶
func (s PoolImplementation) GetURL() string
GetURL returns the value of URL.
func (PoolImplementation) MarshalJSON ¶
func (s PoolImplementation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PoolImplementation) SetDescription ¶
func (s *PoolImplementation) SetDescription(val string)
SetDescription sets the value of Description.
func (*PoolImplementation) SetName ¶
func (s *PoolImplementation) SetName(val string)
SetName sets the value of Name.
func (*PoolImplementation) SetURL ¶
func (s *PoolImplementation) SetURL(val string)
SetURL sets the value of URL.
func (*PoolImplementation) UnmarshalJSON ¶
func (s *PoolImplementation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type PoolInfo ¶
type PoolInfo struct { Address string `json:"address"` Name string `json:"name"` TotalAmount int64 `json:"total_amount"` Implementation PoolInfoImplementation `json:"implementation"` // APY in percent. Apy float64 `json:"apy"` MinStake int64 `json:"min_stake"` // Current nomination cycle beginning timestamp. CycleStart int64 `json:"cycle_start"` // Current nomination cycle ending timestamp. CycleEnd int64 `json:"cycle_end"` // This pool has verified source code or managed by trusted company. Verified bool `json:"verified"` // Current number of nominators. CurrentNominators int `json:"current_nominators"` // Maximum number of nominators. MaxNominators int `json:"max_nominators"` // For liquid staking master account of jetton. LiquidJettonMaster OptString `json:"liquid_jetton_master"` }
Ref: #/components/schemas/PoolInfo
func (PoolInfo) GetAddress ¶
GetAddress returns the value of Address.
func (PoolInfo) GetCurrentNominators ¶
GetCurrentNominators returns the value of CurrentNominators.
func (PoolInfo) GetCycleEnd ¶
GetCycleEnd returns the value of CycleEnd.
func (PoolInfo) GetCycleStart ¶
GetCycleStart returns the value of CycleStart.
func (PoolInfo) GetImplementation ¶
func (s PoolInfo) GetImplementation() PoolInfoImplementation
GetImplementation returns the value of Implementation.
func (PoolInfo) GetLiquidJettonMaster ¶ added in v0.1.0
GetLiquidJettonMaster returns the value of LiquidJettonMaster.
func (PoolInfo) GetMaxNominators ¶
GetMaxNominators returns the value of MaxNominators.
func (PoolInfo) GetMinStake ¶
GetMinStake returns the value of MinStake.
func (PoolInfo) GetTotalAmount ¶
GetTotalAmount returns the value of TotalAmount.
func (PoolInfo) GetVerified ¶
GetVerified returns the value of Verified.
func (PoolInfo) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*PoolInfo) SetAddress ¶
SetAddress sets the value of Address.
func (*PoolInfo) SetCurrentNominators ¶
SetCurrentNominators sets the value of CurrentNominators.
func (*PoolInfo) SetCycleEnd ¶
SetCycleEnd sets the value of CycleEnd.
func (*PoolInfo) SetCycleStart ¶
SetCycleStart sets the value of CycleStart.
func (*PoolInfo) SetImplementation ¶
func (s *PoolInfo) SetImplementation(val PoolInfoImplementation)
SetImplementation sets the value of Implementation.
func (*PoolInfo) SetLiquidJettonMaster ¶ added in v0.1.0
SetLiquidJettonMaster sets the value of LiquidJettonMaster.
func (*PoolInfo) SetMaxNominators ¶
SetMaxNominators sets the value of MaxNominators.
func (*PoolInfo) SetMinStake ¶
SetMinStake sets the value of MinStake.
func (*PoolInfo) SetTotalAmount ¶
SetTotalAmount sets the value of TotalAmount.
func (*PoolInfo) SetVerified ¶
SetVerified sets the value of Verified.
func (*PoolInfo) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type PoolInfoImplementation ¶
type PoolInfoImplementation string
const ( PoolInfoImplementationWhales PoolInfoImplementation = "whales" PoolInfoImplementationTf PoolInfoImplementation = "tf" PoolInfoImplementationLiquidTF PoolInfoImplementation = "liquidTF" )
func (*PoolInfoImplementation) Decode ¶
func (s *PoolInfoImplementation) Decode(d *jx.Decoder) error
Decode decodes PoolInfoImplementation from json.
func (PoolInfoImplementation) Encode ¶
func (s PoolInfoImplementation) Encode(e *jx.Encoder)
Encode encodes PoolInfoImplementation as json.
func (PoolInfoImplementation) MarshalJSON ¶
func (s PoolInfoImplementation) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*PoolInfoImplementation) UnmarshalJSON ¶
func (s *PoolInfoImplementation) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (PoolInfoImplementation) Validate ¶
func (s PoolInfoImplementation) Validate() error
type PoolsByNominatorsParams ¶
type PoolsByNominatorsParams struct { // Account ID. AccountID string }
PoolsByNominatorsParams is parameters of poolsByNominators operation.
type PoolsByNominatorsRes ¶
type PoolsByNominatorsRes interface {
// contains filtered or unexported methods
}
type Price ¶
Ref: #/components/schemas/Price
func (Price) GetTokenName ¶
GetTokenName returns the value of TokenName.
func (Price) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Price) SetTokenName ¶
SetTokenName sets the value of TokenName.
func (*Price) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RawAccount ¶
type RawAccount struct { Address string `json:"address"` Balance int64 `json:"balance"` ExtraBalance OptRawAccountExtraBalance `json:"extra_balance"` Code OptString `json:"code"` Data OptString `json:"data"` LastTransactionLt int64 `json:"last_transaction_lt"` Status string `json:"status"` Storage AccountStorageInfo `json:"storage"` }
Ref: #/components/schemas/RawAccount
func (*RawAccount) Decode ¶
func (s *RawAccount) Decode(d *jx.Decoder) error
Decode decodes RawAccount from json.
func (RawAccount) Encode ¶
func (s RawAccount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RawAccount) GetAddress ¶
func (s RawAccount) GetAddress() string
GetAddress returns the value of Address.
func (RawAccount) GetBalance ¶
func (s RawAccount) GetBalance() int64
GetBalance returns the value of Balance.
func (RawAccount) GetCode ¶
func (s RawAccount) GetCode() OptString
GetCode returns the value of Code.
func (RawAccount) GetData ¶
func (s RawAccount) GetData() OptString
GetData returns the value of Data.
func (RawAccount) GetExtraBalance ¶
func (s RawAccount) GetExtraBalance() OptRawAccountExtraBalance
GetExtraBalance returns the value of ExtraBalance.
func (RawAccount) GetLastTransactionLt ¶
func (s RawAccount) GetLastTransactionLt() int64
GetLastTransactionLt returns the value of LastTransactionLt.
func (RawAccount) GetStatus ¶
func (s RawAccount) GetStatus() string
GetStatus returns the value of Status.
func (RawAccount) GetStorage ¶
func (s RawAccount) GetStorage() AccountStorageInfo
GetStorage returns the value of Storage.
func (RawAccount) MarshalJSON ¶
func (s RawAccount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RawAccount) SetAddress ¶
func (s *RawAccount) SetAddress(val string)
SetAddress sets the value of Address.
func (*RawAccount) SetBalance ¶
func (s *RawAccount) SetBalance(val int64)
SetBalance sets the value of Balance.
func (*RawAccount) SetCode ¶
func (s *RawAccount) SetCode(val OptString)
SetCode sets the value of Code.
func (*RawAccount) SetData ¶
func (s *RawAccount) SetData(val OptString)
SetData sets the value of Data.
func (*RawAccount) SetExtraBalance ¶
func (s *RawAccount) SetExtraBalance(val OptRawAccountExtraBalance)
SetExtraBalance sets the value of ExtraBalance.
func (*RawAccount) SetLastTransactionLt ¶
func (s *RawAccount) SetLastTransactionLt(val int64)
SetLastTransactionLt sets the value of LastTransactionLt.
func (*RawAccount) SetStatus ¶
func (s *RawAccount) SetStatus(val string)
SetStatus sets the value of Status.
func (*RawAccount) SetStorage ¶
func (s *RawAccount) SetStorage(val AccountStorageInfo)
SetStorage sets the value of Storage.
func (*RawAccount) UnmarshalJSON ¶
func (s *RawAccount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RawAccountExtraBalance ¶
func (*RawAccountExtraBalance) Decode ¶
func (s *RawAccountExtraBalance) Decode(d *jx.Decoder) error
Decode decodes RawAccountExtraBalance from json.
func (RawAccountExtraBalance) Encode ¶
func (s RawAccountExtraBalance) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RawAccountExtraBalance) MarshalJSON ¶
func (s RawAccountExtraBalance) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RawAccountExtraBalance) UnmarshalJSON ¶
func (s *RawAccountExtraBalance) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RecoverStakeAction ¶ added in v0.1.1
type RecoverStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` }
Ref: #/components/schemas/RecoverStakeAction
func (*RecoverStakeAction) Decode ¶ added in v0.1.1
func (s *RecoverStakeAction) Decode(d *jx.Decoder) error
Decode decodes RecoverStakeAction from json.
func (RecoverStakeAction) Encode ¶ added in v0.1.1
func (s RecoverStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RecoverStakeAction) GetAmount ¶ added in v0.1.1
func (s RecoverStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (RecoverStakeAction) GetStaker ¶ added in v0.1.1
func (s RecoverStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (RecoverStakeAction) MarshalJSON ¶ added in v0.1.1
func (s RecoverStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RecoverStakeAction) SetAmount ¶ added in v0.1.1
func (s *RecoverStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*RecoverStakeAction) SetStaker ¶ added in v0.1.1
func (s *RecoverStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*RecoverStakeAction) UnmarshalJSON ¶ added in v0.1.1
func (s *RecoverStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Refund ¶
type Refund struct { Type RefundType `json:"type"` Origin string `json:"origin"` }
Ref: #/components/schemas/Refund
func (Refund) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Refund) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type RefundType ¶
type RefundType string
const ( RefundTypeDNSTon RefundType = "DNS.ton" RefundTypeDNSTg RefundType = "DNS.tg" RefundTypeGetGems RefundType = "GetGems" )
func (*RefundType) Decode ¶
func (s *RefundType) Decode(d *jx.Decoder) error
Decode decodes RefundType from json.
func (RefundType) Encode ¶
func (s RefundType) Encode(e *jx.Encoder)
Encode encodes RefundType as json.
func (RefundType) MarshalJSON ¶
func (s RefundType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RefundType) UnmarshalJSON ¶
func (s *RefundType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (RefundType) Validate ¶
func (s RefundType) Validate() error
type ReindexAccountOK ¶
type ReindexAccountOK struct{}
ReindexAccountOK is response for ReindexAccount operation.
type ReindexAccountParams ¶
type ReindexAccountParams struct { // Account ID. AccountID string }
ReindexAccountParams is parameters of reindexAccount operation.
type ReindexAccountRes ¶
type ReindexAccountRes interface {
// contains filtered or unexported methods
}
type Risk ¶
type Risk struct { // Transfer all the remaining balance of the wallet. TransferAllRemainingBalance bool `json:"transfer_all_remaining_balance"` Ton int64 `json:"ton"` Jettons []JettonQuantity `json:"jettons"` Nfts []NftItem `json:"nfts"` }
Risk specifies assets that could be lost if a message would be sent to a malicious smart contract. It makes sense to understand the risk BEFORE sending a message to the blockchain. Ref: #/components/schemas/Risk
func (Risk) GetJettons ¶
func (s Risk) GetJettons() []JettonQuantity
GetJettons returns the value of Jettons.
func (Risk) GetTransferAllRemainingBalance ¶
GetTransferAllRemainingBalance returns the value of TransferAllRemainingBalance.
func (Risk) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Risk) SetJettons ¶
func (s *Risk) SetJettons(val []JettonQuantity)
SetJettons sets the value of Jettons.
func (*Risk) SetTransferAllRemainingBalance ¶
SetTransferAllRemainingBalance sets the value of TransferAllRemainingBalance.
func (*Risk) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Route ¶
type Route struct {
// contains filtered or unexported fields
}
Route is route object.
func (Route) OperationID ¶
OperationID returns OpenAPI operationId.
type STONfiSwapAction ¶ added in v1.0.0
type STONfiSwapAction struct { AmountIn string `json:"amount_in"` AmountOut string `json:"amount_out"` UserWallet AccountAddress `json:"user_wallet"` StonfiRouter AccountAddress `json:"stonfi_router"` JettonWalletIn string `json:"jetton_wallet_in"` JettonMasterIn JettonPreview `json:"jetton_master_in"` JettonWalletOut string `json:"jetton_wallet_out"` JettonMasterOut JettonPreview `json:"jetton_master_out"` }
Ref: #/components/schemas/STONfiSwapAction
func (*STONfiSwapAction) Decode ¶ added in v1.0.0
func (s *STONfiSwapAction) Decode(d *jx.Decoder) error
Decode decodes STONfiSwapAction from json.
func (STONfiSwapAction) Encode ¶ added in v1.0.0
func (s STONfiSwapAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (STONfiSwapAction) GetAmountIn ¶ added in v1.0.0
func (s STONfiSwapAction) GetAmountIn() string
GetAmountIn returns the value of AmountIn.
func (STONfiSwapAction) GetAmountOut ¶ added in v1.0.0
func (s STONfiSwapAction) GetAmountOut() string
GetAmountOut returns the value of AmountOut.
func (STONfiSwapAction) GetJettonMasterIn ¶ added in v1.0.0
func (s STONfiSwapAction) GetJettonMasterIn() JettonPreview
GetJettonMasterIn returns the value of JettonMasterIn.
func (STONfiSwapAction) GetJettonMasterOut ¶ added in v1.0.0
func (s STONfiSwapAction) GetJettonMasterOut() JettonPreview
GetJettonMasterOut returns the value of JettonMasterOut.
func (STONfiSwapAction) GetJettonWalletIn ¶ added in v1.0.0
func (s STONfiSwapAction) GetJettonWalletIn() string
GetJettonWalletIn returns the value of JettonWalletIn.
func (STONfiSwapAction) GetJettonWalletOut ¶ added in v1.0.0
func (s STONfiSwapAction) GetJettonWalletOut() string
GetJettonWalletOut returns the value of JettonWalletOut.
func (STONfiSwapAction) GetStonfiRouter ¶ added in v1.0.0
func (s STONfiSwapAction) GetStonfiRouter() AccountAddress
GetStonfiRouter returns the value of StonfiRouter.
func (STONfiSwapAction) GetUserWallet ¶ added in v1.0.0
func (s STONfiSwapAction) GetUserWallet() AccountAddress
GetUserWallet returns the value of UserWallet.
func (STONfiSwapAction) MarshalJSON ¶ added in v1.0.0
func (s STONfiSwapAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*STONfiSwapAction) SetAmountIn ¶ added in v1.0.0
func (s *STONfiSwapAction) SetAmountIn(val string)
SetAmountIn sets the value of AmountIn.
func (*STONfiSwapAction) SetAmountOut ¶ added in v1.0.0
func (s *STONfiSwapAction) SetAmountOut(val string)
SetAmountOut sets the value of AmountOut.
func (*STONfiSwapAction) SetJettonMasterIn ¶ added in v1.0.0
func (s *STONfiSwapAction) SetJettonMasterIn(val JettonPreview)
SetJettonMasterIn sets the value of JettonMasterIn.
func (*STONfiSwapAction) SetJettonMasterOut ¶ added in v1.0.0
func (s *STONfiSwapAction) SetJettonMasterOut(val JettonPreview)
SetJettonMasterOut sets the value of JettonMasterOut.
func (*STONfiSwapAction) SetJettonWalletIn ¶ added in v1.0.0
func (s *STONfiSwapAction) SetJettonWalletIn(val string)
SetJettonWalletIn sets the value of JettonWalletIn.
func (*STONfiSwapAction) SetJettonWalletOut ¶ added in v1.0.0
func (s *STONfiSwapAction) SetJettonWalletOut(val string)
SetJettonWalletOut sets the value of JettonWalletOut.
func (*STONfiSwapAction) SetStonfiRouter ¶ added in v1.0.0
func (s *STONfiSwapAction) SetStonfiRouter(val AccountAddress)
SetStonfiRouter sets the value of StonfiRouter.
func (*STONfiSwapAction) SetUserWallet ¶ added in v1.0.0
func (s *STONfiSwapAction) SetUserWallet(val AccountAddress)
SetUserWallet sets the value of UserWallet.
func (*STONfiSwapAction) UnmarshalJSON ¶ added in v1.0.0
func (s *STONfiSwapAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (STONfiSwapAction) Validate ¶ added in v1.0.0
func (s STONfiSwapAction) Validate() error
type Sale ¶
type Sale struct { Address string `json:"address"` Market AccountAddress `json:"market"` Owner OptAccountAddress `json:"owner"` Price Price `json:"price"` }
Ref: #/components/schemas/Sale
func (Sale) GetMarket ¶
func (s Sale) GetMarket() AccountAddress
GetMarket returns the value of Market.
func (Sale) GetOwner ¶
func (s Sale) GetOwner() OptAccountAddress
GetOwner returns the value of Owner.
func (Sale) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Sale) SetAddress ¶
SetAddress sets the value of Address.
func (*Sale) SetMarket ¶
func (s *Sale) SetMarket(val AccountAddress)
SetMarket sets the value of Market.
func (*Sale) SetOwner ¶
func (s *Sale) SetOwner(val OptAccountAddress)
SetOwner sets the value of Owner.
func (*Sale) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type SendMessageLiteServerOK ¶ added in v1.0.0
type SendMessageLiteServerOK struct {
Code uint32 `json:"code"`
}
func (*SendMessageLiteServerOK) Decode ¶ added in v1.0.0
func (s *SendMessageLiteServerOK) Decode(d *jx.Decoder) error
Decode decodes SendMessageLiteServerOK from json.
func (SendMessageLiteServerOK) Encode ¶ added in v1.0.0
func (s SendMessageLiteServerOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SendMessageLiteServerOK) GetCode ¶ added in v1.0.0
func (s SendMessageLiteServerOK) GetCode() uint32
GetCode returns the value of Code.
func (SendMessageLiteServerOK) MarshalJSON ¶ added in v1.0.0
func (s SendMessageLiteServerOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendMessageLiteServerOK) SetCode ¶ added in v1.0.0
func (s *SendMessageLiteServerOK) SetCode(val uint32)
SetCode sets the value of Code.
func (*SendMessageLiteServerOK) UnmarshalJSON ¶ added in v1.0.0
func (s *SendMessageLiteServerOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SendMessageLiteServerReq ¶ added in v1.0.0
type SendMessageLiteServerReq struct {
Body string `json:"body"`
}
func (*SendMessageLiteServerReq) Decode ¶ added in v1.0.0
func (s *SendMessageLiteServerReq) Decode(d *jx.Decoder) error
Decode decodes SendMessageLiteServerReq from json.
func (SendMessageLiteServerReq) Encode ¶ added in v1.0.0
func (s SendMessageLiteServerReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SendMessageLiteServerReq) GetBody ¶ added in v1.0.0
func (s SendMessageLiteServerReq) GetBody() string
GetBody returns the value of Body.
func (SendMessageLiteServerReq) MarshalJSON ¶ added in v1.0.0
func (s SendMessageLiteServerReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendMessageLiteServerReq) SetBody ¶ added in v1.0.0
func (s *SendMessageLiteServerReq) SetBody(val string)
SetBody sets the value of Body.
func (*SendMessageLiteServerReq) UnmarshalJSON ¶ added in v1.0.0
func (s *SendMessageLiteServerReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SendMessageLiteServerRes ¶ added in v1.0.0
type SendMessageLiteServerRes interface {
// contains filtered or unexported methods
}
type SendMessageOK ¶
type SendMessageOK struct{}
SendMessageOK is response for SendMessage operation.
type SendMessageReq ¶
type SendMessageReq struct {
Boc string `json:"boc"`
}
func (*SendMessageReq) Decode ¶
func (s *SendMessageReq) Decode(d *jx.Decoder) error
Decode decodes SendMessageReq from json.
func (SendMessageReq) Encode ¶
func (s SendMessageReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SendMessageReq) GetBoc ¶
func (s SendMessageReq) GetBoc() string
GetBoc returns the value of Boc.
func (SendMessageReq) MarshalJSON ¶
func (s SendMessageReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendMessageReq) SetBoc ¶
func (s *SendMessageReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*SendMessageReq) UnmarshalJSON ¶
func (s *SendMessageReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SendMessageRes ¶
type SendMessageRes interface {
// contains filtered or unexported methods
}
type Seqno ¶ added in v1.0.0
type Seqno struct {
Seqno uint32 `json:"seqno"`
}
Ref: #/components/schemas/Seqno
func (Seqno) MarshalJSON ¶ added in v1.0.0
MarshalJSON implements stdjson.Marshaler.
func (*Seqno) UnmarshalJSON ¶ added in v1.0.0
UnmarshalJSON implements stdjson.Unmarshaler.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server implements http server based on OpenAPI v3 specification and calls Handler to handle requests.
func NewServer ¶
func NewServer(h Handler, opts ...ServerOption) (*Server, error)
NewServer creates new Server.
type ServerOption ¶
type ServerOption interface {
// contains filtered or unexported methods
}
ServerOption is server config option.
func WithErrorHandler ¶
func WithErrorHandler(h ErrorHandler) ServerOption
WithErrorHandler specifies error handler to use.
func WithMaxMultipartMemory ¶
func WithMaxMultipartMemory(max int64) ServerOption
WithMaxMultipartMemory specifies limit of memory for storing file parts. File parts which can't be stored in memory will be stored on disk in temporary files.
func WithMethodNotAllowed ¶
func WithMethodNotAllowed(methodNotAllowed func(w http.ResponseWriter, r *http.Request, allowed string)) ServerOption
WithMethodNotAllowed specifies Method Not Allowed handler to use.
func WithMiddleware ¶
func WithMiddleware(m ...Middleware) ServerOption
WithMiddleware specifies middlewares to use.
func WithNotFound ¶
func WithNotFound(notFound http.HandlerFunc) ServerOption
WithNotFound specifies Not Found handler to use.
func WithPathPrefix ¶
func WithPathPrefix(prefix string) ServerOption
WithPathPrefix specifies server path prefix.
type SetWalletBackupOK ¶
type SetWalletBackupOK struct{}
SetWalletBackupOK is response for SetWalletBackup operation.
type SetWalletBackupParams ¶
type SetWalletBackupParams struct {
XTonConnectAuth string
}
SetWalletBackupParams is parameters of setWalletBackup operation.
type SetWalletBackupReq ¶
type SetWalletBackupRes ¶
type SetWalletBackupRes interface {
// contains filtered or unexported methods
}
type SmartContractAction ¶
type SmartContractAction struct { Executor AccountAddress `json:"executor"` Contract AccountAddress `json:"contract"` // Amount in nanotons. TonAttached int64 `json:"ton_attached"` Operation string `json:"operation"` Payload OptString `json:"payload"` Refund OptRefund `json:"refund"` }
Ref: #/components/schemas/SmartContractAction
func (*SmartContractAction) Decode ¶
func (s *SmartContractAction) Decode(d *jx.Decoder) error
Decode decodes SmartContractAction from json.
func (SmartContractAction) Encode ¶
func (s SmartContractAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SmartContractAction) GetContract ¶
func (s SmartContractAction) GetContract() AccountAddress
GetContract returns the value of Contract.
func (SmartContractAction) GetExecutor ¶
func (s SmartContractAction) GetExecutor() AccountAddress
GetExecutor returns the value of Executor.
func (SmartContractAction) GetOperation ¶
func (s SmartContractAction) GetOperation() string
GetOperation returns the value of Operation.
func (SmartContractAction) GetPayload ¶
func (s SmartContractAction) GetPayload() OptString
GetPayload returns the value of Payload.
func (SmartContractAction) GetRefund ¶
func (s SmartContractAction) GetRefund() OptRefund
GetRefund returns the value of Refund.
func (SmartContractAction) GetTonAttached ¶
func (s SmartContractAction) GetTonAttached() int64
GetTonAttached returns the value of TonAttached.
func (SmartContractAction) MarshalJSON ¶
func (s SmartContractAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SmartContractAction) SetContract ¶
func (s *SmartContractAction) SetContract(val AccountAddress)
SetContract sets the value of Contract.
func (*SmartContractAction) SetExecutor ¶
func (s *SmartContractAction) SetExecutor(val AccountAddress)
SetExecutor sets the value of Executor.
func (*SmartContractAction) SetOperation ¶
func (s *SmartContractAction) SetOperation(val string)
SetOperation sets the value of Operation.
func (*SmartContractAction) SetPayload ¶
func (s *SmartContractAction) SetPayload(val OptString)
SetPayload sets the value of Payload.
func (*SmartContractAction) SetRefund ¶
func (s *SmartContractAction) SetRefund(val OptRefund)
SetRefund sets the value of Refund.
func (*SmartContractAction) SetTonAttached ¶
func (s *SmartContractAction) SetTonAttached(val int64)
SetTonAttached sets the value of TonAttached.
func (*SmartContractAction) UnmarshalJSON ¶
func (s *SmartContractAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (SmartContractAction) Validate ¶
func (s SmartContractAction) Validate() error
type StakingPoolHistoryOK ¶ added in v1.0.0
type StakingPoolHistoryOK struct {
Apy []ApyHistory `json:"apy"`
}
func (*StakingPoolHistoryOK) Decode ¶ added in v1.0.0
func (s *StakingPoolHistoryOK) Decode(d *jx.Decoder) error
Decode decodes StakingPoolHistoryOK from json.
func (StakingPoolHistoryOK) Encode ¶ added in v1.0.0
func (s StakingPoolHistoryOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StakingPoolHistoryOK) GetApy ¶ added in v1.0.0
func (s StakingPoolHistoryOK) GetApy() []ApyHistory
GetApy returns the value of Apy.
func (StakingPoolHistoryOK) MarshalJSON ¶ added in v1.0.0
func (s StakingPoolHistoryOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StakingPoolHistoryOK) SetApy ¶ added in v1.0.0
func (s *StakingPoolHistoryOK) SetApy(val []ApyHistory)
SetApy sets the value of Apy.
func (*StakingPoolHistoryOK) UnmarshalJSON ¶ added in v1.0.0
func (s *StakingPoolHistoryOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StakingPoolHistoryOK) Validate ¶ added in v1.0.0
func (s StakingPoolHistoryOK) Validate() error
type StakingPoolHistoryParams ¶ added in v1.0.0
type StakingPoolHistoryParams struct { // Account ID. AccountID string }
StakingPoolHistoryParams is parameters of stakingPoolHistory operation.
type StakingPoolHistoryRes ¶ added in v1.0.0
type StakingPoolHistoryRes interface {
// contains filtered or unexported methods
}
type StakingPoolInfoOK ¶
type StakingPoolInfoOK struct { Implementation PoolImplementation `json:"implementation"` Pool PoolInfo `json:"pool"` }
func (*StakingPoolInfoOK) Decode ¶
func (s *StakingPoolInfoOK) Decode(d *jx.Decoder) error
Decode decodes StakingPoolInfoOK from json.
func (StakingPoolInfoOK) Encode ¶
func (s StakingPoolInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StakingPoolInfoOK) GetImplementation ¶
func (s StakingPoolInfoOK) GetImplementation() PoolImplementation
GetImplementation returns the value of Implementation.
func (StakingPoolInfoOK) GetPool ¶
func (s StakingPoolInfoOK) GetPool() PoolInfo
GetPool returns the value of Pool.
func (StakingPoolInfoOK) MarshalJSON ¶
func (s StakingPoolInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StakingPoolInfoOK) SetImplementation ¶
func (s *StakingPoolInfoOK) SetImplementation(val PoolImplementation)
SetImplementation sets the value of Implementation.
func (*StakingPoolInfoOK) SetPool ¶
func (s *StakingPoolInfoOK) SetPool(val PoolInfo)
SetPool sets the value of Pool.
func (*StakingPoolInfoOK) UnmarshalJSON ¶
func (s *StakingPoolInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StakingPoolInfoOK) Validate ¶
func (s StakingPoolInfoOK) Validate() error
type StakingPoolInfoParams ¶
StakingPoolInfoParams is parameters of stakingPoolInfo operation.
type StakingPoolInfoRes ¶
type StakingPoolInfoRes interface {
// contains filtered or unexported methods
}
type StakingPoolsOK ¶
type StakingPoolsOK struct { Pools []PoolInfo `json:"pools"` Implementations StakingPoolsOKImplementations `json:"implementations"` }
func (*StakingPoolsOK) Decode ¶
func (s *StakingPoolsOK) Decode(d *jx.Decoder) error
Decode decodes StakingPoolsOK from json.
func (StakingPoolsOK) Encode ¶
func (s StakingPoolsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StakingPoolsOK) GetImplementations ¶
func (s StakingPoolsOK) GetImplementations() StakingPoolsOKImplementations
GetImplementations returns the value of Implementations.
func (StakingPoolsOK) GetPools ¶
func (s StakingPoolsOK) GetPools() []PoolInfo
GetPools returns the value of Pools.
func (StakingPoolsOK) MarshalJSON ¶
func (s StakingPoolsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StakingPoolsOK) SetImplementations ¶
func (s *StakingPoolsOK) SetImplementations(val StakingPoolsOKImplementations)
SetImplementations sets the value of Implementations.
func (*StakingPoolsOK) SetPools ¶
func (s *StakingPoolsOK) SetPools(val []PoolInfo)
SetPools sets the value of Pools.
func (*StakingPoolsOK) UnmarshalJSON ¶
func (s *StakingPoolsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StakingPoolsOK) Validate ¶
func (s StakingPoolsOK) Validate() error
type StakingPoolsOKImplementations ¶
type StakingPoolsOKImplementations map[string]PoolImplementation
func (*StakingPoolsOKImplementations) Decode ¶
func (s *StakingPoolsOKImplementations) Decode(d *jx.Decoder) error
Decode decodes StakingPoolsOKImplementations from json.
func (StakingPoolsOKImplementations) Encode ¶
func (s StakingPoolsOKImplementations) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StakingPoolsOKImplementations) MarshalJSON ¶
func (s StakingPoolsOKImplementations) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StakingPoolsOKImplementations) UnmarshalJSON ¶
func (s *StakingPoolsOKImplementations) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type StakingPoolsParams ¶
type StakingPoolsParams struct { // Account ID. AvailableFor OptString // Return also pools not from white list - just compatible by interfaces (maybe dangerous!). IncludeUnverified OptBool AcceptLanguage OptString }
StakingPoolsParams is parameters of stakingPools operation.
type StakingPoolsRes ¶
type StakingPoolsRes interface {
// contains filtered or unexported methods
}
type StateInit ¶
type StateInit struct {
Boc string `json:"boc"`
}
Ref: #/components/schemas/StateInit
func (StateInit) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*StateInit) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type StoragePhase ¶
type StoragePhase struct { FeesCollected int64 `json:"fees_collected"` FeesDue OptInt64 `json:"fees_due"` StatusChange AccStatusChange `json:"status_change"` }
Ref: #/components/schemas/StoragePhase
func (*StoragePhase) Decode ¶
func (s *StoragePhase) Decode(d *jx.Decoder) error
Decode decodes StoragePhase from json.
func (StoragePhase) Encode ¶
func (s StoragePhase) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StoragePhase) GetFeesCollected ¶
func (s StoragePhase) GetFeesCollected() int64
GetFeesCollected returns the value of FeesCollected.
func (StoragePhase) GetFeesDue ¶
func (s StoragePhase) GetFeesDue() OptInt64
GetFeesDue returns the value of FeesDue.
func (StoragePhase) GetStatusChange ¶
func (s StoragePhase) GetStatusChange() AccStatusChange
GetStatusChange returns the value of StatusChange.
func (StoragePhase) MarshalJSON ¶
func (s StoragePhase) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StoragePhase) SetFeesCollected ¶
func (s *StoragePhase) SetFeesCollected(val int64)
SetFeesCollected sets the value of FeesCollected.
func (*StoragePhase) SetFeesDue ¶
func (s *StoragePhase) SetFeesDue(val OptInt64)
SetFeesDue sets the value of FeesDue.
func (*StoragePhase) SetStatusChange ¶
func (s *StoragePhase) SetStatusChange(val AccStatusChange)
SetStatusChange sets the value of StatusChange.
func (*StoragePhase) UnmarshalJSON ¶
func (s *StoragePhase) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (StoragePhase) Validate ¶
func (s StoragePhase) Validate() error
type StorageProvider ¶
type StorageProvider struct { Address string `json:"address"` AcceptNewContracts bool `json:"accept_new_contracts"` RatePerMBDay int64 `json:"rate_per_mb_day"` MaxSpan int64 `json:"max_span"` MinimalFileSize int64 `json:"minimal_file_size"` MaximalFileSize int64 `json:"maximal_file_size"` }
Ref: #/components/schemas/StorageProvider
func (*StorageProvider) Decode ¶
func (s *StorageProvider) Decode(d *jx.Decoder) error
Decode decodes StorageProvider from json.
func (StorageProvider) Encode ¶
func (s StorageProvider) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (StorageProvider) GetAcceptNewContracts ¶
func (s StorageProvider) GetAcceptNewContracts() bool
GetAcceptNewContracts returns the value of AcceptNewContracts.
func (StorageProvider) GetAddress ¶
func (s StorageProvider) GetAddress() string
GetAddress returns the value of Address.
func (StorageProvider) GetMaxSpan ¶
func (s StorageProvider) GetMaxSpan() int64
GetMaxSpan returns the value of MaxSpan.
func (StorageProvider) GetMaximalFileSize ¶
func (s StorageProvider) GetMaximalFileSize() int64
GetMaximalFileSize returns the value of MaximalFileSize.
func (StorageProvider) GetMinimalFileSize ¶
func (s StorageProvider) GetMinimalFileSize() int64
GetMinimalFileSize returns the value of MinimalFileSize.
func (StorageProvider) GetRatePerMBDay ¶
func (s StorageProvider) GetRatePerMBDay() int64
GetRatePerMBDay returns the value of RatePerMBDay.
func (StorageProvider) MarshalJSON ¶
func (s StorageProvider) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*StorageProvider) SetAcceptNewContracts ¶
func (s *StorageProvider) SetAcceptNewContracts(val bool)
SetAcceptNewContracts sets the value of AcceptNewContracts.
func (*StorageProvider) SetAddress ¶
func (s *StorageProvider) SetAddress(val string)
SetAddress sets the value of Address.
func (*StorageProvider) SetMaxSpan ¶
func (s *StorageProvider) SetMaxSpan(val int64)
SetMaxSpan sets the value of MaxSpan.
func (*StorageProvider) SetMaximalFileSize ¶
func (s *StorageProvider) SetMaximalFileSize(val int64)
SetMaximalFileSize sets the value of MaximalFileSize.
func (*StorageProvider) SetMinimalFileSize ¶
func (s *StorageProvider) SetMinimalFileSize(val int64)
SetMinimalFileSize sets the value of MinimalFileSize.
func (*StorageProvider) SetRatePerMBDay ¶
func (s *StorageProvider) SetRatePerMBDay(val int64)
SetRatePerMBDay sets the value of RatePerMBDay.
func (*StorageProvider) UnmarshalJSON ¶
func (s *StorageProvider) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Subscription ¶
type Subscription struct { Address string `json:"address"` WalletAddress string `json:"wallet_address"` BeneficiaryAddress string `json:"beneficiary_address"` Amount int64 `json:"amount"` Period int64 `json:"period"` StartTime int64 `json:"start_time"` Timeout int64 `json:"timeout"` LastPaymentTime int64 `json:"last_payment_time"` LastRequestTime int64 `json:"last_request_time"` SubscriptionID int64 `json:"subscription_id"` FailedAttempts int32 `json:"failed_attempts"` }
Ref: #/components/schemas/Subscription
func (*Subscription) Decode ¶
func (s *Subscription) Decode(d *jx.Decoder) error
Decode decodes Subscription from json.
func (Subscription) Encode ¶
func (s Subscription) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Subscription) GetAddress ¶
func (s Subscription) GetAddress() string
GetAddress returns the value of Address.
func (Subscription) GetAmount ¶
func (s Subscription) GetAmount() int64
GetAmount returns the value of Amount.
func (Subscription) GetBeneficiaryAddress ¶
func (s Subscription) GetBeneficiaryAddress() string
GetBeneficiaryAddress returns the value of BeneficiaryAddress.
func (Subscription) GetFailedAttempts ¶
func (s Subscription) GetFailedAttempts() int32
GetFailedAttempts returns the value of FailedAttempts.
func (Subscription) GetLastPaymentTime ¶
func (s Subscription) GetLastPaymentTime() int64
GetLastPaymentTime returns the value of LastPaymentTime.
func (Subscription) GetLastRequestTime ¶
func (s Subscription) GetLastRequestTime() int64
GetLastRequestTime returns the value of LastRequestTime.
func (Subscription) GetPeriod ¶
func (s Subscription) GetPeriod() int64
GetPeriod returns the value of Period.
func (Subscription) GetStartTime ¶
func (s Subscription) GetStartTime() int64
GetStartTime returns the value of StartTime.
func (Subscription) GetSubscriptionID ¶
func (s Subscription) GetSubscriptionID() int64
GetSubscriptionID returns the value of SubscriptionID.
func (Subscription) GetTimeout ¶
func (s Subscription) GetTimeout() int64
GetTimeout returns the value of Timeout.
func (Subscription) GetWalletAddress ¶
func (s Subscription) GetWalletAddress() string
GetWalletAddress returns the value of WalletAddress.
func (Subscription) MarshalJSON ¶
func (s Subscription) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Subscription) SetAddress ¶
func (s *Subscription) SetAddress(val string)
SetAddress sets the value of Address.
func (*Subscription) SetAmount ¶
func (s *Subscription) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*Subscription) SetBeneficiaryAddress ¶
func (s *Subscription) SetBeneficiaryAddress(val string)
SetBeneficiaryAddress sets the value of BeneficiaryAddress.
func (*Subscription) SetFailedAttempts ¶
func (s *Subscription) SetFailedAttempts(val int32)
SetFailedAttempts sets the value of FailedAttempts.
func (*Subscription) SetLastPaymentTime ¶
func (s *Subscription) SetLastPaymentTime(val int64)
SetLastPaymentTime sets the value of LastPaymentTime.
func (*Subscription) SetLastRequestTime ¶
func (s *Subscription) SetLastRequestTime(val int64)
SetLastRequestTime sets the value of LastRequestTime.
func (*Subscription) SetPeriod ¶
func (s *Subscription) SetPeriod(val int64)
SetPeriod sets the value of Period.
func (*Subscription) SetStartTime ¶
func (s *Subscription) SetStartTime(val int64)
SetStartTime sets the value of StartTime.
func (*Subscription) SetSubscriptionID ¶
func (s *Subscription) SetSubscriptionID(val int64)
SetSubscriptionID sets the value of SubscriptionID.
func (*Subscription) SetTimeout ¶
func (s *Subscription) SetTimeout(val int64)
SetTimeout sets the value of Timeout.
func (*Subscription) SetWalletAddress ¶
func (s *Subscription) SetWalletAddress(val string)
SetWalletAddress sets the value of WalletAddress.
func (*Subscription) UnmarshalJSON ¶
func (s *Subscription) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SubscriptionAction ¶
type SubscriptionAction struct { Subscriber AccountAddress `json:"subscriber"` Subscription string `json:"subscription"` Beneficiary AccountAddress `json:"beneficiary"` Amount int64 `json:"amount"` Initial bool `json:"initial"` }
Ref: #/components/schemas/SubscriptionAction
func (*SubscriptionAction) Decode ¶
func (s *SubscriptionAction) Decode(d *jx.Decoder) error
Decode decodes SubscriptionAction from json.
func (SubscriptionAction) Encode ¶
func (s SubscriptionAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (SubscriptionAction) GetAmount ¶
func (s SubscriptionAction) GetAmount() int64
GetAmount returns the value of Amount.
func (SubscriptionAction) GetBeneficiary ¶
func (s SubscriptionAction) GetBeneficiary() AccountAddress
GetBeneficiary returns the value of Beneficiary.
func (SubscriptionAction) GetInitial ¶
func (s SubscriptionAction) GetInitial() bool
GetInitial returns the value of Initial.
func (SubscriptionAction) GetSubscriber ¶
func (s SubscriptionAction) GetSubscriber() AccountAddress
GetSubscriber returns the value of Subscriber.
func (SubscriptionAction) GetSubscription ¶
func (s SubscriptionAction) GetSubscription() string
GetSubscription returns the value of Subscription.
func (SubscriptionAction) MarshalJSON ¶
func (s SubscriptionAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SubscriptionAction) SetAmount ¶
func (s *SubscriptionAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*SubscriptionAction) SetBeneficiary ¶
func (s *SubscriptionAction) SetBeneficiary(val AccountAddress)
SetBeneficiary sets the value of Beneficiary.
func (*SubscriptionAction) SetInitial ¶
func (s *SubscriptionAction) SetInitial(val bool)
SetInitial sets the value of Initial.
func (*SubscriptionAction) SetSubscriber ¶
func (s *SubscriptionAction) SetSubscriber(val AccountAddress)
SetSubscriber sets the value of Subscriber.
func (*SubscriptionAction) SetSubscription ¶
func (s *SubscriptionAction) SetSubscription(val string)
SetSubscription sets the value of Subscription.
func (*SubscriptionAction) UnmarshalJSON ¶
func (s *SubscriptionAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Subscriptions ¶
type Subscriptions struct {
Subscriptions []Subscription `json:"subscriptions"`
}
Ref: #/components/schemas/Subscriptions
func (*Subscriptions) Decode ¶
func (s *Subscriptions) Decode(d *jx.Decoder) error
Decode decodes Subscriptions from json.
func (Subscriptions) Encode ¶
func (s Subscriptions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Subscriptions) GetSubscriptions ¶
func (s Subscriptions) GetSubscriptions() []Subscription
GetSubscriptions returns the value of Subscriptions.
func (Subscriptions) MarshalJSON ¶
func (s Subscriptions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Subscriptions) SetSubscriptions ¶
func (s *Subscriptions) SetSubscriptions(val []Subscription)
SetSubscriptions sets the value of Subscriptions.
func (*Subscriptions) UnmarshalJSON ¶
func (s *Subscriptions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (Subscriptions) Validate ¶
func (s Subscriptions) Validate() error
type TonConnectProofOK ¶
type TonConnectProofOK struct {
Token string `json:"token"`
}
func (*TonConnectProofOK) Decode ¶
func (s *TonConnectProofOK) Decode(d *jx.Decoder) error
Decode decodes TonConnectProofOK from json.
func (TonConnectProofOK) Encode ¶
func (s TonConnectProofOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TonConnectProofOK) GetToken ¶
func (s TonConnectProofOK) GetToken() string
GetToken returns the value of Token.
func (TonConnectProofOK) MarshalJSON ¶
func (s TonConnectProofOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TonConnectProofOK) SetToken ¶
func (s *TonConnectProofOK) SetToken(val string)
SetToken sets the value of Token.
func (*TonConnectProofOK) UnmarshalJSON ¶
func (s *TonConnectProofOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TonConnectProofReq ¶
type TonConnectProofReq struct { Address string `json:"address"` Proof TonConnectProofReqProof `json:"proof"` }
func (*TonConnectProofReq) Decode ¶
func (s *TonConnectProofReq) Decode(d *jx.Decoder) error
Decode decodes TonConnectProofReq from json.
func (TonConnectProofReq) Encode ¶
func (s TonConnectProofReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TonConnectProofReq) GetAddress ¶
func (s TonConnectProofReq) GetAddress() string
GetAddress returns the value of Address.
func (TonConnectProofReq) GetProof ¶
func (s TonConnectProofReq) GetProof() TonConnectProofReqProof
GetProof returns the value of Proof.
func (TonConnectProofReq) MarshalJSON ¶
func (s TonConnectProofReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TonConnectProofReq) SetAddress ¶
func (s *TonConnectProofReq) SetAddress(val string)
SetAddress sets the value of Address.
func (*TonConnectProofReq) SetProof ¶
func (s *TonConnectProofReq) SetProof(val TonConnectProofReqProof)
SetProof sets the value of Proof.
func (*TonConnectProofReq) UnmarshalJSON ¶
func (s *TonConnectProofReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TonConnectProofReqProof ¶
type TonConnectProofReqProof struct { Timestamp int64 `json:"timestamp"` Domain TonConnectProofReqProofDomain `json:"domain"` Signature string `json:"signature"` Payload string `json:"payload"` StateInit OptString `json:"state_init"` }
func (*TonConnectProofReqProof) Decode ¶
func (s *TonConnectProofReqProof) Decode(d *jx.Decoder) error
Decode decodes TonConnectProofReqProof from json.
func (TonConnectProofReqProof) Encode ¶
func (s TonConnectProofReqProof) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TonConnectProofReqProof) GetDomain ¶
func (s TonConnectProofReqProof) GetDomain() TonConnectProofReqProofDomain
GetDomain returns the value of Domain.
func (TonConnectProofReqProof) GetPayload ¶
func (s TonConnectProofReqProof) GetPayload() string
GetPayload returns the value of Payload.
func (TonConnectProofReqProof) GetSignature ¶
func (s TonConnectProofReqProof) GetSignature() string
GetSignature returns the value of Signature.
func (TonConnectProofReqProof) GetStateInit ¶
func (s TonConnectProofReqProof) GetStateInit() OptString
GetStateInit returns the value of StateInit.
func (TonConnectProofReqProof) GetTimestamp ¶
func (s TonConnectProofReqProof) GetTimestamp() int64
GetTimestamp returns the value of Timestamp.
func (TonConnectProofReqProof) MarshalJSON ¶
func (s TonConnectProofReqProof) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TonConnectProofReqProof) SetDomain ¶
func (s *TonConnectProofReqProof) SetDomain(val TonConnectProofReqProofDomain)
SetDomain sets the value of Domain.
func (*TonConnectProofReqProof) SetPayload ¶
func (s *TonConnectProofReqProof) SetPayload(val string)
SetPayload sets the value of Payload.
func (*TonConnectProofReqProof) SetSignature ¶
func (s *TonConnectProofReqProof) SetSignature(val string)
SetSignature sets the value of Signature.
func (*TonConnectProofReqProof) SetStateInit ¶
func (s *TonConnectProofReqProof) SetStateInit(val OptString)
SetStateInit sets the value of StateInit.
func (*TonConnectProofReqProof) SetTimestamp ¶
func (s *TonConnectProofReqProof) SetTimestamp(val int64)
SetTimestamp sets the value of Timestamp.
func (*TonConnectProofReqProof) UnmarshalJSON ¶
func (s *TonConnectProofReqProof) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TonConnectProofReqProofDomain ¶
type TonConnectProofReqProofDomain struct { LengthBytes OptUint32 `json:"length_bytes"` Value string `json:"value"` }
func (*TonConnectProofReqProofDomain) Decode ¶
func (s *TonConnectProofReqProofDomain) Decode(d *jx.Decoder) error
Decode decodes TonConnectProofReqProofDomain from json.
func (TonConnectProofReqProofDomain) Encode ¶
func (s TonConnectProofReqProofDomain) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TonConnectProofReqProofDomain) GetLengthBytes ¶
func (s TonConnectProofReqProofDomain) GetLengthBytes() OptUint32
GetLengthBytes returns the value of LengthBytes.
func (TonConnectProofReqProofDomain) GetValue ¶
func (s TonConnectProofReqProofDomain) GetValue() string
GetValue returns the value of Value.
func (TonConnectProofReqProofDomain) MarshalJSON ¶
func (s TonConnectProofReqProofDomain) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TonConnectProofReqProofDomain) SetLengthBytes ¶
func (s *TonConnectProofReqProofDomain) SetLengthBytes(val OptUint32)
SetLengthBytes sets the value of LengthBytes.
func (*TonConnectProofReqProofDomain) SetValue ¶
func (s *TonConnectProofReqProofDomain) SetValue(val string)
SetValue sets the value of Value.
func (*TonConnectProofReqProofDomain) UnmarshalJSON ¶
func (s *TonConnectProofReqProofDomain) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TonConnectProofRes ¶
type TonConnectProofRes interface {
// contains filtered or unexported methods
}
type TonTransferAction ¶
type TonTransferAction struct { Sender AccountAddress `json:"sender"` Recipient AccountAddress `json:"recipient"` // Amount in nanotons. Amount int64 `json:"amount"` Comment OptString `json:"comment"` EncryptedComment OptEncryptedComment `json:"encrypted_comment"` Refund OptRefund `json:"refund"` }
Ref: #/components/schemas/TonTransferAction
func (*TonTransferAction) Decode ¶
func (s *TonTransferAction) Decode(d *jx.Decoder) error
Decode decodes TonTransferAction from json.
func (TonTransferAction) Encode ¶
func (s TonTransferAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TonTransferAction) GetAmount ¶
func (s TonTransferAction) GetAmount() int64
GetAmount returns the value of Amount.
func (TonTransferAction) GetComment ¶
func (s TonTransferAction) GetComment() OptString
GetComment returns the value of Comment.
func (TonTransferAction) GetEncryptedComment ¶ added in v1.0.0
func (s TonTransferAction) GetEncryptedComment() OptEncryptedComment
GetEncryptedComment returns the value of EncryptedComment.
func (TonTransferAction) GetRecipient ¶
func (s TonTransferAction) GetRecipient() AccountAddress
GetRecipient returns the value of Recipient.
func (TonTransferAction) GetRefund ¶
func (s TonTransferAction) GetRefund() OptRefund
GetRefund returns the value of Refund.
func (TonTransferAction) GetSender ¶
func (s TonTransferAction) GetSender() AccountAddress
GetSender returns the value of Sender.
func (TonTransferAction) MarshalJSON ¶
func (s TonTransferAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TonTransferAction) SetAmount ¶
func (s *TonTransferAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*TonTransferAction) SetComment ¶
func (s *TonTransferAction) SetComment(val OptString)
SetComment sets the value of Comment.
func (*TonTransferAction) SetEncryptedComment ¶ added in v1.0.0
func (s *TonTransferAction) SetEncryptedComment(val OptEncryptedComment)
SetEncryptedComment sets the value of EncryptedComment.
func (*TonTransferAction) SetRecipient ¶
func (s *TonTransferAction) SetRecipient(val AccountAddress)
SetRecipient sets the value of Recipient.
func (*TonTransferAction) SetRefund ¶
func (s *TonTransferAction) SetRefund(val OptRefund)
SetRefund sets the value of Refund.
func (*TonTransferAction) SetSender ¶
func (s *TonTransferAction) SetSender(val AccountAddress)
SetSender sets the value of Sender.
func (*TonTransferAction) UnmarshalJSON ¶
func (s *TonTransferAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TonTransferAction) Validate ¶
func (s TonTransferAction) Validate() error
type Trace ¶
type Trace struct { Transaction Transaction `json:"transaction"` Interfaces []string `json:"interfaces"` Children []Trace `json:"children"` }
Ref: #/components/schemas/Trace
func (Trace) GetChildren ¶
GetChildren returns the value of Children.
func (Trace) GetInterfaces ¶
GetInterfaces returns the value of Interfaces.
func (Trace) GetTransaction ¶
func (s Trace) GetTransaction() Transaction
GetTransaction returns the value of Transaction.
func (Trace) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Trace) SetChildren ¶
SetChildren sets the value of Children.
func (*Trace) SetInterfaces ¶
SetInterfaces sets the value of Interfaces.
func (*Trace) SetTransaction ¶
func (s *Trace) SetTransaction(val Transaction)
SetTransaction sets the value of Transaction.
func (*Trace) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type TraceId ¶
Ref: #/components/schemas/TraceId
func (TraceId) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TraceId) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type TraceIds ¶
type TraceIds struct {
Traces []TraceId `json:"traces"`
}
Ref: #/components/schemas/TraceIds
func (TraceIds) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*TraceIds) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Transaction ¶
type Transaction struct { Hash string `json:"hash"` Lt int64 `json:"lt"` Account AccountAddress `json:"account"` Success bool `json:"success"` Utime int64 `json:"utime"` OrigStatus AccountStatus `json:"orig_status"` EndStatus AccountStatus `json:"end_status"` TotalFees int64 `json:"total_fees"` TransactionType TransactionType `json:"transaction_type"` StateUpdateOld string `json:"state_update_old"` StateUpdateNew string `json:"state_update_new"` InMsg OptMessage `json:"in_msg"` OutMsgs []Message `json:"out_msgs"` Block string `json:"block"` PrevTransHash OptString `json:"prev_trans_hash"` PrevTransLt OptInt64 `json:"prev_trans_lt"` ComputePhase OptComputePhase `json:"compute_phase"` StoragePhase OptStoragePhase `json:"storage_phase"` CreditPhase OptCreditPhase `json:"credit_phase"` ActionPhase OptActionPhase `json:"action_phase"` BouncePhase OptBouncePhaseType `json:"bounce_phase"` Aborted bool `json:"aborted"` Destroyed bool `json:"destroyed"` }
Ref: #/components/schemas/Transaction
func (*Transaction) Decode ¶
func (s *Transaction) Decode(d *jx.Decoder) error
Decode decodes Transaction from json.
func (Transaction) Encode ¶
func (s Transaction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Transaction) GetAborted ¶
func (s Transaction) GetAborted() bool
GetAborted returns the value of Aborted.
func (Transaction) GetAccount ¶
func (s Transaction) GetAccount() AccountAddress
GetAccount returns the value of Account.
func (Transaction) GetActionPhase ¶
func (s Transaction) GetActionPhase() OptActionPhase
GetActionPhase returns the value of ActionPhase.
func (Transaction) GetBlock ¶
func (s Transaction) GetBlock() string
GetBlock returns the value of Block.
func (Transaction) GetBouncePhase ¶
func (s Transaction) GetBouncePhase() OptBouncePhaseType
GetBouncePhase returns the value of BouncePhase.
func (Transaction) GetComputePhase ¶
func (s Transaction) GetComputePhase() OptComputePhase
GetComputePhase returns the value of ComputePhase.
func (Transaction) GetCreditPhase ¶
func (s Transaction) GetCreditPhase() OptCreditPhase
GetCreditPhase returns the value of CreditPhase.
func (Transaction) GetDestroyed ¶
func (s Transaction) GetDestroyed() bool
GetDestroyed returns the value of Destroyed.
func (Transaction) GetEndStatus ¶
func (s Transaction) GetEndStatus() AccountStatus
GetEndStatus returns the value of EndStatus.
func (Transaction) GetHash ¶
func (s Transaction) GetHash() string
GetHash returns the value of Hash.
func (Transaction) GetInMsg ¶
func (s Transaction) GetInMsg() OptMessage
GetInMsg returns the value of InMsg.
func (Transaction) GetOrigStatus ¶
func (s Transaction) GetOrigStatus() AccountStatus
GetOrigStatus returns the value of OrigStatus.
func (Transaction) GetOutMsgs ¶
func (s Transaction) GetOutMsgs() []Message
GetOutMsgs returns the value of OutMsgs.
func (Transaction) GetPrevTransHash ¶
func (s Transaction) GetPrevTransHash() OptString
GetPrevTransHash returns the value of PrevTransHash.
func (Transaction) GetPrevTransLt ¶
func (s Transaction) GetPrevTransLt() OptInt64
GetPrevTransLt returns the value of PrevTransLt.
func (Transaction) GetStateUpdateNew ¶
func (s Transaction) GetStateUpdateNew() string
GetStateUpdateNew returns the value of StateUpdateNew.
func (Transaction) GetStateUpdateOld ¶
func (s Transaction) GetStateUpdateOld() string
GetStateUpdateOld returns the value of StateUpdateOld.
func (Transaction) GetStoragePhase ¶
func (s Transaction) GetStoragePhase() OptStoragePhase
GetStoragePhase returns the value of StoragePhase.
func (Transaction) GetSuccess ¶
func (s Transaction) GetSuccess() bool
GetSuccess returns the value of Success.
func (Transaction) GetTotalFees ¶
func (s Transaction) GetTotalFees() int64
GetTotalFees returns the value of TotalFees.
func (Transaction) GetTransactionType ¶
func (s Transaction) GetTransactionType() TransactionType
GetTransactionType returns the value of TransactionType.
func (Transaction) GetUtime ¶
func (s Transaction) GetUtime() int64
GetUtime returns the value of Utime.
func (Transaction) MarshalJSON ¶
func (s Transaction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Transaction) SetAborted ¶
func (s *Transaction) SetAborted(val bool)
SetAborted sets the value of Aborted.
func (*Transaction) SetAccount ¶
func (s *Transaction) SetAccount(val AccountAddress)
SetAccount sets the value of Account.
func (*Transaction) SetActionPhase ¶
func (s *Transaction) SetActionPhase(val OptActionPhase)
SetActionPhase sets the value of ActionPhase.
func (*Transaction) SetBlock ¶
func (s *Transaction) SetBlock(val string)
SetBlock sets the value of Block.
func (*Transaction) SetBouncePhase ¶
func (s *Transaction) SetBouncePhase(val OptBouncePhaseType)
SetBouncePhase sets the value of BouncePhase.
func (*Transaction) SetComputePhase ¶
func (s *Transaction) SetComputePhase(val OptComputePhase)
SetComputePhase sets the value of ComputePhase.
func (*Transaction) SetCreditPhase ¶
func (s *Transaction) SetCreditPhase(val OptCreditPhase)
SetCreditPhase sets the value of CreditPhase.
func (*Transaction) SetDestroyed ¶
func (s *Transaction) SetDestroyed(val bool)
SetDestroyed sets the value of Destroyed.
func (*Transaction) SetEndStatus ¶
func (s *Transaction) SetEndStatus(val AccountStatus)
SetEndStatus sets the value of EndStatus.
func (*Transaction) SetHash ¶
func (s *Transaction) SetHash(val string)
SetHash sets the value of Hash.
func (*Transaction) SetInMsg ¶
func (s *Transaction) SetInMsg(val OptMessage)
SetInMsg sets the value of InMsg.
func (*Transaction) SetOrigStatus ¶
func (s *Transaction) SetOrigStatus(val AccountStatus)
SetOrigStatus sets the value of OrigStatus.
func (*Transaction) SetOutMsgs ¶
func (s *Transaction) SetOutMsgs(val []Message)
SetOutMsgs sets the value of OutMsgs.
func (*Transaction) SetPrevTransHash ¶
func (s *Transaction) SetPrevTransHash(val OptString)
SetPrevTransHash sets the value of PrevTransHash.
func (*Transaction) SetPrevTransLt ¶
func (s *Transaction) SetPrevTransLt(val OptInt64)
SetPrevTransLt sets the value of PrevTransLt.
func (*Transaction) SetStateUpdateNew ¶
func (s *Transaction) SetStateUpdateNew(val string)
SetStateUpdateNew sets the value of StateUpdateNew.
func (*Transaction) SetStateUpdateOld ¶
func (s *Transaction) SetStateUpdateOld(val string)
SetStateUpdateOld sets the value of StateUpdateOld.
func (*Transaction) SetStoragePhase ¶
func (s *Transaction) SetStoragePhase(val OptStoragePhase)
SetStoragePhase sets the value of StoragePhase.
func (*Transaction) SetSuccess ¶
func (s *Transaction) SetSuccess(val bool)
SetSuccess sets the value of Success.
func (*Transaction) SetTotalFees ¶
func (s *Transaction) SetTotalFees(val int64)
SetTotalFees sets the value of TotalFees.
func (*Transaction) SetTransactionType ¶
func (s *Transaction) SetTransactionType(val TransactionType)
SetTransactionType sets the value of TransactionType.
func (*Transaction) SetUtime ¶
func (s *Transaction) SetUtime(val int64)
SetUtime sets the value of Utime.
func (*Transaction) UnmarshalJSON ¶
func (s *Transaction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (Transaction) Validate ¶
func (s Transaction) Validate() error
type TransactionType ¶
type TransactionType string
Ref: #/components/schemas/TransactionType
const ( TransactionTypeTransOrd TransactionType = "TransOrd" TransactionTypeTransTickTock TransactionType = "TransTickTock" TransactionTypeTransSplitPrepare TransactionType = "TransSplitPrepare" TransactionTypeTransSplitInstall TransactionType = "TransSplitInstall" TransactionTypeTransMergePrepare TransactionType = "TransMergePrepare" TransactionTypeTransMergeInstall TransactionType = "TransMergeInstall" TransactionTypeTransStorage TransactionType = "TransStorage" )
func (*TransactionType) Decode ¶
func (s *TransactionType) Decode(d *jx.Decoder) error
Decode decodes TransactionType from json.
func (TransactionType) Encode ¶
func (s TransactionType) Encode(e *jx.Encoder)
Encode encodes TransactionType as json.
func (TransactionType) MarshalJSON ¶
func (s TransactionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TransactionType) UnmarshalJSON ¶
func (s *TransactionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TransactionType) Validate ¶
func (s TransactionType) Validate() error
type Transactions ¶
type Transactions struct {
Transactions []Transaction `json:"transactions"`
}
Ref: #/components/schemas/Transactions
func (*Transactions) Decode ¶
func (s *Transactions) Decode(d *jx.Decoder) error
Decode decodes Transactions from json.
func (Transactions) Encode ¶
func (s Transactions) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Transactions) GetTransactions ¶
func (s Transactions) GetTransactions() []Transaction
GetTransactions returns the value of Transactions.
func (Transactions) MarshalJSON ¶
func (s Transactions) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Transactions) SetTransactions ¶
func (s *Transactions) SetTransactions(val []Transaction)
SetTransactions sets the value of Transactions.
func (*Transactions) UnmarshalJSON ¶
func (s *Transactions) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (Transactions) Validate ¶
func (s Transactions) Validate() error
type TvmStackRecord ¶
type TvmStackRecord struct { Type TvmStackRecordType `json:"type"` Cell OptString `json:"cell"` Slice OptString `json:"slice"` Num OptString `json:"num"` Tuple []TvmStackRecord `json:"tuple"` }
Ref: #/components/schemas/TvmStackRecord
func (*TvmStackRecord) Decode ¶
func (s *TvmStackRecord) Decode(d *jx.Decoder) error
Decode decodes TvmStackRecord from json.
func (TvmStackRecord) Encode ¶
func (s TvmStackRecord) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TvmStackRecord) GetCell ¶
func (s TvmStackRecord) GetCell() OptString
GetCell returns the value of Cell.
func (TvmStackRecord) GetNum ¶
func (s TvmStackRecord) GetNum() OptString
GetNum returns the value of Num.
func (TvmStackRecord) GetSlice ¶
func (s TvmStackRecord) GetSlice() OptString
GetSlice returns the value of Slice.
func (TvmStackRecord) GetTuple ¶
func (s TvmStackRecord) GetTuple() []TvmStackRecord
GetTuple returns the value of Tuple.
func (TvmStackRecord) GetType ¶
func (s TvmStackRecord) GetType() TvmStackRecordType
GetType returns the value of Type.
func (TvmStackRecord) MarshalJSON ¶
func (s TvmStackRecord) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TvmStackRecord) SetCell ¶
func (s *TvmStackRecord) SetCell(val OptString)
SetCell sets the value of Cell.
func (*TvmStackRecord) SetNum ¶
func (s *TvmStackRecord) SetNum(val OptString)
SetNum sets the value of Num.
func (*TvmStackRecord) SetSlice ¶
func (s *TvmStackRecord) SetSlice(val OptString)
SetSlice sets the value of Slice.
func (*TvmStackRecord) SetTuple ¶
func (s *TvmStackRecord) SetTuple(val []TvmStackRecord)
SetTuple sets the value of Tuple.
func (*TvmStackRecord) SetType ¶
func (s *TvmStackRecord) SetType(val TvmStackRecordType)
SetType sets the value of Type.
func (*TvmStackRecord) UnmarshalJSON ¶
func (s *TvmStackRecord) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TvmStackRecord) Validate ¶
func (s TvmStackRecord) Validate() error
type TvmStackRecordType ¶
type TvmStackRecordType string
const ( TvmStackRecordTypeCell TvmStackRecordType = "cell" TvmStackRecordTypeNum TvmStackRecordType = "num" TvmStackRecordTypeNan TvmStackRecordType = "nan" TvmStackRecordTypeNull TvmStackRecordType = "null" TvmStackRecordTypeTuple TvmStackRecordType = "tuple" )
func (*TvmStackRecordType) Decode ¶
func (s *TvmStackRecordType) Decode(d *jx.Decoder) error
Decode decodes TvmStackRecordType from json.
func (TvmStackRecordType) Encode ¶
func (s TvmStackRecordType) Encode(e *jx.Encoder)
Encode encodes TvmStackRecordType as json.
func (TvmStackRecordType) MarshalJSON ¶
func (s TvmStackRecordType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TvmStackRecordType) UnmarshalJSON ¶
func (s *TvmStackRecordType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TvmStackRecordType) Validate ¶
func (s TvmStackRecordType) Validate() error
type UnSubscriptionAction ¶
type UnSubscriptionAction struct { Subscriber AccountAddress `json:"subscriber"` Subscription string `json:"subscription"` Beneficiary AccountAddress `json:"beneficiary"` }
Ref: #/components/schemas/UnSubscriptionAction
func (*UnSubscriptionAction) Decode ¶
func (s *UnSubscriptionAction) Decode(d *jx.Decoder) error
Decode decodes UnSubscriptionAction from json.
func (UnSubscriptionAction) Encode ¶
func (s UnSubscriptionAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UnSubscriptionAction) GetBeneficiary ¶
func (s UnSubscriptionAction) GetBeneficiary() AccountAddress
GetBeneficiary returns the value of Beneficiary.
func (UnSubscriptionAction) GetSubscriber ¶
func (s UnSubscriptionAction) GetSubscriber() AccountAddress
GetSubscriber returns the value of Subscriber.
func (UnSubscriptionAction) GetSubscription ¶
func (s UnSubscriptionAction) GetSubscription() string
GetSubscription returns the value of Subscription.
func (UnSubscriptionAction) MarshalJSON ¶
func (s UnSubscriptionAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnSubscriptionAction) SetBeneficiary ¶
func (s *UnSubscriptionAction) SetBeneficiary(val AccountAddress)
SetBeneficiary sets the value of Beneficiary.
func (*UnSubscriptionAction) SetSubscriber ¶
func (s *UnSubscriptionAction) SetSubscriber(val AccountAddress)
SetSubscriber sets the value of Subscriber.
func (*UnSubscriptionAction) SetSubscription ¶
func (s *UnSubscriptionAction) SetSubscription(val string)
SetSubscription sets the value of Subscription.
func (*UnSubscriptionAction) UnmarshalJSON ¶
func (s *UnSubscriptionAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnauthorizedError ¶
type UnauthorizedError struct {
}func (*UnauthorizedError) Decode ¶
func (s *UnauthorizedError) Decode(d *jx.Decoder) error
Decode decodes UnauthorizedError from json.
func (UnauthorizedError) Encode ¶
func (s UnauthorizedError) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (UnauthorizedError) GetError ¶
func (s UnauthorizedError) GetError() string
GetError returns the value of Error.
func (UnauthorizedError) MarshalJSON ¶
func (s UnauthorizedError) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*UnauthorizedError) SetError ¶
func (s *UnauthorizedError) SetError(val string)
SetError sets the value of Error.
func (*UnauthorizedError) UnmarshalJSON ¶
func (s *UnauthorizedError) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type UnimplementedHandler ¶
type UnimplementedHandler struct{}
UnimplementedHandler is no-op Handler which returns http.ErrNotImplemented.
func (UnimplementedHandler) DnsBackResolve ¶
func (UnimplementedHandler) DnsBackResolve(ctx context.Context, params DnsBackResolveParams) (r DnsBackResolveRes, _ error)
DnsBackResolve implements dnsBackResolve operation.
Get domains for wallet account.
GET /v2/accounts/{account_id}/dns/backresolve
func (UnimplementedHandler) DnsInfo ¶
func (UnimplementedHandler) DnsInfo(ctx context.Context, params DnsInfoParams) (r DnsInfoRes, _ error)
DnsInfo implements dnsInfo operation.
Get full information about domain name.
GET /v2/dns/{domain_name}
func (UnimplementedHandler) DnsResolve ¶
func (UnimplementedHandler) DnsResolve(ctx context.Context, params DnsResolveParams) (r DnsResolveRes, _ error)
DnsResolve implements dnsResolve operation.
DNS resolve for domain name.
GET /v2/dns/{domain_name}/resolve
func (UnimplementedHandler) EmulateMessageToAccountEvent ¶
func (UnimplementedHandler) EmulateMessageToAccountEvent(ctx context.Context, req EmulateMessageToAccountEventReq, params EmulateMessageToAccountEventParams) (r EmulateMessageToAccountEventRes, _ error)
EmulateMessageToAccountEvent implements emulateMessageToAccountEvent operation.
Emulate sending message to blockchain.
POST /v2/accounts/{account_id}/events/emulate
func (UnimplementedHandler) EmulateMessageToEvent ¶
func (UnimplementedHandler) EmulateMessageToEvent(ctx context.Context, req EmulateMessageToEventReq, params EmulateMessageToEventParams) (r EmulateMessageToEventRes, _ error)
EmulateMessageToEvent implements emulateMessageToEvent operation.
Emulate sending message to blockchain.
POST /v2/events/emulate
func (UnimplementedHandler) EmulateMessageToTrace ¶
func (UnimplementedHandler) EmulateMessageToTrace(ctx context.Context, req EmulateMessageToTraceReq) (r EmulateMessageToTraceRes, _ error)
EmulateMessageToTrace implements emulateMessageToTrace operation.
Emulate sending message to blockchain.
POST /v2/traces/emulate
func (UnimplementedHandler) EmulateWalletMessage ¶
func (UnimplementedHandler) EmulateWalletMessage(ctx context.Context, req EmulateWalletMessageReq, params EmulateWalletMessageParams) (r EmulateWalletMessageRes, _ error)
EmulateWalletMessage implements emulateWalletMessage operation.
Emulate sending message to blockchain.
POST /v2/wallet/emulate
func (UnimplementedHandler) ExecGetMethod ¶
func (UnimplementedHandler) ExecGetMethod(ctx context.Context, params ExecGetMethodParams) (r ExecGetMethodRes, _ error)
ExecGetMethod implements execGetMethod operation.
Execute get method for account.
GET /v2/blockchain/accounts/{account_id}/methods/{method_name}
func (UnimplementedHandler) GetAccount ¶
func (UnimplementedHandler) GetAccount(ctx context.Context, params GetAccountParams) (r GetAccountRes, _ error)
GetAccount implements getAccount operation.
Get human-friendly information about an account without low-level details.
GET /v2/accounts/{account_id}
func (UnimplementedHandler) GetAccountInfoByStateInit ¶
func (UnimplementedHandler) GetAccountInfoByStateInit(ctx context.Context, req GetAccountInfoByStateInitReq) (r GetAccountInfoByStateInitRes, _ error)
GetAccountInfoByStateInit implements getAccountInfoByStateInit operation.
Get account info by state init.
POST /v2/tonconnect/stateinit
func (UnimplementedHandler) GetAccountSeqno ¶ added in v1.0.0
func (UnimplementedHandler) GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (r GetAccountSeqnoRes, _ error)
GetAccountSeqno implements getAccountSeqno operation.
Get account seqno.
GET /v2/wallet/{account_id}/seqno
func (UnimplementedHandler) GetAccountStateLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetAccountStateLiteServer(ctx context.Context, params GetAccountStateLiteServerParams) (r GetAccountStateLiteServerRes, _ error)
GetAccountStateLiteServer implements getAccountStateLiteServer operation.
Get account state.
GET /v2/liteserver/get_account_state/{account_id}
func (UnimplementedHandler) GetAccountTransactions ¶
func (UnimplementedHandler) GetAccountTransactions(ctx context.Context, params GetAccountTransactionsParams) (r GetAccountTransactionsRes, _ error)
GetAccountTransactions implements getAccountTransactions operation.
Get account transactions.
GET /v2/blockchain/accounts/{account_id}/transactions
func (UnimplementedHandler) GetAccounts ¶
func (UnimplementedHandler) GetAccounts(ctx context.Context, req OptGetAccountsReq) (r GetAccountsRes, _ error)
GetAccounts implements getAccounts operation.
Get human-friendly information about several accounts without low-level details.
POST /v2/accounts/_bulk
func (UnimplementedHandler) GetAllAuctions ¶
func (UnimplementedHandler) GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (r GetAllAuctionsRes, _ error)
GetAllAuctions implements getAllAuctions operation.
Get all auctions.
GET /v2/dns/auctions
func (UnimplementedHandler) GetAllShardsInfoLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetAllShardsInfoLiteServer(ctx context.Context, params GetAllShardsInfoLiteServerParams) (r GetAllShardsInfoLiteServerRes, _ error)
GetAllShardsInfoLiteServer implements getAllShardsInfoLiteServer operation.
Get all shards info.
GET /v2/liteserver/get_all_shards_info/{block_id}
func (UnimplementedHandler) GetBlock ¶
func (UnimplementedHandler) GetBlock(ctx context.Context, params GetBlockParams) (r GetBlockRes, _ error)
GetBlock implements getBlock operation.
Get block data.
GET /v2/blockchain/blocks/{block_id}
func (UnimplementedHandler) GetBlockHeaderLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetBlockHeaderLiteServer(ctx context.Context, params GetBlockHeaderLiteServerParams) (r GetBlockHeaderLiteServerRes, _ error)
GetBlockHeaderLiteServer implements getBlockHeaderLiteServer operation.
Get block header.
GET /v2/liteserver/get_block_header/{block_id}
func (UnimplementedHandler) GetBlockLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetBlockLiteServer(ctx context.Context, params GetBlockLiteServerParams) (r GetBlockLiteServerRes, _ error)
GetBlockLiteServer implements getBlockLiteServer operation.
Get block.
GET /v2/liteserver/get_block/{block_id}
func (UnimplementedHandler) GetBlockProofLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetBlockProofLiteServer(ctx context.Context, params GetBlockProofLiteServerParams) (r GetBlockProofLiteServerRes, _ error)
GetBlockProofLiteServer implements getBlockProofLiteServer operation.
Get block proof.
GET /v2/liteserver/get_block_proof
func (UnimplementedHandler) GetBlockTransactions ¶
func (UnimplementedHandler) GetBlockTransactions(ctx context.Context, params GetBlockTransactionsParams) (r GetBlockTransactionsRes, _ error)
GetBlockTransactions implements getBlockTransactions operation.
Get transactions from block.
GET /v2/blockchain/blocks/{block_id}/transactions
func (UnimplementedHandler) GetConfig ¶
func (UnimplementedHandler) GetConfig(ctx context.Context) (r GetConfigRes, _ error)
GetConfig implements getConfig operation.
Get blockchain config.
GET /v2/blockchain/config
func (UnimplementedHandler) GetConfigAllLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetConfigAllLiteServer(ctx context.Context, params GetConfigAllLiteServerParams) (r GetConfigAllLiteServerRes, _ error)
GetConfigAllLiteServer implements getConfigAllLiteServer operation.
Get config all.
GET /v2/liteserver/get_config_all/{block_id}
func (UnimplementedHandler) GetDnsExpiring ¶
func (UnimplementedHandler) GetDnsExpiring(ctx context.Context, params GetDnsExpiringParams) (r GetDnsExpiringRes, _ error)
GetDnsExpiring implements getDnsExpiring operation.
Get expiring .ton dns.
GET /v2/accounts/{account_id}/dns/expiring
func (UnimplementedHandler) GetDomainBids ¶
func (UnimplementedHandler) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (r GetDomainBidsRes, _ error)
GetDomainBids implements getDomainBids operation.
Get domain bids.
GET /v2/dns/{domain_name}/bids
func (UnimplementedHandler) GetEvent ¶
func (UnimplementedHandler) GetEvent(ctx context.Context, params GetEventParams) (r GetEventRes, _ error)
GetEvent implements getEvent operation.
Get an event either by event ID or a hash of any transaction in a trace. An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
GET /v2/events/{event_id}
func (UnimplementedHandler) GetEventsByAccount ¶
func (UnimplementedHandler) GetEventsByAccount(ctx context.Context, params GetEventsByAccountParams) (r GetEventsByAccountRes, _ error)
GetEventsByAccount implements getEventsByAccount operation.
Get events for an account. Each event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.
GET /v2/accounts/{account_id}/events
func (UnimplementedHandler) GetItemsFromCollection ¶
func (UnimplementedHandler) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (r GetItemsFromCollectionRes, _ error)
GetItemsFromCollection implements getItemsFromCollection operation.
Get NFT items from collection by collection address.
GET /v2/nfts/collections/{account_id}/items
func (UnimplementedHandler) GetJettonInfo ¶
func (UnimplementedHandler) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (r GetJettonInfoRes, _ error)
GetJettonInfo implements getJettonInfo operation.
Get jetton metadata by jetton master address.
GET /v2/jettons/{account_id}
func (UnimplementedHandler) GetJettons ¶ added in v1.0.0
func (UnimplementedHandler) GetJettons(ctx context.Context, params GetJettonsParams) (r GetJettonsRes, _ error)
GetJettons implements getJettons operation.
Get a list of all indexed jetton masters in the blockchain.
GET /v2/jettons
func (UnimplementedHandler) GetJettonsBalances ¶
func (UnimplementedHandler) GetJettonsBalances(ctx context.Context, params GetJettonsBalancesParams) (r GetJettonsBalancesRes, _ error)
GetJettonsBalances implements getJettonsBalances operation.
Get all Jettons balances by owner address.
GET /v2/accounts/{account_id}/jettons
func (UnimplementedHandler) GetJettonsHistory ¶
func (UnimplementedHandler) GetJettonsHistory(ctx context.Context, params GetJettonsHistoryParams) (r GetJettonsHistoryRes, _ error)
GetJettonsHistory implements getJettonsHistory operation.
Get the transfer jettons history for account_id.
GET /v2/accounts/{account_id}/jettons/history
func (UnimplementedHandler) GetJettonsHistoryByID ¶
func (UnimplementedHandler) GetJettonsHistoryByID(ctx context.Context, params GetJettonsHistoryByIDParams) (r GetJettonsHistoryByIDRes, _ error)
GetJettonsHistoryByID implements getJettonsHistoryByID operation.
Get the transfer jetton history for account_id and jetton_id.
GET /v2/accounts/{account_id}/jettons/{jetton_id}/history
func (UnimplementedHandler) GetListBlockTransactionsLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetListBlockTransactionsLiteServer(ctx context.Context, params GetListBlockTransactionsLiteServerParams) (r GetListBlockTransactionsLiteServerRes, _ error)
GetListBlockTransactionsLiteServer implements getListBlockTransactionsLiteServer operation.
Get list block transactions.
GET /v2/liteserver/list_block_transactions/{block_id}
func (UnimplementedHandler) GetMasterchainHead ¶
func (UnimplementedHandler) GetMasterchainHead(ctx context.Context) (r GetMasterchainHeadRes, _ error)
GetMasterchainHead implements getMasterchainHead operation.
Get last known masterchain block.
GET /v2/blockchain/masterchain-head
func (UnimplementedHandler) GetMasterchainInfoExtLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetMasterchainInfoExtLiteServer(ctx context.Context, params GetMasterchainInfoExtLiteServerParams) (r GetMasterchainInfoExtLiteServerRes, _ error)
GetMasterchainInfoExtLiteServer implements getMasterchainInfoExtLiteServer operation.
Get masterchain info ext.
GET /v2/liteserver/get_masterchain_info_ext
func (UnimplementedHandler) GetMasterchainInfoLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetMasterchainInfoLiteServer(ctx context.Context) (r GetMasterchainInfoLiteServerRes, _ error)
GetMasterchainInfoLiteServer implements getMasterchainInfoLiteServer operation.
Get masterchain info.
GET /v2/liteserver/get_masterchain_info
func (UnimplementedHandler) GetNftCollection ¶
func (UnimplementedHandler) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (r GetNftCollectionRes, _ error)
GetNftCollection implements getNftCollection operation.
Get NFT collection by collection address.
GET /v2/nfts/collections/{account_id}
func (UnimplementedHandler) GetNftCollections ¶
func (UnimplementedHandler) GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (r GetNftCollectionsRes, _ error)
GetNftCollections implements getNftCollections operation.
Get NFT collections.
GET /v2/nfts/collections
func (UnimplementedHandler) GetNftItemByAddress ¶
func (UnimplementedHandler) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (r GetNftItemByAddressRes, _ error)
GetNftItemByAddress implements getNftItemByAddress operation.
Get NFT item by its address.
GET /v2/nfts/{account_id}
func (UnimplementedHandler) GetNftItemsByAddresses ¶
func (UnimplementedHandler) GetNftItemsByAddresses(ctx context.Context, req OptGetNftItemsByAddressesReq) (r GetNftItemsByAddressesRes, _ error)
GetNftItemsByAddresses implements getNftItemsByAddresses operation.
Get NFT items by their addresses.
POST /v2/nfts/_bulk
func (UnimplementedHandler) GetNftItemsByOwner ¶
func (UnimplementedHandler) GetNftItemsByOwner(ctx context.Context, params GetNftItemsByOwnerParams) (r GetNftItemsByOwnerRes, _ error)
GetNftItemsByOwner implements getNftItemsByOwner operation.
Get all NFT items by owner address.
GET /v2/accounts/{account_id}/nfts
func (UnimplementedHandler) GetPublicKeyByAccountID ¶
func (UnimplementedHandler) GetPublicKeyByAccountID(ctx context.Context, params GetPublicKeyByAccountIDParams) (r GetPublicKeyByAccountIDRes, _ error)
GetPublicKeyByAccountID implements getPublicKeyByAccountID operation.
Get public key by account id.
GET /v2/accounts/{account_id}/publickey
func (UnimplementedHandler) GetRates ¶
func (UnimplementedHandler) GetRates(ctx context.Context, params GetRatesParams) (r GetRatesRes, _ error)
GetRates implements getRates operation.
Get the token price to the currency.
GET /v2/rates
func (UnimplementedHandler) GetRawAccount ¶
func (UnimplementedHandler) GetRawAccount(ctx context.Context, params GetRawAccountParams) (r GetRawAccountRes, _ error)
GetRawAccount implements getRawAccount operation.
Get low-level information about an account taken directly from the blockchain.
GET /v2/blockchain/accounts/{account_id}
func (UnimplementedHandler) GetSearchAccounts ¶
func (UnimplementedHandler) GetSearchAccounts(ctx context.Context, params GetSearchAccountsParams) (r GetSearchAccountsRes, _ error)
GetSearchAccounts implements getSearchAccounts operation.
Search for accounts by name. You can find the account by the first characters of the domain.
GET /v2/accounts/search
func (UnimplementedHandler) GetShardBlockProofLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetShardBlockProofLiteServer(ctx context.Context, params GetShardBlockProofLiteServerParams) (r GetShardBlockProofLiteServerRes, _ error)
GetShardBlockProofLiteServer implements getShardBlockProofLiteServer operation.
Get shard block proof.
GET /v2/liteserver/get_shard_block_proof/{block_id}
func (UnimplementedHandler) GetShardInfoLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetShardInfoLiteServer(ctx context.Context, params GetShardInfoLiteServerParams) (r GetShardInfoLiteServerRes, _ error)
GetShardInfoLiteServer implements getShardInfoLiteServer operation.
Get shard info.
GET /v2/liteserver/get_shard_info/{block_id}
func (UnimplementedHandler) GetStateLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetStateLiteServer(ctx context.Context, params GetStateLiteServerParams) (r GetStateLiteServerRes, _ error)
GetStateLiteServer implements getStateLiteServer operation.
Get block state.
GET /v2/liteserver/get_state/{block_id}
func (UnimplementedHandler) GetStorageProviders ¶
func (UnimplementedHandler) GetStorageProviders(ctx context.Context) (r GetStorageProvidersRes, _ error)
GetStorageProviders implements getStorageProviders operation.
Get TON storage providers deployed to the blockchain.
GET /v2/storage/providers
func (UnimplementedHandler) GetSubscriptionsByAccount ¶
func (UnimplementedHandler) GetSubscriptionsByAccount(ctx context.Context, params GetSubscriptionsByAccountParams) (r GetSubscriptionsByAccountRes, _ error)
GetSubscriptionsByAccount implements getSubscriptionsByAccount operation.
Get all subscriptions by wallet address.
GET /v2/accounts/{account_id}/subscriptions
func (UnimplementedHandler) GetTimeLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetTimeLiteServer(ctx context.Context) (r GetTimeLiteServerRes, _ error)
GetTimeLiteServer implements getTimeLiteServer operation.
Get time.
GET /v2/liteserver/get_time
func (UnimplementedHandler) GetTonConnectPayload ¶
func (UnimplementedHandler) GetTonConnectPayload(ctx context.Context) (r GetTonConnectPayloadRes, _ error)
GetTonConnectPayload implements getTonConnectPayload operation.
Get a payload for further token receipt.
GET /v2/tonconnect/payload
func (UnimplementedHandler) GetTrace ¶
func (UnimplementedHandler) GetTrace(ctx context.Context, params GetTraceParams) (r GetTraceRes, _ error)
GetTrace implements getTrace operation.
Get the trace by trace ID or hash of any transaction in trace.
GET /v2/traces/{trace_id}
func (UnimplementedHandler) GetTracesByAccount ¶
func (UnimplementedHandler) GetTracesByAccount(ctx context.Context, params GetTracesByAccountParams) (r GetTracesByAccountRes, _ error)
GetTracesByAccount implements getTracesByAccount operation.
Get traces for account.
GET /v2/accounts/{account_id}/traces
func (UnimplementedHandler) GetTransaction ¶
func (UnimplementedHandler) GetTransaction(ctx context.Context, params GetTransactionParams) (r GetTransactionRes, _ error)
GetTransaction implements getTransaction operation.
Get transaction data.
GET /v2/blockchain/transactions/{transaction_id}
func (UnimplementedHandler) GetTransactionByMessageHash ¶ added in v1.0.0
func (UnimplementedHandler) GetTransactionByMessageHash(ctx context.Context, params GetTransactionByMessageHashParams) (r GetTransactionByMessageHashRes, _ error)
GetTransactionByMessageHash implements getTransactionByMessageHash operation.
Get transaction data by message hash.
GET /v2/blockchain/messages/{msg_id}/transaction
func (UnimplementedHandler) GetTransactionsLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) GetTransactionsLiteServer(ctx context.Context, params GetTransactionsLiteServerParams) (r GetTransactionsLiteServerRes, _ error)
GetTransactionsLiteServer implements getTransactionsLiteServer operation.
Get transactions.
GET /v2/liteserver/get_transactions/{account_id}
func (UnimplementedHandler) GetValidators ¶
func (UnimplementedHandler) GetValidators(ctx context.Context) (r GetValidatorsRes, _ error)
GetValidators implements getValidators operation.
Get validators.
GET /v2/blockchain/validators
func (UnimplementedHandler) GetWalletBackup ¶
func (UnimplementedHandler) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (r GetWalletBackupRes, _ error)
GetWalletBackup implements getWalletBackup operation.
Get backup info.
GET /v2/wallet/backup
func (UnimplementedHandler) GetWalletsByPublicKey ¶ added in v1.0.0
func (UnimplementedHandler) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (r GetWalletsByPublicKeyRes, _ error)
GetWalletsByPublicKey implements getWalletsByPublicKey operation.
Get wallets by public key.
GET /v2/pubkeys/{public_key}/wallets
func (UnimplementedHandler) PoolsByNominators ¶
func (UnimplementedHandler) PoolsByNominators(ctx context.Context, params PoolsByNominatorsParams) (r PoolsByNominatorsRes, _ error)
PoolsByNominators implements poolsByNominators operation.
All pools where account participates.
GET /v2/staking/nominator/{account_id}/pools
func (UnimplementedHandler) ReindexAccount ¶
func (UnimplementedHandler) ReindexAccount(ctx context.Context, params ReindexAccountParams) (r ReindexAccountRes, _ error)
ReindexAccount implements reindexAccount operation.
Update internal cache for a particular account.
POST /v2/accounts/{account_id}/reindex
func (UnimplementedHandler) SendMessage ¶
func (UnimplementedHandler) SendMessage(ctx context.Context, req SendMessageReq) (r SendMessageRes, _ error)
SendMessage implements sendMessage operation.
Send message to blockchain.
POST /v2/blockchain/message
func (UnimplementedHandler) SendMessageLiteServer ¶ added in v1.0.0
func (UnimplementedHandler) SendMessageLiteServer(ctx context.Context, req SendMessageLiteServerReq) (r SendMessageLiteServerRes, _ error)
SendMessageLiteServer implements sendMessageLiteServer operation.
Send message.
POST /v2/liteserver/send_message
func (UnimplementedHandler) SetWalletBackup ¶
func (UnimplementedHandler) SetWalletBackup(ctx context.Context, req SetWalletBackupReq, params SetWalletBackupParams) (r SetWalletBackupRes, _ error)
SetWalletBackup implements setWalletBackup operation.
Set backup info.
PUT /v2/wallet/backup
func (UnimplementedHandler) StakingPoolHistory ¶ added in v1.0.0
func (UnimplementedHandler) StakingPoolHistory(ctx context.Context, params StakingPoolHistoryParams) (r StakingPoolHistoryRes, _ error)
StakingPoolHistory implements stakingPoolHistory operation.
Pool info.
GET /v2/staking/pool/{account_id}/history
func (UnimplementedHandler) StakingPoolInfo ¶
func (UnimplementedHandler) StakingPoolInfo(ctx context.Context, params StakingPoolInfoParams) (r StakingPoolInfoRes, _ error)
StakingPoolInfo implements stakingPoolInfo operation.
Pool info.
GET /v2/staking/pool/{account_id}
func (UnimplementedHandler) StakingPools ¶
func (UnimplementedHandler) StakingPools(ctx context.Context, params StakingPoolsParams) (r StakingPoolsRes, _ error)
StakingPools implements stakingPools operation.
All pools available in network.
GET /v2/staking/pools
func (UnimplementedHandler) TonConnectProof ¶
func (UnimplementedHandler) TonConnectProof(ctx context.Context, req TonConnectProofReq) (r TonConnectProofRes, _ error)
TonConnectProof implements tonConnectProof operation.
Account verification and token issuance.
POST /v2/wallet/auth/proof
type Validator ¶
type Validator struct {
Address string `json:"address"`
}
Ref: #/components/schemas/Validator
func (Validator) GetAddress ¶
GetAddress returns the value of Address.
func (Validator) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Validator) SetAddress ¶
SetAddress sets the value of Address.
func (*Validator) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Validators ¶
type Validators struct {
Validators []Validator `json:"validators"`
}
Ref: #/components/schemas/Validators
func (*Validators) Decode ¶
func (s *Validators) Decode(d *jx.Decoder) error
Decode decodes Validators from json.
func (Validators) Encode ¶
func (s Validators) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (Validators) GetValidators ¶ added in v1.0.0
func (s Validators) GetValidators() []Validator
GetValidators returns the value of Validators.
func (Validators) MarshalJSON ¶
func (s Validators) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*Validators) SetValidators ¶ added in v1.0.0
func (s *Validators) SetValidators(val []Validator)
SetValidators sets the value of Validators.
func (*Validators) UnmarshalJSON ¶
func (s *Validators) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (Validators) Validate ¶ added in v1.0.0
func (s Validators) Validate() error
type ValidatorsSet ¶ added in v1.0.0
type ValidatorsSet struct { UtimeSince int `json:"utime_since"` UtimeUntil int `json:"utime_until"` Total int `json:"total"` Main int `json:"main"` TotalWeight OptInt `json:"total_weight"` List []ValidatorsSetListItem `json:"list"` }
Ref: #/components/schemas/ValidatorsSet
func (*ValidatorsSet) Decode ¶ added in v1.0.0
func (s *ValidatorsSet) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSet from json.
func (ValidatorsSet) Encode ¶ added in v1.0.0
func (s ValidatorsSet) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ValidatorsSet) GetList ¶ added in v1.0.0
func (s ValidatorsSet) GetList() []ValidatorsSetListItem
GetList returns the value of List.
func (ValidatorsSet) GetMain ¶ added in v1.0.0
func (s ValidatorsSet) GetMain() int
GetMain returns the value of Main.
func (ValidatorsSet) GetTotal ¶ added in v1.0.0
func (s ValidatorsSet) GetTotal() int
GetTotal returns the value of Total.
func (ValidatorsSet) GetTotalWeight ¶ added in v1.0.0
func (s ValidatorsSet) GetTotalWeight() OptInt
GetTotalWeight returns the value of TotalWeight.
func (ValidatorsSet) GetUtimeSince ¶ added in v1.0.0
func (s ValidatorsSet) GetUtimeSince() int
GetUtimeSince returns the value of UtimeSince.
func (ValidatorsSet) GetUtimeUntil ¶ added in v1.0.0
func (s ValidatorsSet) GetUtimeUntil() int
GetUtimeUntil returns the value of UtimeUntil.
func (ValidatorsSet) MarshalJSON ¶ added in v1.0.0
func (s ValidatorsSet) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidatorsSet) SetList ¶ added in v1.0.0
func (s *ValidatorsSet) SetList(val []ValidatorsSetListItem)
SetList sets the value of List.
func (*ValidatorsSet) SetMain ¶ added in v1.0.0
func (s *ValidatorsSet) SetMain(val int)
SetMain sets the value of Main.
func (*ValidatorsSet) SetTotal ¶ added in v1.0.0
func (s *ValidatorsSet) SetTotal(val int)
SetTotal sets the value of Total.
func (*ValidatorsSet) SetTotalWeight ¶ added in v1.0.0
func (s *ValidatorsSet) SetTotalWeight(val OptInt)
SetTotalWeight sets the value of TotalWeight.
func (*ValidatorsSet) SetUtimeSince ¶ added in v1.0.0
func (s *ValidatorsSet) SetUtimeSince(val int)
SetUtimeSince sets the value of UtimeSince.
func (*ValidatorsSet) SetUtimeUntil ¶ added in v1.0.0
func (s *ValidatorsSet) SetUtimeUntil(val int)
SetUtimeUntil sets the value of UtimeUntil.
func (*ValidatorsSet) UnmarshalJSON ¶ added in v1.0.0
func (s *ValidatorsSet) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (ValidatorsSet) Validate ¶ added in v1.0.0
func (s ValidatorsSet) Validate() error
type ValidatorsSetListItem ¶ added in v1.0.0
type ValidatorsSetListItem struct {
PublicKey string `json:"public_key"`
}
func (*ValidatorsSetListItem) Decode ¶ added in v1.0.0
func (s *ValidatorsSetListItem) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSetListItem from json.
func (ValidatorsSetListItem) Encode ¶ added in v1.0.0
func (s ValidatorsSetListItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ValidatorsSetListItem) GetPublicKey ¶ added in v1.0.0
func (s ValidatorsSetListItem) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (ValidatorsSetListItem) MarshalJSON ¶ added in v1.0.0
func (s ValidatorsSetListItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidatorsSetListItem) SetPublicKey ¶ added in v1.0.0
func (s *ValidatorsSetListItem) SetPublicKey(val string)
SetPublicKey sets the value of PublicKey.
func (*ValidatorsSetListItem) UnmarshalJSON ¶ added in v1.0.0
func (s *ValidatorsSetListItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ValueFlow ¶
type ValueFlow struct { Account AccountAddress `json:"account"` Ton int64 `json:"ton"` Fees int64 `json:"fees"` Jettons []ValueFlowJettonsItem `json:"jettons"` }
Ref: #/components/schemas/ValueFlow
func (ValueFlow) GetAccount ¶
func (s ValueFlow) GetAccount() AccountAddress
GetAccount returns the value of Account.
func (ValueFlow) GetJettons ¶
func (s ValueFlow) GetJettons() []ValueFlowJettonsItem
GetJettons returns the value of Jettons.
func (ValueFlow) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*ValueFlow) SetAccount ¶
func (s *ValueFlow) SetAccount(val AccountAddress)
SetAccount sets the value of Account.
func (*ValueFlow) SetJettons ¶
func (s *ValueFlow) SetJettons(val []ValueFlowJettonsItem)
SetJettons sets the value of Jettons.
func (*ValueFlow) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ValueFlowJettonsItem ¶
type ValueFlowJettonsItem struct { Account AccountAddress `json:"account"` Quantity int64 `json:"quantity"` }
func (*ValueFlowJettonsItem) Decode ¶
func (s *ValueFlowJettonsItem) Decode(d *jx.Decoder) error
Decode decodes ValueFlowJettonsItem from json.
func (ValueFlowJettonsItem) Encode ¶
func (s ValueFlowJettonsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (ValueFlowJettonsItem) GetAccount ¶
func (s ValueFlowJettonsItem) GetAccount() AccountAddress
GetAccount returns the value of Account.
func (ValueFlowJettonsItem) GetQuantity ¶
func (s ValueFlowJettonsItem) GetQuantity() int64
GetQuantity returns the value of Quantity.
func (ValueFlowJettonsItem) MarshalJSON ¶
func (s ValueFlowJettonsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValueFlowJettonsItem) SetAccount ¶
func (s *ValueFlowJettonsItem) SetAccount(val AccountAddress)
SetAccount sets the value of Account.
func (*ValueFlowJettonsItem) SetQuantity ¶
func (s *ValueFlowJettonsItem) SetQuantity(val int64)
SetQuantity sets the value of Quantity.
func (*ValueFlowJettonsItem) UnmarshalJSON ¶
func (s *ValueFlowJettonsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type WalletDNS ¶
type WalletDNS struct { Address string `json:"address"` IsWallet bool `json:"is_wallet"` HasMethodPubkey bool `json:"has_method_pubkey"` HasMethodSeqno bool `json:"has_method_seqno"` Names []string `json:"names"` }
Ref: #/components/schemas/WalletDNS
func (WalletDNS) GetAddress ¶
GetAddress returns the value of Address.
func (WalletDNS) GetHasMethodPubkey ¶
GetHasMethodPubkey returns the value of HasMethodPubkey.
func (WalletDNS) GetHasMethodSeqno ¶
GetHasMethodSeqno returns the value of HasMethodSeqno.
func (WalletDNS) GetIsWallet ¶
GetIsWallet returns the value of IsWallet.
func (WalletDNS) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*WalletDNS) SetAddress ¶
SetAddress sets the value of Address.
func (*WalletDNS) SetHasMethodPubkey ¶
SetHasMethodPubkey sets the value of HasMethodPubkey.
func (*WalletDNS) SetHasMethodSeqno ¶
SetHasMethodSeqno sets the value of HasMethodSeqno.
func (*WalletDNS) SetIsWallet ¶
SetIsWallet sets the value of IsWallet.
func (*WalletDNS) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
Source Files
¶
- oas_cfg_gen.go
- oas_client_gen.go
- oas_defaults_gen.go
- oas_handlers_gen.go
- oas_interfaces_gen.go
- oas_json_gen.go
- oas_middleware_gen.go
- oas_parameters_gen.go
- oas_request_decoders_gen.go
- oas_request_encoders_gen.go
- oas_response_decoders_gen.go
- oas_response_encoders_gen.go
- oas_router_gen.go
- oas_schemas_gen.go
- oas_server_gen.go
- oas_unimplemented_gen.go
- oas_validators_gen.go