Documentation ¶
Index ¶
- Constants
- func WithServerURL(ctx context.Context, u *url.URL) context.Context
- type AccStatusChange
- func (AccStatusChange) AllValues() []AccStatusChange
- func (s *AccStatusChange) Decode(d *jx.Decoder) error
- func (s AccStatusChange) Encode(e *jx.Encoder)
- func (s AccStatusChange) MarshalJSON() ([]byte, error)
- func (s AccStatusChange) MarshalText() ([]byte, error)
- func (s *AccStatusChange) UnmarshalJSON(data []byte) error
- func (s *AccStatusChange) UnmarshalText(data []byte) error
- func (s AccStatusChange) Validate() error
- 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) GetIsSuspended() OptBool
- func (s *Account) GetIsWallet() bool
- 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) SetIsSuspended(val OptBool)
- func (s *Account) SetIsWallet(val bool)
- 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) GetIsWallet() 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) SetIsWallet(val bool)
- func (s *AccountAddress) SetName(val OptString)
- func (s *AccountAddress) UnmarshalJSON(data []byte) error
- type AccountDnsBackResolveParams
- 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
- func (AccountStatus) AllValues() []AccountStatus
- func (s *AccountStatus) Decode(d *jx.Decoder) error
- func (s AccountStatus) Encode(e *jx.Encoder)
- func (s AccountStatus) MarshalJSON() ([]byte, error)
- func (s AccountStatus) MarshalText() ([]byte, error)
- func (s *AccountStatus) UnmarshalJSON(data []byte) error
- func (s *AccountStatus) UnmarshalText(data []byte) error
- func (s AccountStatus) Validate() error
- 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) GetDomainRenew() OptDomainRenewAction
- func (s *Action) GetElectionsDepositStake() OptElectionsDepositStakeAction
- func (s *Action) GetElectionsRecoverStake() OptElectionsRecoverStakeAction
- func (s *Action) GetJettonBurn() OptJettonBurnAction
- func (s *Action) GetJettonMint() OptJettonMintAction
- func (s *Action) GetJettonSwap() OptJettonSwapAction
- func (s *Action) GetJettonTransfer() OptJettonTransferAction
- func (s *Action) GetNftItemTransfer() OptNftItemTransferAction
- func (s *Action) GetNftPurchase() OptNftPurchaseAction
- 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) GetWithdrawStake() OptWithdrawStakeAction
- func (s *Action) GetWithdrawStakeRequest() OptWithdrawStakeRequestAction
- 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) SetDomainRenew(val OptDomainRenewAction)
- func (s *Action) SetElectionsDepositStake(val OptElectionsDepositStakeAction)
- func (s *Action) SetElectionsRecoverStake(val OptElectionsRecoverStakeAction)
- func (s *Action) SetJettonBurn(val OptJettonBurnAction)
- func (s *Action) SetJettonMint(val OptJettonMintAction)
- func (s *Action) SetJettonSwap(val OptJettonSwapAction)
- func (s *Action) SetJettonTransfer(val OptJettonTransferAction)
- func (s *Action) SetNftItemTransfer(val OptNftItemTransferAction)
- func (s *Action) SetNftPurchase(val OptNftPurchaseAction)
- 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) SetWithdrawStake(val OptWithdrawStakeAction)
- func (s *Action) SetWithdrawStakeRequest(val OptWithdrawStakeRequestAction)
- 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
- func (ActionStatus) AllValues() []ActionStatus
- func (s *ActionStatus) Decode(d *jx.Decoder) error
- func (s ActionStatus) Encode(e *jx.Encoder)
- func (s ActionStatus) MarshalJSON() ([]byte, error)
- func (s ActionStatus) MarshalText() ([]byte, error)
- func (s *ActionStatus) UnmarshalJSON(data []byte) error
- func (s *ActionStatus) UnmarshalText(data []byte) error
- func (s ActionStatus) Validate() error
- type ActionType
- func (ActionType) AllValues() []ActionType
- func (s *ActionType) Decode(d *jx.Decoder) error
- func (s ActionType) Encode(e *jx.Encoder)
- func (s ActionType) MarshalJSON() ([]byte, error)
- func (s ActionType) MarshalText() ([]byte, error)
- func (s *ActionType) UnmarshalJSON(data []byte) error
- func (s *ActionType) UnmarshalText(data []byte) error
- func (s ActionType) Validate() error
- type AddressParseOK
- func (s *AddressParseOK) Decode(d *jx.Decoder) error
- func (s *AddressParseOK) Encode(e *jx.Encoder)
- func (s *AddressParseOK) GetBounceable() AddressParseOKBounceable
- func (s *AddressParseOK) GetGivenType() string
- func (s *AddressParseOK) GetNonBounceable() AddressParseOKNonBounceable
- func (s *AddressParseOK) GetRawForm() string
- func (s *AddressParseOK) GetTestOnly() bool
- func (s *AddressParseOK) MarshalJSON() ([]byte, error)
- func (s *AddressParseOK) SetBounceable(val AddressParseOKBounceable)
- func (s *AddressParseOK) SetGivenType(val string)
- func (s *AddressParseOK) SetNonBounceable(val AddressParseOKNonBounceable)
- func (s *AddressParseOK) SetRawForm(val string)
- func (s *AddressParseOK) SetTestOnly(val bool)
- func (s *AddressParseOK) UnmarshalJSON(data []byte) error
- type AddressParseOKBounceable
- func (s *AddressParseOKBounceable) Decode(d *jx.Decoder) error
- func (s *AddressParseOKBounceable) Encode(e *jx.Encoder)
- func (s *AddressParseOKBounceable) GetB64() string
- func (s *AddressParseOKBounceable) GetB64url() string
- func (s *AddressParseOKBounceable) MarshalJSON() ([]byte, error)
- func (s *AddressParseOKBounceable) SetB64(val string)
- func (s *AddressParseOKBounceable) SetB64url(val string)
- func (s *AddressParseOKBounceable) UnmarshalJSON(data []byte) error
- type AddressParseOKNonBounceable
- func (s *AddressParseOKNonBounceable) Decode(d *jx.Decoder) error
- func (s *AddressParseOKNonBounceable) Encode(e *jx.Encoder)
- func (s *AddressParseOKNonBounceable) GetB64() string
- func (s *AddressParseOKNonBounceable) GetB64url() string
- func (s *AddressParseOKNonBounceable) MarshalJSON() ([]byte, error)
- func (s *AddressParseOKNonBounceable) SetB64(val string)
- func (s *AddressParseOKNonBounceable) SetB64url(val string)
- func (s *AddressParseOKNonBounceable) UnmarshalJSON(data []byte) error
- type AddressParseParams
- 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) GetAuction() AccountAddress
- func (s *AuctionBidAction) GetAuctionType() AuctionBidActionAuctionType
- 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) SetAuction(val AccountAddress)
- func (s *AuctionBidAction) SetAuctionType(val AuctionBidActionAuctionType)
- 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 (AuctionBidActionAuctionType) AllValues() []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) MarshalText() ([]byte, error)
- func (s *AuctionBidActionAuctionType) UnmarshalJSON(data []byte) error
- func (s *AuctionBidActionAuctionType) UnmarshalText(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 BlockCurrencyCollection
- func (s *BlockCurrencyCollection) Decode(d *jx.Decoder) error
- func (s *BlockCurrencyCollection) Encode(e *jx.Encoder)
- func (s *BlockCurrencyCollection) GetGrams() int64
- func (s *BlockCurrencyCollection) GetOther() []BlockCurrencyCollectionOtherItem
- func (s *BlockCurrencyCollection) MarshalJSON() ([]byte, error)
- func (s *BlockCurrencyCollection) SetGrams(val int64)
- func (s *BlockCurrencyCollection) SetOther(val []BlockCurrencyCollectionOtherItem)
- func (s *BlockCurrencyCollection) UnmarshalJSON(data []byte) error
- func (s *BlockCurrencyCollection) Validate() error
- type BlockCurrencyCollectionOtherItem
- func (s *BlockCurrencyCollectionOtherItem) Decode(d *jx.Decoder) error
- func (s *BlockCurrencyCollectionOtherItem) Encode(e *jx.Encoder)
- func (s *BlockCurrencyCollectionOtherItem) GetID() int64
- func (s *BlockCurrencyCollectionOtherItem) GetValue() string
- func (s *BlockCurrencyCollectionOtherItem) MarshalJSON() ([]byte, error)
- func (s *BlockCurrencyCollectionOtherItem) SetID(val int64)
- func (s *BlockCurrencyCollectionOtherItem) SetValue(val string)
- func (s *BlockCurrencyCollectionOtherItem) UnmarshalJSON(data []byte) error
- type BlockLimits
- func (s *BlockLimits) Decode(d *jx.Decoder) error
- func (s *BlockLimits) Encode(e *jx.Encoder)
- func (s *BlockLimits) GetBytes() BlockParamLimits
- func (s *BlockLimits) GetGas() BlockParamLimits
- func (s *BlockLimits) GetLtDelta() BlockParamLimits
- func (s *BlockLimits) MarshalJSON() ([]byte, error)
- func (s *BlockLimits) SetBytes(val BlockParamLimits)
- func (s *BlockLimits) SetGas(val BlockParamLimits)
- func (s *BlockLimits) SetLtDelta(val BlockParamLimits)
- func (s *BlockLimits) UnmarshalJSON(data []byte) error
- type BlockParamLimits
- func (s *BlockParamLimits) Decode(d *jx.Decoder) error
- func (s *BlockParamLimits) Encode(e *jx.Encoder)
- func (s *BlockParamLimits) GetHardLimit() int64
- func (s *BlockParamLimits) GetSoftLimit() int64
- func (s *BlockParamLimits) GetUnderload() int64
- func (s *BlockParamLimits) MarshalJSON() ([]byte, error)
- func (s *BlockParamLimits) SetHardLimit(val int64)
- func (s *BlockParamLimits) SetSoftLimit(val int64)
- func (s *BlockParamLimits) SetUnderload(val int64)
- func (s *BlockParamLimits) UnmarshalJSON(data []byte) 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 BlockValueFlow
- func (s *BlockValueFlow) Decode(d *jx.Decoder) error
- func (s *BlockValueFlow) Encode(e *jx.Encoder)
- func (s *BlockValueFlow) GetBurned() OptBlockCurrencyCollection
- func (s *BlockValueFlow) GetCreated() BlockCurrencyCollection
- func (s *BlockValueFlow) GetExported() BlockCurrencyCollection
- func (s *BlockValueFlow) GetFeesCollected() BlockCurrencyCollection
- func (s *BlockValueFlow) GetFeesImported() BlockCurrencyCollection
- func (s *BlockValueFlow) GetFromPrevBlk() BlockCurrencyCollection
- func (s *BlockValueFlow) GetImported() BlockCurrencyCollection
- func (s *BlockValueFlow) GetMinted() BlockCurrencyCollection
- func (s *BlockValueFlow) GetRecovered() BlockCurrencyCollection
- func (s *BlockValueFlow) GetToNextBlk() BlockCurrencyCollection
- func (s *BlockValueFlow) MarshalJSON() ([]byte, error)
- func (s *BlockValueFlow) SetBurned(val OptBlockCurrencyCollection)
- func (s *BlockValueFlow) SetCreated(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetExported(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetFeesCollected(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetFeesImported(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetFromPrevBlk(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetImported(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetMinted(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetRecovered(val BlockCurrencyCollection)
- func (s *BlockValueFlow) SetToNextBlk(val BlockCurrencyCollection)
- func (s *BlockValueFlow) UnmarshalJSON(data []byte) error
- func (s *BlockValueFlow) Validate() error
- type BlockchainAccountInspect
- func (s *BlockchainAccountInspect) Decode(d *jx.Decoder) error
- func (s *BlockchainAccountInspect) Encode(e *jx.Encoder)
- func (s *BlockchainAccountInspect) GetCode() string
- func (s *BlockchainAccountInspect) GetCodeHash() string
- func (s *BlockchainAccountInspect) GetCompiler() OptBlockchainAccountInspectCompiler
- func (s *BlockchainAccountInspect) GetMethods() []BlockchainAccountInspectMethodsItem
- func (s *BlockchainAccountInspect) MarshalJSON() ([]byte, error)
- func (s *BlockchainAccountInspect) SetCode(val string)
- func (s *BlockchainAccountInspect) SetCodeHash(val string)
- func (s *BlockchainAccountInspect) SetCompiler(val OptBlockchainAccountInspectCompiler)
- func (s *BlockchainAccountInspect) SetMethods(val []BlockchainAccountInspectMethodsItem)
- func (s *BlockchainAccountInspect) UnmarshalJSON(data []byte) error
- func (s *BlockchainAccountInspect) Validate() error
- type BlockchainAccountInspectCompiler
- func (BlockchainAccountInspectCompiler) AllValues() []BlockchainAccountInspectCompiler
- func (s *BlockchainAccountInspectCompiler) Decode(d *jx.Decoder) error
- func (s BlockchainAccountInspectCompiler) Encode(e *jx.Encoder)
- func (s BlockchainAccountInspectCompiler) MarshalJSON() ([]byte, error)
- func (s BlockchainAccountInspectCompiler) MarshalText() ([]byte, error)
- func (s *BlockchainAccountInspectCompiler) UnmarshalJSON(data []byte) error
- func (s *BlockchainAccountInspectCompiler) UnmarshalText(data []byte) error
- func (s BlockchainAccountInspectCompiler) Validate() error
- type BlockchainAccountInspectMethodsItem
- func (s *BlockchainAccountInspectMethodsItem) Decode(d *jx.Decoder) error
- func (s *BlockchainAccountInspectMethodsItem) Encode(e *jx.Encoder)
- func (s *BlockchainAccountInspectMethodsItem) GetID() int64
- func (s *BlockchainAccountInspectMethodsItem) GetMethod() string
- func (s *BlockchainAccountInspectMethodsItem) MarshalJSON() ([]byte, error)
- func (s *BlockchainAccountInspectMethodsItem) SetID(val int64)
- func (s *BlockchainAccountInspectMethodsItem) SetMethod(val string)
- func (s *BlockchainAccountInspectMethodsItem) UnmarshalJSON(data []byte) error
- type BlockchainAccountInspectParams
- type BlockchainBlock
- func (s *BlockchainBlock) Decode(d *jx.Decoder) error
- func (s *BlockchainBlock) Encode(e *jx.Encoder)
- func (s *BlockchainBlock) GetAfterMerge() bool
- func (s *BlockchainBlock) GetAfterSplit() bool
- func (s *BlockchainBlock) GetBeforeSplit() bool
- func (s *BlockchainBlock) GetCreatedBy() string
- func (s *BlockchainBlock) GetEndLt() int64
- func (s *BlockchainBlock) GetFileHash() string
- func (s *BlockchainBlock) GetGenCatchainSeqno() int32
- func (s *BlockchainBlock) GetGenSoftwareCapabilities() OptInt64
- func (s *BlockchainBlock) GetGenSoftwareVersion() OptInt32
- func (s *BlockchainBlock) GetGenUtime() int64
- func (s *BlockchainBlock) GetGlobalID() int32
- func (s *BlockchainBlock) GetInMsgDescrLength() int64
- func (s *BlockchainBlock) GetKeyBlock() bool
- func (s *BlockchainBlock) GetMasterRef() OptString
- func (s *BlockchainBlock) GetMinRefMcSeqno() int32
- func (s *BlockchainBlock) GetOutMsgDescrLength() int64
- func (s *BlockchainBlock) GetPrevKeyBlockSeqno() int32
- func (s *BlockchainBlock) GetPrevRefs() []string
- func (s *BlockchainBlock) GetRandSeed() string
- func (s *BlockchainBlock) GetRootHash() string
- func (s *BlockchainBlock) GetSeqno() int32
- func (s *BlockchainBlock) GetShard() string
- func (s *BlockchainBlock) GetStartLt() int64
- func (s *BlockchainBlock) GetValueFlow() BlockValueFlow
- func (s *BlockchainBlock) GetVersion() int32
- func (s *BlockchainBlock) GetVertSeqno() int32
- func (s *BlockchainBlock) GetWantMerge() bool
- func (s *BlockchainBlock) GetWantSplit() bool
- func (s *BlockchainBlock) GetWorkchainID() int32
- func (s *BlockchainBlock) MarshalJSON() ([]byte, error)
- func (s *BlockchainBlock) SetAfterMerge(val bool)
- func (s *BlockchainBlock) SetAfterSplit(val bool)
- func (s *BlockchainBlock) SetBeforeSplit(val bool)
- func (s *BlockchainBlock) SetCreatedBy(val string)
- func (s *BlockchainBlock) SetEndLt(val int64)
- func (s *BlockchainBlock) SetFileHash(val string)
- func (s *BlockchainBlock) SetGenCatchainSeqno(val int32)
- func (s *BlockchainBlock) SetGenSoftwareCapabilities(val OptInt64)
- func (s *BlockchainBlock) SetGenSoftwareVersion(val OptInt32)
- func (s *BlockchainBlock) SetGenUtime(val int64)
- func (s *BlockchainBlock) SetGlobalID(val int32)
- func (s *BlockchainBlock) SetInMsgDescrLength(val int64)
- func (s *BlockchainBlock) SetKeyBlock(val bool)
- func (s *BlockchainBlock) SetMasterRef(val OptString)
- func (s *BlockchainBlock) SetMinRefMcSeqno(val int32)
- func (s *BlockchainBlock) SetOutMsgDescrLength(val int64)
- func (s *BlockchainBlock) SetPrevKeyBlockSeqno(val int32)
- func (s *BlockchainBlock) SetPrevRefs(val []string)
- func (s *BlockchainBlock) SetRandSeed(val string)
- func (s *BlockchainBlock) SetRootHash(val string)
- func (s *BlockchainBlock) SetSeqno(val int32)
- func (s *BlockchainBlock) SetShard(val string)
- func (s *BlockchainBlock) SetStartLt(val int64)
- func (s *BlockchainBlock) SetValueFlow(val BlockValueFlow)
- func (s *BlockchainBlock) SetVersion(val int32)
- func (s *BlockchainBlock) SetVertSeqno(val int32)
- func (s *BlockchainBlock) SetWantMerge(val bool)
- func (s *BlockchainBlock) SetWantSplit(val bool)
- func (s *BlockchainBlock) SetWorkchainID(val int32)
- func (s *BlockchainBlock) UnmarshalJSON(data []byte) error
- func (s *BlockchainBlock) Validate() error
- type BlockchainBlockShards
- func (s *BlockchainBlockShards) Decode(d *jx.Decoder) error
- func (s *BlockchainBlockShards) Encode(e *jx.Encoder)
- func (s *BlockchainBlockShards) GetShards() []BlockchainBlockShardsShardsItem
- func (s *BlockchainBlockShards) MarshalJSON() ([]byte, error)
- func (s *BlockchainBlockShards) SetShards(val []BlockchainBlockShardsShardsItem)
- func (s *BlockchainBlockShards) UnmarshalJSON(data []byte) error
- func (s *BlockchainBlockShards) Validate() error
- type BlockchainBlockShardsShardsItem
- func (s *BlockchainBlockShardsShardsItem) Decode(d *jx.Decoder) error
- func (s *BlockchainBlockShardsShardsItem) Encode(e *jx.Encoder)
- func (s *BlockchainBlockShardsShardsItem) GetLastKnownBlockID() string
- func (s *BlockchainBlockShardsShardsItem) MarshalJSON() ([]byte, error)
- func (s *BlockchainBlockShardsShardsItem) SetLastKnownBlockID(val string)
- func (s *BlockchainBlockShardsShardsItem) UnmarshalJSON(data []byte) error
- type BlockchainConfig
- func (s *BlockchainConfig) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig) Encode(e *jx.Encoder)
- func (s *BlockchainConfig) GetR0() string
- func (s *BlockchainConfig) GetR1() string
- func (s *BlockchainConfig) GetR10() OptBlockchainConfig10
- func (s *BlockchainConfig) GetR11() OptBlockchainConfig11
- func (s *BlockchainConfig) GetR12() OptBlockchainConfig12
- func (s *BlockchainConfig) GetR13() OptBlockchainConfig13
- func (s *BlockchainConfig) GetR14() OptBlockchainConfig14
- func (s *BlockchainConfig) GetR15() OptBlockchainConfig15
- func (s *BlockchainConfig) GetR16() OptBlockchainConfig16
- func (s *BlockchainConfig) GetR17() OptBlockchainConfig17
- func (s *BlockchainConfig) GetR18() OptBlockchainConfig18
- func (s *BlockchainConfig) GetR2() string
- func (s *BlockchainConfig) GetR20() OptBlockchainConfig20
- func (s *BlockchainConfig) GetR21() OptBlockchainConfig21
- func (s *BlockchainConfig) GetR22() OptBlockchainConfig22
- func (s *BlockchainConfig) GetR23() OptBlockchainConfig23
- func (s *BlockchainConfig) GetR24() OptBlockchainConfig24
- func (s *BlockchainConfig) GetR25() OptBlockchainConfig25
- func (s *BlockchainConfig) GetR28() OptBlockchainConfig28
- func (s *BlockchainConfig) GetR29() OptBlockchainConfig29
- func (s *BlockchainConfig) GetR3() OptString
- func (s *BlockchainConfig) GetR31() OptBlockchainConfig31
- func (s *BlockchainConfig) GetR32() OptValidatorsSet
- func (s *BlockchainConfig) GetR33() OptValidatorsSet
- func (s *BlockchainConfig) GetR34() OptValidatorsSet
- func (s *BlockchainConfig) GetR35() OptValidatorsSet
- func (s *BlockchainConfig) GetR36() OptValidatorsSet
- func (s *BlockchainConfig) GetR37() OptValidatorsSet
- func (s *BlockchainConfig) GetR4() string
- func (s *BlockchainConfig) GetR40() OptBlockchainConfig40
- func (s *BlockchainConfig) GetR43() OptBlockchainConfig43
- func (s *BlockchainConfig) GetR44() BlockchainConfig44
- func (s *BlockchainConfig) GetR5() OptBlockchainConfig5
- func (s *BlockchainConfig) GetR6() OptBlockchainConfig6
- func (s *BlockchainConfig) GetR7() OptBlockchainConfig7
- func (s *BlockchainConfig) GetR71() OptBlockchainConfig71
- func (s *BlockchainConfig) GetR72() OptBlockchainConfig72
- func (s *BlockchainConfig) GetR73() OptBlockchainConfig73
- func (s *BlockchainConfig) GetR79() OptBlockchainConfig79
- func (s *BlockchainConfig) GetR8() OptBlockchainConfig8
- func (s *BlockchainConfig) GetR81() OptBlockchainConfig81
- func (s *BlockchainConfig) GetR82() OptBlockchainConfig82
- func (s *BlockchainConfig) GetR9() OptBlockchainConfig9
- func (s *BlockchainConfig) GetRaw() string
- func (s *BlockchainConfig) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig) SetR0(val string)
- func (s *BlockchainConfig) SetR1(val string)
- func (s *BlockchainConfig) SetR10(val OptBlockchainConfig10)
- func (s *BlockchainConfig) SetR11(val OptBlockchainConfig11)
- func (s *BlockchainConfig) SetR12(val OptBlockchainConfig12)
- func (s *BlockchainConfig) SetR13(val OptBlockchainConfig13)
- func (s *BlockchainConfig) SetR14(val OptBlockchainConfig14)
- func (s *BlockchainConfig) SetR15(val OptBlockchainConfig15)
- func (s *BlockchainConfig) SetR16(val OptBlockchainConfig16)
- func (s *BlockchainConfig) SetR17(val OptBlockchainConfig17)
- func (s *BlockchainConfig) SetR18(val OptBlockchainConfig18)
- func (s *BlockchainConfig) SetR2(val string)
- func (s *BlockchainConfig) SetR20(val OptBlockchainConfig20)
- func (s *BlockchainConfig) SetR21(val OptBlockchainConfig21)
- func (s *BlockchainConfig) SetR22(val OptBlockchainConfig22)
- func (s *BlockchainConfig) SetR23(val OptBlockchainConfig23)
- func (s *BlockchainConfig) SetR24(val OptBlockchainConfig24)
- func (s *BlockchainConfig) SetR25(val OptBlockchainConfig25)
- func (s *BlockchainConfig) SetR28(val OptBlockchainConfig28)
- func (s *BlockchainConfig) SetR29(val OptBlockchainConfig29)
- func (s *BlockchainConfig) SetR3(val OptString)
- func (s *BlockchainConfig) SetR31(val OptBlockchainConfig31)
- func (s *BlockchainConfig) SetR32(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR33(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR34(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR35(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR36(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR37(val OptValidatorsSet)
- func (s *BlockchainConfig) SetR4(val string)
- func (s *BlockchainConfig) SetR40(val OptBlockchainConfig40)
- func (s *BlockchainConfig) SetR43(val OptBlockchainConfig43)
- func (s *BlockchainConfig) SetR44(val BlockchainConfig44)
- func (s *BlockchainConfig) SetR5(val OptBlockchainConfig5)
- func (s *BlockchainConfig) SetR6(val OptBlockchainConfig6)
- func (s *BlockchainConfig) SetR7(val OptBlockchainConfig7)
- func (s *BlockchainConfig) SetR71(val OptBlockchainConfig71)
- func (s *BlockchainConfig) SetR72(val OptBlockchainConfig72)
- func (s *BlockchainConfig) SetR73(val OptBlockchainConfig73)
- func (s *BlockchainConfig) SetR79(val OptBlockchainConfig79)
- func (s *BlockchainConfig) SetR8(val OptBlockchainConfig8)
- func (s *BlockchainConfig) SetR81(val OptBlockchainConfig81)
- func (s *BlockchainConfig) SetR82(val OptBlockchainConfig82)
- func (s *BlockchainConfig) SetR9(val OptBlockchainConfig9)
- func (s *BlockchainConfig) SetRaw(val string)
- func (s *BlockchainConfig) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig) Validate() error
- type BlockchainConfig10
- func (s *BlockchainConfig10) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig10) Encode(e *jx.Encoder)
- func (s *BlockchainConfig10) GetCriticalParams() []int32
- func (s *BlockchainConfig10) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig10) SetCriticalParams(val []int32)
- func (s *BlockchainConfig10) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig10) Validate() error
- type BlockchainConfig11
- func (s *BlockchainConfig11) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig11) Encode(e *jx.Encoder)
- func (s *BlockchainConfig11) GetCriticalParams() ConfigProposalSetup
- func (s *BlockchainConfig11) GetNormalParams() ConfigProposalSetup
- func (s *BlockchainConfig11) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig11) SetCriticalParams(val ConfigProposalSetup)
- func (s *BlockchainConfig11) SetNormalParams(val ConfigProposalSetup)
- func (s *BlockchainConfig11) UnmarshalJSON(data []byte) error
- type BlockchainConfig12
- func (s *BlockchainConfig12) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig12) Encode(e *jx.Encoder)
- func (s *BlockchainConfig12) GetWorkchains() []WorkchainDescr
- func (s *BlockchainConfig12) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig12) SetWorkchains(val []WorkchainDescr)
- func (s *BlockchainConfig12) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig12) Validate() error
- type BlockchainConfig13
- func (s *BlockchainConfig13) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig13) Encode(e *jx.Encoder)
- func (s *BlockchainConfig13) GetBitPrice() int64
- func (s *BlockchainConfig13) GetCellPrice() int64
- func (s *BlockchainConfig13) GetDeposit() int64
- func (s *BlockchainConfig13) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig13) SetBitPrice(val int64)
- func (s *BlockchainConfig13) SetCellPrice(val int64)
- func (s *BlockchainConfig13) SetDeposit(val int64)
- func (s *BlockchainConfig13) UnmarshalJSON(data []byte) error
- type BlockchainConfig14
- func (s *BlockchainConfig14) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig14) Encode(e *jx.Encoder)
- func (s *BlockchainConfig14) GetBasechainBlockFee() int64
- func (s *BlockchainConfig14) GetMasterchainBlockFee() int64
- func (s *BlockchainConfig14) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig14) SetBasechainBlockFee(val int64)
- func (s *BlockchainConfig14) SetMasterchainBlockFee(val int64)
- func (s *BlockchainConfig14) UnmarshalJSON(data []byte) error
- type BlockchainConfig15
- func (s *BlockchainConfig15) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig15) Encode(e *jx.Encoder)
- func (s *BlockchainConfig15) GetElectionsEndBefore() int64
- func (s *BlockchainConfig15) GetElectionsStartBefore() int64
- func (s *BlockchainConfig15) GetStakeHeldFor() int64
- func (s *BlockchainConfig15) GetValidatorsElectedFor() int64
- func (s *BlockchainConfig15) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig15) SetElectionsEndBefore(val int64)
- func (s *BlockchainConfig15) SetElectionsStartBefore(val int64)
- func (s *BlockchainConfig15) SetStakeHeldFor(val int64)
- func (s *BlockchainConfig15) SetValidatorsElectedFor(val int64)
- func (s *BlockchainConfig15) UnmarshalJSON(data []byte) error
- type BlockchainConfig16
- func (s *BlockchainConfig16) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig16) Encode(e *jx.Encoder)
- func (s *BlockchainConfig16) GetMaxMainValidators() int
- func (s *BlockchainConfig16) GetMaxValidators() int
- func (s *BlockchainConfig16) GetMinValidators() int
- func (s *BlockchainConfig16) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig16) SetMaxMainValidators(val int)
- func (s *BlockchainConfig16) SetMaxValidators(val int)
- func (s *BlockchainConfig16) SetMinValidators(val int)
- func (s *BlockchainConfig16) UnmarshalJSON(data []byte) error
- type BlockchainConfig17
- func (s *BlockchainConfig17) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig17) Encode(e *jx.Encoder)
- func (s *BlockchainConfig17) GetMaxStake() string
- func (s *BlockchainConfig17) GetMaxStakeFactor() int64
- func (s *BlockchainConfig17) GetMinStake() string
- func (s *BlockchainConfig17) GetMinTotalStake() string
- func (s *BlockchainConfig17) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig17) SetMaxStake(val string)
- func (s *BlockchainConfig17) SetMaxStakeFactor(val int64)
- func (s *BlockchainConfig17) SetMinStake(val string)
- func (s *BlockchainConfig17) SetMinTotalStake(val string)
- func (s *BlockchainConfig17) UnmarshalJSON(data []byte) error
- type BlockchainConfig18
- func (s *BlockchainConfig18) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig18) Encode(e *jx.Encoder)
- func (s *BlockchainConfig18) GetStoragePrices() []BlockchainConfig18StoragePricesItem
- func (s *BlockchainConfig18) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig18) SetStoragePrices(val []BlockchainConfig18StoragePricesItem)
- func (s *BlockchainConfig18) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig18) Validate() error
- type BlockchainConfig18StoragePricesItem
- func (s *BlockchainConfig18StoragePricesItem) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig18StoragePricesItem) Encode(e *jx.Encoder)
- func (s *BlockchainConfig18StoragePricesItem) GetBitPricePs() int64
- func (s *BlockchainConfig18StoragePricesItem) GetCellPricePs() int64
- func (s *BlockchainConfig18StoragePricesItem) GetMcBitPricePs() int64
- func (s *BlockchainConfig18StoragePricesItem) GetMcCellPricePs() int64
- func (s *BlockchainConfig18StoragePricesItem) GetUtimeSince() int64
- func (s *BlockchainConfig18StoragePricesItem) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig18StoragePricesItem) SetBitPricePs(val int64)
- func (s *BlockchainConfig18StoragePricesItem) SetCellPricePs(val int64)
- func (s *BlockchainConfig18StoragePricesItem) SetMcBitPricePs(val int64)
- func (s *BlockchainConfig18StoragePricesItem) SetMcCellPricePs(val int64)
- func (s *BlockchainConfig18StoragePricesItem) SetUtimeSince(val int64)
- func (s *BlockchainConfig18StoragePricesItem) UnmarshalJSON(data []byte) error
- type BlockchainConfig20
- func (s *BlockchainConfig20) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig20) Encode(e *jx.Encoder)
- func (s *BlockchainConfig20) GetGasLimitsPrices() GasLimitPrices
- func (s *BlockchainConfig20) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig20) SetGasLimitsPrices(val GasLimitPrices)
- func (s *BlockchainConfig20) UnmarshalJSON(data []byte) error
- type BlockchainConfig21
- func (s *BlockchainConfig21) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig21) Encode(e *jx.Encoder)
- func (s *BlockchainConfig21) GetGasLimitsPrices() GasLimitPrices
- func (s *BlockchainConfig21) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig21) SetGasLimitsPrices(val GasLimitPrices)
- func (s *BlockchainConfig21) UnmarshalJSON(data []byte) error
- type BlockchainConfig22
- func (s *BlockchainConfig22) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig22) Encode(e *jx.Encoder)
- func (s *BlockchainConfig22) GetBlockLimits() BlockLimits
- func (s *BlockchainConfig22) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig22) SetBlockLimits(val BlockLimits)
- func (s *BlockchainConfig22) UnmarshalJSON(data []byte) error
- type BlockchainConfig23
- func (s *BlockchainConfig23) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig23) Encode(e *jx.Encoder)
- func (s *BlockchainConfig23) GetBlockLimits() BlockLimits
- func (s *BlockchainConfig23) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig23) SetBlockLimits(val BlockLimits)
- func (s *BlockchainConfig23) UnmarshalJSON(data []byte) error
- type BlockchainConfig24
- func (s *BlockchainConfig24) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig24) Encode(e *jx.Encoder)
- func (s *BlockchainConfig24) GetMsgForwardPrices() MsgForwardPrices
- func (s *BlockchainConfig24) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig24) SetMsgForwardPrices(val MsgForwardPrices)
- func (s *BlockchainConfig24) UnmarshalJSON(data []byte) error
- type BlockchainConfig25
- func (s *BlockchainConfig25) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig25) Encode(e *jx.Encoder)
- func (s *BlockchainConfig25) GetMsgForwardPrices() MsgForwardPrices
- func (s *BlockchainConfig25) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig25) SetMsgForwardPrices(val MsgForwardPrices)
- func (s *BlockchainConfig25) UnmarshalJSON(data []byte) error
- type BlockchainConfig28
- func (s *BlockchainConfig28) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig28) Encode(e *jx.Encoder)
- func (s *BlockchainConfig28) GetFlags() OptInt
- func (s *BlockchainConfig28) GetMcCatchainLifetime() int64
- func (s *BlockchainConfig28) GetShardCatchainLifetime() int64
- func (s *BlockchainConfig28) GetShardValidatorsLifetime() int64
- func (s *BlockchainConfig28) GetShardValidatorsNum() int64
- func (s *BlockchainConfig28) GetShuffleMcValidators() OptBool
- func (s *BlockchainConfig28) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig28) SetFlags(val OptInt)
- func (s *BlockchainConfig28) SetMcCatchainLifetime(val int64)
- func (s *BlockchainConfig28) SetShardCatchainLifetime(val int64)
- func (s *BlockchainConfig28) SetShardValidatorsLifetime(val int64)
- func (s *BlockchainConfig28) SetShardValidatorsNum(val int64)
- func (s *BlockchainConfig28) SetShuffleMcValidators(val OptBool)
- func (s *BlockchainConfig28) UnmarshalJSON(data []byte) error
- type BlockchainConfig29
- func (s *BlockchainConfig29) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig29) Encode(e *jx.Encoder)
- func (s *BlockchainConfig29) GetAttemptDuration() int64
- func (s *BlockchainConfig29) GetCatchainMaxBlocksCoeff() OptInt64
- func (s *BlockchainConfig29) GetCatchainMaxDeps() int64
- func (s *BlockchainConfig29) GetConsensusTimeoutMs() int64
- func (s *BlockchainConfig29) GetFastAttempts() int64
- func (s *BlockchainConfig29) GetFlags() OptInt
- func (s *BlockchainConfig29) GetMaxBlockBytes() int64
- func (s *BlockchainConfig29) GetMaxCollatedBytes() int64
- func (s *BlockchainConfig29) GetNewCatchainIds() OptBool
- func (s *BlockchainConfig29) GetNextCandidateDelayMs() int64
- func (s *BlockchainConfig29) GetProtoVersion() OptInt64
- func (s *BlockchainConfig29) GetRoundCandidates() int64
- func (s *BlockchainConfig29) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig29) SetAttemptDuration(val int64)
- func (s *BlockchainConfig29) SetCatchainMaxBlocksCoeff(val OptInt64)
- func (s *BlockchainConfig29) SetCatchainMaxDeps(val int64)
- func (s *BlockchainConfig29) SetConsensusTimeoutMs(val int64)
- func (s *BlockchainConfig29) SetFastAttempts(val int64)
- func (s *BlockchainConfig29) SetFlags(val OptInt)
- func (s *BlockchainConfig29) SetMaxBlockBytes(val int64)
- func (s *BlockchainConfig29) SetMaxCollatedBytes(val int64)
- func (s *BlockchainConfig29) SetNewCatchainIds(val OptBool)
- func (s *BlockchainConfig29) SetNextCandidateDelayMs(val int64)
- func (s *BlockchainConfig29) SetProtoVersion(val OptInt64)
- func (s *BlockchainConfig29) SetRoundCandidates(val int64)
- func (s *BlockchainConfig29) UnmarshalJSON(data []byte) error
- type BlockchainConfig31
- func (s *BlockchainConfig31) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig31) Encode(e *jx.Encoder)
- func (s *BlockchainConfig31) GetFundamentalSmcAddr() []string
- func (s *BlockchainConfig31) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig31) SetFundamentalSmcAddr(val []string)
- func (s *BlockchainConfig31) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig31) Validate() error
- type BlockchainConfig40
- func (s *BlockchainConfig40) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig40) Encode(e *jx.Encoder)
- func (s *BlockchainConfig40) GetMisbehaviourPunishmentConfig() MisbehaviourPunishmentConfig
- func (s *BlockchainConfig40) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig40) SetMisbehaviourPunishmentConfig(val MisbehaviourPunishmentConfig)
- func (s *BlockchainConfig40) UnmarshalJSON(data []byte) error
- type BlockchainConfig43
- func (s *BlockchainConfig43) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig43) Encode(e *jx.Encoder)
- func (s *BlockchainConfig43) GetSizeLimitsConfig() SizeLimitsConfig
- func (s *BlockchainConfig43) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig43) SetSizeLimitsConfig(val SizeLimitsConfig)
- func (s *BlockchainConfig43) UnmarshalJSON(data []byte) error
- type BlockchainConfig44
- func (s *BlockchainConfig44) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig44) Encode(e *jx.Encoder)
- func (s *BlockchainConfig44) GetAccounts() []string
- func (s *BlockchainConfig44) GetSuspendedUntil() int
- func (s *BlockchainConfig44) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig44) SetAccounts(val []string)
- func (s *BlockchainConfig44) SetSuspendedUntil(val int)
- func (s *BlockchainConfig44) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig44) Validate() error
- type BlockchainConfig5
- func (s *BlockchainConfig5) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig5) Encode(e *jx.Encoder)
- func (s *BlockchainConfig5) GetBlackholeAddr() OptString
- func (s *BlockchainConfig5) GetFeeBurnDenom() int64
- func (s *BlockchainConfig5) GetFeeBurnNom() int64
- func (s *BlockchainConfig5) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig5) SetBlackholeAddr(val OptString)
- func (s *BlockchainConfig5) SetFeeBurnDenom(val int64)
- func (s *BlockchainConfig5) SetFeeBurnNom(val int64)
- func (s *BlockchainConfig5) UnmarshalJSON(data []byte) error
- type BlockchainConfig6
- func (s *BlockchainConfig6) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig6) Encode(e *jx.Encoder)
- func (s *BlockchainConfig6) GetMintAddPrice() int64
- func (s *BlockchainConfig6) GetMintNewPrice() int64
- func (s *BlockchainConfig6) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig6) SetMintAddPrice(val int64)
- func (s *BlockchainConfig6) SetMintNewPrice(val int64)
- func (s *BlockchainConfig6) UnmarshalJSON(data []byte) error
- type BlockchainConfig7
- func (s *BlockchainConfig7) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig7) Encode(e *jx.Encoder)
- func (s *BlockchainConfig7) GetCurrencies() []BlockchainConfig7CurrenciesItem
- func (s *BlockchainConfig7) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig7) SetCurrencies(val []BlockchainConfig7CurrenciesItem)
- func (s *BlockchainConfig7) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig7) Validate() error
- type BlockchainConfig71
- func (s *BlockchainConfig71) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig71) Encode(e *jx.Encoder)
- func (s *BlockchainConfig71) GetOracleBridgeParams() OracleBridgeParams
- func (s *BlockchainConfig71) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig71) SetOracleBridgeParams(val OracleBridgeParams)
- func (s *BlockchainConfig71) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig71) Validate() error
- type BlockchainConfig72
- func (s *BlockchainConfig72) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig72) Encode(e *jx.Encoder)
- func (s *BlockchainConfig72) GetOracleBridgeParams() OracleBridgeParams
- func (s *BlockchainConfig72) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig72) SetOracleBridgeParams(val OracleBridgeParams)
- func (s *BlockchainConfig72) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig72) Validate() error
- type BlockchainConfig73
- func (s *BlockchainConfig73) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig73) Encode(e *jx.Encoder)
- func (s *BlockchainConfig73) GetOracleBridgeParams() OracleBridgeParams
- func (s *BlockchainConfig73) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig73) SetOracleBridgeParams(val OracleBridgeParams)
- func (s *BlockchainConfig73) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig73) Validate() error
- type BlockchainConfig79
- func (s *BlockchainConfig79) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig79) Encode(e *jx.Encoder)
- func (s *BlockchainConfig79) GetJettonBridgeParams() JettonBridgeParams
- func (s *BlockchainConfig79) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig79) SetJettonBridgeParams(val JettonBridgeParams)
- func (s *BlockchainConfig79) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig79) Validate() error
- type BlockchainConfig7CurrenciesItem
- func (s *BlockchainConfig7CurrenciesItem) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig7CurrenciesItem) Encode(e *jx.Encoder)
- func (s *BlockchainConfig7CurrenciesItem) GetAmount() string
- func (s *BlockchainConfig7CurrenciesItem) GetCurrencyID() int64
- func (s *BlockchainConfig7CurrenciesItem) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig7CurrenciesItem) SetAmount(val string)
- func (s *BlockchainConfig7CurrenciesItem) SetCurrencyID(val int64)
- func (s *BlockchainConfig7CurrenciesItem) UnmarshalJSON(data []byte) error
- type BlockchainConfig8
- func (s *BlockchainConfig8) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig8) Encode(e *jx.Encoder)
- func (s *BlockchainConfig8) GetCapabilities() int64
- func (s *BlockchainConfig8) GetVersion() int64
- func (s *BlockchainConfig8) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig8) SetCapabilities(val int64)
- func (s *BlockchainConfig8) SetVersion(val int64)
- func (s *BlockchainConfig8) UnmarshalJSON(data []byte) error
- type BlockchainConfig81
- func (s *BlockchainConfig81) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig81) Encode(e *jx.Encoder)
- func (s *BlockchainConfig81) GetJettonBridgeParams() JettonBridgeParams
- func (s *BlockchainConfig81) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig81) SetJettonBridgeParams(val JettonBridgeParams)
- func (s *BlockchainConfig81) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig81) Validate() error
- type BlockchainConfig82
- func (s *BlockchainConfig82) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig82) Encode(e *jx.Encoder)
- func (s *BlockchainConfig82) GetJettonBridgeParams() JettonBridgeParams
- func (s *BlockchainConfig82) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig82) SetJettonBridgeParams(val JettonBridgeParams)
- func (s *BlockchainConfig82) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig82) Validate() error
- type BlockchainConfig9
- func (s *BlockchainConfig9) Decode(d *jx.Decoder) error
- func (s *BlockchainConfig9) Encode(e *jx.Encoder)
- func (s *BlockchainConfig9) GetMandatoryParams() []int32
- func (s *BlockchainConfig9) MarshalJSON() ([]byte, error)
- func (s *BlockchainConfig9) SetMandatoryParams(val []int32)
- func (s *BlockchainConfig9) UnmarshalJSON(data []byte) error
- func (s *BlockchainConfig9) Validate() error
- type BlockchainRawAccount
- func (s *BlockchainRawAccount) Decode(d *jx.Decoder) error
- func (s *BlockchainRawAccount) Encode(e *jx.Encoder)
- func (s *BlockchainRawAccount) GetAddress() string
- func (s *BlockchainRawAccount) GetBalance() int64
- func (s *BlockchainRawAccount) GetCode() OptString
- func (s *BlockchainRawAccount) GetData() OptString
- func (s *BlockchainRawAccount) GetExtraBalance() OptBlockchainRawAccountExtraBalance
- func (s *BlockchainRawAccount) GetLastTransactionLt() int64
- func (s *BlockchainRawAccount) GetStatus() string
- func (s *BlockchainRawAccount) GetStorage() AccountStorageInfo
- func (s *BlockchainRawAccount) MarshalJSON() ([]byte, error)
- func (s *BlockchainRawAccount) SetAddress(val string)
- func (s *BlockchainRawAccount) SetBalance(val int64)
- func (s *BlockchainRawAccount) SetCode(val OptString)
- func (s *BlockchainRawAccount) SetData(val OptString)
- func (s *BlockchainRawAccount) SetExtraBalance(val OptBlockchainRawAccountExtraBalance)
- func (s *BlockchainRawAccount) SetLastTransactionLt(val int64)
- func (s *BlockchainRawAccount) SetStatus(val string)
- func (s *BlockchainRawAccount) SetStorage(val AccountStorageInfo)
- func (s *BlockchainRawAccount) UnmarshalJSON(data []byte) error
- type BlockchainRawAccountExtraBalance
- type BouncePhaseType
- func (BouncePhaseType) AllValues() []BouncePhaseType
- func (s *BouncePhaseType) Decode(d *jx.Decoder) error
- func (s BouncePhaseType) Encode(e *jx.Encoder)
- func (s BouncePhaseType) MarshalJSON() ([]byte, error)
- func (s BouncePhaseType) MarshalText() ([]byte, error)
- func (s *BouncePhaseType) UnmarshalJSON(data []byte) error
- func (s *BouncePhaseType) UnmarshalText(data []byte) error
- func (s BouncePhaseType) Validate() error
- type Client
- func (c *Client) AccountDnsBackResolve(ctx context.Context, params AccountDnsBackResolveParams) (*DomainNames, error)
- func (c *Client) AddressParse(ctx context.Context, params AddressParseParams) (*AddressParseOK, error)
- func (c *Client) BlockchainAccountInspect(ctx context.Context, params BlockchainAccountInspectParams) (*BlockchainAccountInspect, error)
- func (c *Client) DecodeMessage(ctx context.Context, request *DecodeMessageReq) (*DecodedMessage, error)
- func (c *Client) DnsResolve(ctx context.Context, params DnsResolveParams) (*DnsRecord, error)
- func (c *Client) EmulateMessageToAccountEvent(ctx context.Context, request *EmulateMessageToAccountEventReq, ...) (*AccountEvent, error)
- func (c *Client) EmulateMessageToEvent(ctx context.Context, request *EmulateMessageToEventReq, ...) (*Event, error)
- func (c *Client) EmulateMessageToTrace(ctx context.Context, request *EmulateMessageToTraceReq, ...) (*Trace, error)
- func (c *Client) EmulateMessageToWallet(ctx context.Context, request *EmulateMessageToWalletReq, ...) (*MessageConsequences, error)
- func (c *Client) ExecGetMethodForBlockchainAccount(ctx context.Context, params ExecGetMethodForBlockchainAccountParams) (*MethodExecutionResult, error)
- func (c *Client) GetAccount(ctx context.Context, params GetAccountParams) (*Account, error)
- func (c *Client) GetAccountDiff(ctx context.Context, params GetAccountDiffParams) (*GetAccountDiffOK, error)
- func (c *Client) GetAccountDnsExpiring(ctx context.Context, params GetAccountDnsExpiringParams) (*DnsExpiring, error)
- func (c *Client) GetAccountEvent(ctx context.Context, params GetAccountEventParams) (*AccountEvent, error)
- func (c *Client) GetAccountEvents(ctx context.Context, params GetAccountEventsParams) (*AccountEvents, error)
- func (c *Client) GetAccountInfoByStateInit(ctx context.Context, request *GetAccountInfoByStateInitReq) (*AccountInfoByStateInit, error)
- func (c *Client) GetAccountJettonHistoryByID(ctx context.Context, params GetAccountJettonHistoryByIDParams) (*AccountEvents, error)
- func (c *Client) GetAccountJettonsBalances(ctx context.Context, params GetAccountJettonsBalancesParams) (*JettonsBalances, error)
- func (c *Client) GetAccountJettonsHistory(ctx context.Context, params GetAccountJettonsHistoryParams) (*AccountEvents, error)
- func (c *Client) GetAccountNftHistory(ctx context.Context, params GetAccountNftHistoryParams) (*AccountEvents, error)
- func (c *Client) GetAccountNftItems(ctx context.Context, params GetAccountNftItemsParams) (*NftItems, error)
- func (c *Client) GetAccountNominatorsPools(ctx context.Context, params GetAccountNominatorsPoolsParams) (*AccountStaking, error)
- func (c *Client) GetAccountPublicKey(ctx context.Context, params GetAccountPublicKeyParams) (*GetAccountPublicKeyOK, error)
- func (c *Client) GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (*Seqno, error)
- func (c *Client) GetAccountState(ctx context.Context, accountID tongo.AccountID) (tlb.ShardAccount, error)
- func (c *Client) GetAccountSubscriptions(ctx context.Context, params GetAccountSubscriptionsParams) (*Subscriptions, error)
- func (c *Client) GetAccountTraces(ctx context.Context, params GetAccountTracesParams) (*TraceIDs, error)
- func (c *Client) GetAccounts(ctx context.Context, request OptGetAccountsReq) (*Accounts, error)
- func (c *Client) GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (*Auctions, error)
- func (c *Client) GetAllRawShardsInfo(ctx context.Context, params GetAllRawShardsInfoParams) (*GetAllRawShardsInfoOK, error)
- func (c *Client) GetBlockchainAccountTransactions(ctx context.Context, params GetBlockchainAccountTransactionsParams) (*Transactions, error)
- func (c *Client) GetBlockchainBlock(ctx context.Context, params GetBlockchainBlockParams) (*BlockchainBlock, error)
- func (c *Client) GetBlockchainBlockTransactions(ctx context.Context, params GetBlockchainBlockTransactionsParams) (*Transactions, error)
- func (c *Client) GetBlockchainConfig(ctx context.Context) (*BlockchainConfig, error)
- func (c *Client) GetBlockchainConfigFromBlock(ctx context.Context, params GetBlockchainConfigFromBlockParams) (*BlockchainConfig, error)
- func (c *Client) GetBlockchainMasterchainHead(ctx context.Context) (*BlockchainBlock, error)
- func (c *Client) GetBlockchainMasterchainShards(ctx context.Context, params GetBlockchainMasterchainShardsParams) (*BlockchainBlockShards, error)
- func (c *Client) GetBlockchainRawAccount(ctx context.Context, params GetBlockchainRawAccountParams) (*BlockchainRawAccount, error)
- func (c *Client) GetBlockchainTransaction(ctx context.Context, params GetBlockchainTransactionParams) (*Transaction, error)
- func (c *Client) GetBlockchainTransactionByMessageHash(ctx context.Context, params GetBlockchainTransactionByMessageHashParams) (*Transaction, error)
- func (c *Client) GetBlockchainValidators(ctx context.Context) (*Validators, error)
- func (c *Client) GetChartRates(ctx context.Context, params GetChartRatesParams) (*GetChartRatesOK, error)
- func (c *Client) GetDnsInfo(ctx context.Context, params GetDnsInfoParams) (*DomainInfo, error)
- func (c *Client) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (*DomainBids, error)
- func (c *Client) GetEvent(ctx context.Context, params GetEventParams) (*Event, error)
- func (c *Client) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (*NftItems, error)
- func (c *Client) GetJettonHolders(ctx context.Context, params GetJettonHoldersParams) (*JettonHolders, error)
- func (c *Client) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (*JettonInfo, error)
- func (c *Client) GetJettons(ctx context.Context, params GetJettonsParams) (*Jettons, error)
- func (c *Client) GetJettonsEvents(ctx context.Context, params GetJettonsEventsParams) (*Event, error)
- func (c *Client) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (*NftCollection, error)
- func (c *Client) GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (*NftCollections, error)
- func (c *Client) GetNftHistoryByID(ctx context.Context, params GetNftHistoryByIDParams) (*AccountEvents, error)
- func (c *Client) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (*NftItem, error)
- func (c *Client) GetNftItemsByAddresses(ctx context.Context, request OptGetNftItemsByAddressesReq) (*NftItems, error)
- func (c *Client) GetRates(ctx context.Context, params GetRatesParams) (*GetRatesOK, error)
- func (c *Client) GetRawAccountState(ctx context.Context, params GetRawAccountStateParams) (*GetRawAccountStateOK, error)
- func (c *Client) GetRawBlockProof(ctx context.Context, params GetRawBlockProofParams) (*GetRawBlockProofOK, error)
- func (c *Client) GetRawBlockchainBlock(ctx context.Context, params GetRawBlockchainBlockParams) (*GetRawBlockchainBlockOK, error)
- func (c *Client) GetRawBlockchainBlockHeader(ctx context.Context, params GetRawBlockchainBlockHeaderParams) (*GetRawBlockchainBlockHeaderOK, error)
- func (c *Client) GetRawBlockchainBlockState(ctx context.Context, params GetRawBlockchainBlockStateParams) (*GetRawBlockchainBlockStateOK, error)
- func (c *Client) GetRawBlockchainConfig(ctx context.Context) (*RawBlockchainConfig, error)
- func (c *Client) GetRawBlockchainConfigFromBlock(ctx context.Context, params GetRawBlockchainConfigFromBlockParams) (*RawBlockchainConfig, error)
- func (c *Client) GetRawConfig(ctx context.Context, params GetRawConfigParams) (*GetRawConfigOK, error)
- func (c *Client) GetRawListBlockTransactions(ctx context.Context, params GetRawListBlockTransactionsParams) (*GetRawListBlockTransactionsOK, error)
- func (c *Client) GetRawMasterchainInfo(ctx context.Context) (*GetRawMasterchainInfoOK, error)
- func (c *Client) GetRawMasterchainInfoExt(ctx context.Context, params GetRawMasterchainInfoExtParams) (*GetRawMasterchainInfoExtOK, error)
- func (c *Client) GetRawShardBlockProof(ctx context.Context, params GetRawShardBlockProofParams) (*GetRawShardBlockProofOK, error)
- func (c *Client) GetRawShardInfo(ctx context.Context, params GetRawShardInfoParams) (*GetRawShardInfoOK, error)
- func (c *Client) GetRawTime(ctx context.Context) (*GetRawTimeOK, error)
- func (c *Client) GetRawTransactions(ctx context.Context, params GetRawTransactionsParams) (*GetRawTransactionsOK, error)
- func (c *Client) GetSeqno(ctx context.Context, account tongo.AccountID) (uint32, error)
- func (c *Client) GetStakingPoolHistory(ctx context.Context, params GetStakingPoolHistoryParams) (*GetStakingPoolHistoryOK, error)
- func (c *Client) GetStakingPoolInfo(ctx context.Context, params GetStakingPoolInfoParams) (*GetStakingPoolInfoOK, error)
- func (c *Client) GetStakingPools(ctx context.Context, params GetStakingPoolsParams) (*GetStakingPoolsOK, error)
- func (c *Client) GetStorageProviders(ctx context.Context) (*GetStorageProvidersOK, error)
- func (c *Client) GetTonConnectPayload(ctx context.Context) (*GetTonConnectPayloadOK, error)
- func (c *Client) GetTrace(ctx context.Context, params GetTraceParams) (*Trace, error)
- func (c *Client) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (*GetWalletBackupOK, error)
- func (c *Client) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (*Accounts, error)
- func (c *Client) ReindexAccount(ctx context.Context, params ReindexAccountParams) error
- func (c *Client) SearchAccounts(ctx context.Context, params SearchAccountsParams) (*FoundAccounts, error)
- func (c *Client) SendBlockchainMessage(ctx context.Context, request *SendBlockchainMessageReq) error
- func (c *Client) SendMessage(ctx context.Context, payload []byte) (uint32, error)
- func (c *Client) SendRawMessage(ctx context.Context, request *SendRawMessageReq) (*SendRawMessageOK, error)
- func (c *Client) SetWalletBackup(ctx context.Context, request SetWalletBackupReq, params SetWalletBackupParams) error
- func (c *Client) TonConnectProof(ctx context.Context, request *TonConnectProofReq) (*TonConnectProofOK, 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
- func (ComputeSkipReason) AllValues() []ComputeSkipReason
- func (s *ComputeSkipReason) Decode(d *jx.Decoder) error
- func (s ComputeSkipReason) Encode(e *jx.Encoder)
- func (s ComputeSkipReason) MarshalJSON() ([]byte, error)
- func (s ComputeSkipReason) MarshalText() ([]byte, error)
- func (s *ComputeSkipReason) UnmarshalJSON(data []byte) error
- func (s *ComputeSkipReason) UnmarshalText(data []byte) error
- func (s ComputeSkipReason) Validate() error
- type ConfigProposalSetup
- func (s *ConfigProposalSetup) Decode(d *jx.Decoder) error
- func (s *ConfigProposalSetup) Encode(e *jx.Encoder)
- func (s *ConfigProposalSetup) GetBitPrice() int64
- func (s *ConfigProposalSetup) GetCellPrice() int64
- func (s *ConfigProposalSetup) GetMaxLosses() int
- func (s *ConfigProposalSetup) GetMaxStoreSec() int64
- func (s *ConfigProposalSetup) GetMaxTotRounds() int
- func (s *ConfigProposalSetup) GetMinStoreSec() int64
- func (s *ConfigProposalSetup) GetMinTotRounds() int
- func (s *ConfigProposalSetup) GetMinWins() int
- func (s *ConfigProposalSetup) MarshalJSON() ([]byte, error)
- func (s *ConfigProposalSetup) SetBitPrice(val int64)
- func (s *ConfigProposalSetup) SetCellPrice(val int64)
- func (s *ConfigProposalSetup) SetMaxLosses(val int)
- func (s *ConfigProposalSetup) SetMaxStoreSec(val int64)
- func (s *ConfigProposalSetup) SetMaxTotRounds(val int)
- func (s *ConfigProposalSetup) SetMinStoreSec(val int64)
- func (s *ConfigProposalSetup) SetMinTotRounds(val int)
- func (s *ConfigProposalSetup) SetMinWins(val int)
- func (s *ConfigProposalSetup) UnmarshalJSON(data []byte) 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 DecodeMessageReq
- func (s *DecodeMessageReq) Decode(d *jx.Decoder) error
- func (s *DecodeMessageReq) Encode(e *jx.Encoder)
- func (s *DecodeMessageReq) GetBoc() string
- func (s *DecodeMessageReq) MarshalJSON() ([]byte, error)
- func (s *DecodeMessageReq) SetBoc(val string)
- func (s *DecodeMessageReq) UnmarshalJSON(data []byte) error
- type DecodedMessage
- func (s *DecodedMessage) Decode(d *jx.Decoder) error
- func (s *DecodedMessage) Encode(e *jx.Encoder)
- func (s *DecodedMessage) GetDestination() AccountAddress
- func (s *DecodedMessage) GetDestinationWalletVersion() string
- func (s *DecodedMessage) GetExtInMsgDecoded() OptDecodedMessageExtInMsgDecoded
- func (s *DecodedMessage) MarshalJSON() ([]byte, error)
- func (s *DecodedMessage) SetDestination(val AccountAddress)
- func (s *DecodedMessage) SetDestinationWalletVersion(val string)
- func (s *DecodedMessage) SetExtInMsgDecoded(val OptDecodedMessageExtInMsgDecoded)
- func (s *DecodedMessage) UnmarshalJSON(data []byte) error
- func (s *DecodedMessage) Validate() error
- type DecodedMessageExtInMsgDecoded
- func (s *DecodedMessageExtInMsgDecoded) Decode(d *jx.Decoder) error
- func (s *DecodedMessageExtInMsgDecoded) Encode(e *jx.Encoder)
- func (s *DecodedMessageExtInMsgDecoded) GetWalletHighloadV2() OptDecodedMessageExtInMsgDecodedWalletHighloadV2
- func (s *DecodedMessageExtInMsgDecoded) GetWalletV3() OptDecodedMessageExtInMsgDecodedWalletV3
- func (s *DecodedMessageExtInMsgDecoded) GetWalletV4() OptDecodedMessageExtInMsgDecodedWalletV4
- func (s *DecodedMessageExtInMsgDecoded) MarshalJSON() ([]byte, error)
- func (s *DecodedMessageExtInMsgDecoded) SetWalletHighloadV2(val OptDecodedMessageExtInMsgDecodedWalletHighloadV2)
- func (s *DecodedMessageExtInMsgDecoded) SetWalletV3(val OptDecodedMessageExtInMsgDecodedWalletV3)
- func (s *DecodedMessageExtInMsgDecoded) SetWalletV4(val OptDecodedMessageExtInMsgDecodedWalletV4)
- func (s *DecodedMessageExtInMsgDecoded) UnmarshalJSON(data []byte) error
- func (s *DecodedMessageExtInMsgDecoded) Validate() error
- type DecodedMessageExtInMsgDecodedWalletHighloadV2
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Decode(d *jx.Decoder) error
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Encode(e *jx.Encoder)
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetBoundedQueryID() string
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetRawMessages() []DecodedRawMessage
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetSubwalletID() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON() ([]byte, error)
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetBoundedQueryID(val string)
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetRawMessages(val []DecodedRawMessage)
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetSubwalletID(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON(data []byte) error
- func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Validate() error
- type DecodedMessageExtInMsgDecodedWalletV3
- func (s *DecodedMessageExtInMsgDecodedWalletV3) Decode(d *jx.Decoder) error
- func (s *DecodedMessageExtInMsgDecodedWalletV3) Encode(e *jx.Encoder)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) GetRawMessages() []DecodedRawMessage
- func (s *DecodedMessageExtInMsgDecodedWalletV3) GetSeqno() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV3) GetSubwalletID() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV3) GetValidUntil() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV3) MarshalJSON() ([]byte, error)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) SetRawMessages(val []DecodedRawMessage)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) SetSeqno(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) SetSubwalletID(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) SetValidUntil(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON(data []byte) error
- func (s *DecodedMessageExtInMsgDecodedWalletV3) Validate() error
- type DecodedMessageExtInMsgDecodedWalletV4
- func (s *DecodedMessageExtInMsgDecodedWalletV4) Decode(d *jx.Decoder) error
- func (s *DecodedMessageExtInMsgDecodedWalletV4) Encode(e *jx.Encoder)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) GetOp() int8
- func (s *DecodedMessageExtInMsgDecodedWalletV4) GetRawMessages() []DecodedRawMessage
- func (s *DecodedMessageExtInMsgDecodedWalletV4) GetSeqno() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV4) GetSubwalletID() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV4) GetValidUntil() uint32
- func (s *DecodedMessageExtInMsgDecodedWalletV4) MarshalJSON() ([]byte, error)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) SetOp(val int8)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) SetRawMessages(val []DecodedRawMessage)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) SetSeqno(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) SetSubwalletID(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) SetValidUntil(val uint32)
- func (s *DecodedMessageExtInMsgDecodedWalletV4) UnmarshalJSON(data []byte) error
- func (s *DecodedMessageExtInMsgDecodedWalletV4) Validate() error
- type DecodedRawMessage
- func (s *DecodedRawMessage) Decode(d *jx.Decoder) error
- func (s *DecodedRawMessage) Encode(e *jx.Encoder)
- func (s *DecodedRawMessage) GetMessage() DecodedRawMessageMessage
- func (s *DecodedRawMessage) GetMode() int
- func (s *DecodedRawMessage) MarshalJSON() ([]byte, error)
- func (s *DecodedRawMessage) SetMessage(val DecodedRawMessageMessage)
- func (s *DecodedRawMessage) SetMode(val int)
- func (s *DecodedRawMessage) UnmarshalJSON(data []byte) error
- type DecodedRawMessageMessage
- func (s *DecodedRawMessageMessage) Decode(d *jx.Decoder) error
- func (s *DecodedRawMessageMessage) Encode(e *jx.Encoder)
- func (s *DecodedRawMessageMessage) GetBoc() string
- func (s *DecodedRawMessageMessage) GetDecodedBody() jx.Raw
- func (s *DecodedRawMessageMessage) GetDecodedOpName() OptString
- func (s *DecodedRawMessageMessage) GetOpCode() OptString
- func (s *DecodedRawMessageMessage) MarshalJSON() ([]byte, error)
- func (s *DecodedRawMessageMessage) SetBoc(val string)
- func (s *DecodedRawMessageMessage) SetDecodedBody(val jx.Raw)
- func (s *DecodedRawMessageMessage) SetDecodedOpName(val OptString)
- func (s *DecodedRawMessageMessage) SetOpCode(val OptString)
- func (s *DecodedRawMessageMessage) 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) GetImplementation() PoolImplementationType
- func (s *DepositStakeAction) GetPool() AccountAddress
- func (s *DepositStakeAction) GetStaker() AccountAddress
- func (s *DepositStakeAction) MarshalJSON() ([]byte, error)
- func (s *DepositStakeAction) SetAmount(val int64)
- func (s *DepositStakeAction) SetImplementation(val PoolImplementationType)
- func (s *DepositStakeAction) SetPool(val AccountAddress)
- func (s *DepositStakeAction) SetStaker(val AccountAddress)
- func (s *DepositStakeAction) UnmarshalJSON(data []byte) error
- func (s *DepositStakeAction) Validate() error
- 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 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 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() OptInt64
- func (s *DomainInfo) GetItem() OptNftItem
- func (s *DomainInfo) GetName() string
- func (s *DomainInfo) MarshalJSON() ([]byte, error)
- func (s *DomainInfo) SetExpiringAt(val OptInt64)
- 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 DomainRenewAction
- func (s *DomainRenewAction) Decode(d *jx.Decoder) error
- func (s *DomainRenewAction) Encode(e *jx.Encoder)
- func (s *DomainRenewAction) GetContractAddress() string
- func (s *DomainRenewAction) GetDomain() string
- func (s *DomainRenewAction) GetRenewer() AccountAddress
- func (s *DomainRenewAction) MarshalJSON() ([]byte, error)
- func (s *DomainRenewAction) SetContractAddress(val string)
- func (s *DomainRenewAction) SetDomain(val string)
- func (s *DomainRenewAction) SetRenewer(val AccountAddress)
- func (s *DomainRenewAction) UnmarshalJSON(data []byte) error
- type ElectionsDepositStakeAction
- func (s *ElectionsDepositStakeAction) Decode(d *jx.Decoder) error
- func (s *ElectionsDepositStakeAction) Encode(e *jx.Encoder)
- func (s *ElectionsDepositStakeAction) GetAmount() int64
- func (s *ElectionsDepositStakeAction) GetStaker() AccountAddress
- func (s *ElectionsDepositStakeAction) MarshalJSON() ([]byte, error)
- func (s *ElectionsDepositStakeAction) SetAmount(val int64)
- func (s *ElectionsDepositStakeAction) SetStaker(val AccountAddress)
- func (s *ElectionsDepositStakeAction) UnmarshalJSON(data []byte) error
- type ElectionsRecoverStakeAction
- func (s *ElectionsRecoverStakeAction) Decode(d *jx.Decoder) error
- func (s *ElectionsRecoverStakeAction) Encode(e *jx.Encoder)
- func (s *ElectionsRecoverStakeAction) GetAmount() int64
- func (s *ElectionsRecoverStakeAction) GetStaker() AccountAddress
- func (s *ElectionsRecoverStakeAction) MarshalJSON() ([]byte, error)
- func (s *ElectionsRecoverStakeAction) SetAmount(val int64)
- func (s *ElectionsRecoverStakeAction) SetStaker(val AccountAddress)
- func (s *ElectionsRecoverStakeAction) UnmarshalJSON(data []byte) 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 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 EmulateMessageToTraceParams
- 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 EmulateMessageToWalletParams
- type EmulateMessageToWalletReq
- func (s *EmulateMessageToWalletReq) Decode(d *jx.Decoder) error
- func (s *EmulateMessageToWalletReq) Encode(e *jx.Encoder)
- func (s *EmulateMessageToWalletReq) GetBoc() string
- func (s *EmulateMessageToWalletReq) GetParams() []EmulateMessageToWalletReqParamsItem
- func (s *EmulateMessageToWalletReq) MarshalJSON() ([]byte, error)
- func (s *EmulateMessageToWalletReq) SetBoc(val string)
- func (s *EmulateMessageToWalletReq) SetParams(val []EmulateMessageToWalletReqParamsItem)
- func (s *EmulateMessageToWalletReq) UnmarshalJSON(data []byte) error
- type EmulateMessageToWalletReqParamsItem
- func (s *EmulateMessageToWalletReqParamsItem) Decode(d *jx.Decoder) error
- func (s *EmulateMessageToWalletReqParamsItem) Encode(e *jx.Encoder)
- func (s *EmulateMessageToWalletReqParamsItem) GetAddress() string
- func (s *EmulateMessageToWalletReqParamsItem) GetBalance() OptInt64
- func (s *EmulateMessageToWalletReqParamsItem) MarshalJSON() ([]byte, error)
- func (s *EmulateMessageToWalletReqParamsItem) SetAddress(val string)
- func (s *EmulateMessageToWalletReqParamsItem) SetBalance(val OptInt64)
- func (s *EmulateMessageToWalletReqParamsItem) UnmarshalJSON(data []byte) error
- 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 Error
- type ErrorStatusCode
- 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 ExecGetMethodForBlockchainAccountParams
- 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) GetPreview() string
- func (s *FoundAccountsAddressesItem) MarshalJSON() ([]byte, error)
- func (s *FoundAccountsAddressesItem) SetAddress(val string)
- func (s *FoundAccountsAddressesItem) SetName(val string)
- func (s *FoundAccountsAddressesItem) SetPreview(val string)
- func (s *FoundAccountsAddressesItem) UnmarshalJSON(data []byte) error
- type GasLimitPrices
- func (s *GasLimitPrices) Decode(d *jx.Decoder) error
- func (s *GasLimitPrices) Encode(e *jx.Encoder)
- func (s *GasLimitPrices) GetBlockGasLimit() int64
- func (s *GasLimitPrices) GetDeleteDueLimit() int64
- func (s *GasLimitPrices) GetFlatGasLimit() OptInt64
- func (s *GasLimitPrices) GetFlatGasPrice() OptInt64
- func (s *GasLimitPrices) GetFreezeDueLimit() int64
- func (s *GasLimitPrices) GetGasCredit() int64
- func (s *GasLimitPrices) GetGasLimit() int64
- func (s *GasLimitPrices) GetGasPrice() int64
- func (s *GasLimitPrices) GetSpecialGasLimit() OptInt64
- func (s *GasLimitPrices) MarshalJSON() ([]byte, error)
- func (s *GasLimitPrices) SetBlockGasLimit(val int64)
- func (s *GasLimitPrices) SetDeleteDueLimit(val int64)
- func (s *GasLimitPrices) SetFlatGasLimit(val OptInt64)
- func (s *GasLimitPrices) SetFlatGasPrice(val OptInt64)
- func (s *GasLimitPrices) SetFreezeDueLimit(val int64)
- func (s *GasLimitPrices) SetGasCredit(val int64)
- func (s *GasLimitPrices) SetGasLimit(val int64)
- func (s *GasLimitPrices) SetGasPrice(val int64)
- func (s *GasLimitPrices) SetSpecialGasLimit(val OptInt64)
- func (s *GasLimitPrices) UnmarshalJSON(data []byte) error
- type GetAccountDiffOK
- func (s *GetAccountDiffOK) Decode(d *jx.Decoder) error
- func (s *GetAccountDiffOK) Encode(e *jx.Encoder)
- func (s *GetAccountDiffOK) GetBalanceChange() int64
- func (s *GetAccountDiffOK) MarshalJSON() ([]byte, error)
- func (s *GetAccountDiffOK) SetBalanceChange(val int64)
- func (s *GetAccountDiffOK) UnmarshalJSON(data []byte) error
- type GetAccountDiffParams
- type GetAccountDnsExpiringParams
- type GetAccountEventParams
- type GetAccountEventsParams
- 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 GetAccountJettonHistoryByIDParams
- type GetAccountJettonsBalancesParams
- type GetAccountJettonsHistoryParams
- type GetAccountNftHistoryParams
- type GetAccountNftItemsParams
- type GetAccountNominatorsPoolsParams
- type GetAccountParams
- type GetAccountPublicKeyOK
- func (s *GetAccountPublicKeyOK) Decode(d *jx.Decoder) error
- func (s *GetAccountPublicKeyOK) Encode(e *jx.Encoder)
- func (s *GetAccountPublicKeyOK) GetPublicKey() string
- func (s *GetAccountPublicKeyOK) MarshalJSON() ([]byte, error)
- func (s *GetAccountPublicKeyOK) SetPublicKey(val string)
- func (s *GetAccountPublicKeyOK) UnmarshalJSON(data []byte) error
- type GetAccountPublicKeyParams
- type GetAccountSeqnoParams
- type GetAccountSubscriptionsParams
- type GetAccountTracesParams
- 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 GetAllAuctionsParams
- type GetAllRawShardsInfoOK
- func (s *GetAllRawShardsInfoOK) Decode(d *jx.Decoder) error
- func (s *GetAllRawShardsInfoOK) Encode(e *jx.Encoder)
- func (s *GetAllRawShardsInfoOK) GetData() string
- func (s *GetAllRawShardsInfoOK) GetID() BlockRaw
- func (s *GetAllRawShardsInfoOK) GetProof() string
- func (s *GetAllRawShardsInfoOK) MarshalJSON() ([]byte, error)
- func (s *GetAllRawShardsInfoOK) SetData(val string)
- func (s *GetAllRawShardsInfoOK) SetID(val BlockRaw)
- func (s *GetAllRawShardsInfoOK) SetProof(val string)
- func (s *GetAllRawShardsInfoOK) UnmarshalJSON(data []byte) error
- type GetAllRawShardsInfoParams
- type GetBlockchainAccountTransactionsParams
- type GetBlockchainBlockParams
- type GetBlockchainBlockTransactionsParams
- type GetBlockchainConfigFromBlockParams
- type GetBlockchainMasterchainShardsParams
- type GetBlockchainRawAccountParams
- type GetBlockchainTransactionByMessageHashParams
- type GetBlockchainTransactionParams
- type GetChartRatesOK
- func (s *GetChartRatesOK) Decode(d *jx.Decoder) error
- func (s *GetChartRatesOK) Encode(e *jx.Encoder)
- func (s *GetChartRatesOK) GetPoints() jx.Raw
- func (s *GetChartRatesOK) MarshalJSON() ([]byte, error)
- func (s *GetChartRatesOK) SetPoints(val jx.Raw)
- func (s *GetChartRatesOK) UnmarshalJSON(data []byte) error
- type GetChartRatesParams
- type GetDnsInfoParams
- type GetDomainBidsParams
- type GetEventParams
- type GetItemsFromCollectionParams
- type GetJettonHoldersParams
- type GetJettonInfoParams
- type GetJettonsEventsParams
- type GetJettonsParams
- type GetNftCollectionParams
- type GetNftCollectionsParams
- type GetNftHistoryByIDParams
- type GetNftItemByAddressParams
- 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 GetRatesOK
- func (s *GetRatesOK) Decode(d *jx.Decoder) error
- func (s *GetRatesOK) Encode(e *jx.Encoder)
- func (s *GetRatesOK) GetRates() GetRatesOKRates
- func (s *GetRatesOK) MarshalJSON() ([]byte, error)
- func (s *GetRatesOK) SetRates(val GetRatesOKRates)
- func (s *GetRatesOK) UnmarshalJSON(data []byte) error
- func (s *GetRatesOK) Validate() error
- type GetRatesOKRates
- type GetRatesParams
- type GetRawAccountStateOK
- func (s *GetRawAccountStateOK) Decode(d *jx.Decoder) error
- func (s *GetRawAccountStateOK) Encode(e *jx.Encoder)
- func (s *GetRawAccountStateOK) GetID() BlockRaw
- func (s *GetRawAccountStateOK) GetProof() string
- func (s *GetRawAccountStateOK) GetShardProof() string
- func (s *GetRawAccountStateOK) GetShardblk() BlockRaw
- func (s *GetRawAccountStateOK) GetState() string
- func (s *GetRawAccountStateOK) MarshalJSON() ([]byte, error)
- func (s *GetRawAccountStateOK) SetID(val BlockRaw)
- func (s *GetRawAccountStateOK) SetProof(val string)
- func (s *GetRawAccountStateOK) SetShardProof(val string)
- func (s *GetRawAccountStateOK) SetShardblk(val BlockRaw)
- func (s *GetRawAccountStateOK) SetState(val string)
- func (s *GetRawAccountStateOK) UnmarshalJSON(data []byte) error
- type GetRawAccountStateParams
- type GetRawBlockProofOK
- func (s *GetRawBlockProofOK) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOK) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOK) GetComplete() bool
- func (s *GetRawBlockProofOK) GetFrom() BlockRaw
- func (s *GetRawBlockProofOK) GetSteps() []GetRawBlockProofOKStepsItem
- func (s *GetRawBlockProofOK) GetTo() BlockRaw
- func (s *GetRawBlockProofOK) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOK) SetComplete(val bool)
- func (s *GetRawBlockProofOK) SetFrom(val BlockRaw)
- func (s *GetRawBlockProofOK) SetSteps(val []GetRawBlockProofOKStepsItem)
- func (s *GetRawBlockProofOK) SetTo(val BlockRaw)
- func (s *GetRawBlockProofOK) UnmarshalJSON(data []byte) error
- func (s *GetRawBlockProofOK) Validate() error
- type GetRawBlockProofOKStepsItem
- func (s *GetRawBlockProofOKStepsItem) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOKStepsItem) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkBack() GetRawBlockProofOKStepsItemLiteServerBlockLinkBack
- func (s *GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkForward() GetRawBlockProofOKStepsItemLiteServerBlockLinkForward
- func (s *GetRawBlockProofOKStepsItem) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkBack(val GetRawBlockProofOKStepsItemLiteServerBlockLinkBack)
- func (s *GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkForward(val GetRawBlockProofOKStepsItemLiteServerBlockLinkForward)
- func (s *GetRawBlockProofOKStepsItem) UnmarshalJSON(data []byte) error
- func (s *GetRawBlockProofOKStepsItem) Validate() error
- type GetRawBlockProofOKStepsItemLiteServerBlockLinkBack
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetDestProof() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetFrom() BlockRaw
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetProof() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetStateProof() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetTo() BlockRaw
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock() bool
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetDestProof(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetFrom(val BlockRaw)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetProof(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetStateProof(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetTo(val BlockRaw)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock(val bool)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON(data []byte) error
- type GetRawBlockProofOKStepsItemLiteServerBlockLinkForward
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetConfigProof() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetDestProof() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetFrom() BlockRaw
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetSignatures() GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetTo() BlockRaw
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock() bool
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetConfigProof(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetDestProof(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetFrom(val BlockRaw)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetSignatures(val GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetTo(val BlockRaw)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock(val bool)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON(data []byte) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Validate() error
- type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno() uint32
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures() ...
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash() uint32
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno(val uint32)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures(...)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash(val uint32)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON(data []byte) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Validate() error
- type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode(d *jx.Decoder) error
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode(e *jx.Encoder)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature() string
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature(val string)
- func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON(data []byte) error
- type GetRawBlockProofParams
- type GetRawBlockchainBlockHeaderOK
- func (s *GetRawBlockchainBlockHeaderOK) Decode(d *jx.Decoder) error
- func (s *GetRawBlockchainBlockHeaderOK) Encode(e *jx.Encoder)
- func (s *GetRawBlockchainBlockHeaderOK) GetHeaderProof() string
- func (s *GetRawBlockchainBlockHeaderOK) GetID() BlockRaw
- func (s *GetRawBlockchainBlockHeaderOK) GetMode() uint32
- func (s *GetRawBlockchainBlockHeaderOK) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockchainBlockHeaderOK) SetHeaderProof(val string)
- func (s *GetRawBlockchainBlockHeaderOK) SetID(val BlockRaw)
- func (s *GetRawBlockchainBlockHeaderOK) SetMode(val uint32)
- func (s *GetRawBlockchainBlockHeaderOK) UnmarshalJSON(data []byte) error
- type GetRawBlockchainBlockHeaderParams
- type GetRawBlockchainBlockOK
- func (s *GetRawBlockchainBlockOK) Decode(d *jx.Decoder) error
- func (s *GetRawBlockchainBlockOK) Encode(e *jx.Encoder)
- func (s *GetRawBlockchainBlockOK) GetData() string
- func (s *GetRawBlockchainBlockOK) GetID() BlockRaw
- func (s *GetRawBlockchainBlockOK) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockchainBlockOK) SetData(val string)
- func (s *GetRawBlockchainBlockOK) SetID(val BlockRaw)
- func (s *GetRawBlockchainBlockOK) UnmarshalJSON(data []byte) error
- type GetRawBlockchainBlockParams
- type GetRawBlockchainBlockStateOK
- func (s *GetRawBlockchainBlockStateOK) Decode(d *jx.Decoder) error
- func (s *GetRawBlockchainBlockStateOK) Encode(e *jx.Encoder)
- func (s *GetRawBlockchainBlockStateOK) GetData() string
- func (s *GetRawBlockchainBlockStateOK) GetFileHash() string
- func (s *GetRawBlockchainBlockStateOK) GetID() BlockRaw
- func (s *GetRawBlockchainBlockStateOK) GetRootHash() string
- func (s *GetRawBlockchainBlockStateOK) MarshalJSON() ([]byte, error)
- func (s *GetRawBlockchainBlockStateOK) SetData(val string)
- func (s *GetRawBlockchainBlockStateOK) SetFileHash(val string)
- func (s *GetRawBlockchainBlockStateOK) SetID(val BlockRaw)
- func (s *GetRawBlockchainBlockStateOK) SetRootHash(val string)
- func (s *GetRawBlockchainBlockStateOK) UnmarshalJSON(data []byte) error
- type GetRawBlockchainBlockStateParams
- type GetRawBlockchainConfigFromBlockParams
- type GetRawConfigOK
- func (s *GetRawConfigOK) Decode(d *jx.Decoder) error
- func (s *GetRawConfigOK) Encode(e *jx.Encoder)
- func (s *GetRawConfigOK) GetConfigProof() string
- func (s *GetRawConfigOK) GetID() BlockRaw
- func (s *GetRawConfigOK) GetMode() uint32
- func (s *GetRawConfigOK) GetStateProof() string
- func (s *GetRawConfigOK) MarshalJSON() ([]byte, error)
- func (s *GetRawConfigOK) SetConfigProof(val string)
- func (s *GetRawConfigOK) SetID(val BlockRaw)
- func (s *GetRawConfigOK) SetMode(val uint32)
- func (s *GetRawConfigOK) SetStateProof(val string)
- func (s *GetRawConfigOK) UnmarshalJSON(data []byte) error
- type GetRawConfigParams
- type GetRawListBlockTransactionsOK
- func (s *GetRawListBlockTransactionsOK) Decode(d *jx.Decoder) error
- func (s *GetRawListBlockTransactionsOK) Encode(e *jx.Encoder)
- func (s *GetRawListBlockTransactionsOK) GetID() BlockRaw
- func (s *GetRawListBlockTransactionsOK) GetIds() []GetRawListBlockTransactionsOKIdsItem
- func (s *GetRawListBlockTransactionsOK) GetIncomplete() bool
- func (s *GetRawListBlockTransactionsOK) GetProof() string
- func (s *GetRawListBlockTransactionsOK) GetReqCount() uint32
- func (s *GetRawListBlockTransactionsOK) MarshalJSON() ([]byte, error)
- func (s *GetRawListBlockTransactionsOK) SetID(val BlockRaw)
- func (s *GetRawListBlockTransactionsOK) SetIds(val []GetRawListBlockTransactionsOKIdsItem)
- func (s *GetRawListBlockTransactionsOK) SetIncomplete(val bool)
- func (s *GetRawListBlockTransactionsOK) SetProof(val string)
- func (s *GetRawListBlockTransactionsOK) SetReqCount(val uint32)
- func (s *GetRawListBlockTransactionsOK) UnmarshalJSON(data []byte) error
- func (s *GetRawListBlockTransactionsOK) Validate() error
- type GetRawListBlockTransactionsOKIdsItem
- func (s *GetRawListBlockTransactionsOKIdsItem) Decode(d *jx.Decoder) error
- func (s *GetRawListBlockTransactionsOKIdsItem) Encode(e *jx.Encoder)
- func (s *GetRawListBlockTransactionsOKIdsItem) GetAccount() OptString
- func (s *GetRawListBlockTransactionsOKIdsItem) GetHash() OptString
- func (s *GetRawListBlockTransactionsOKIdsItem) GetLt() OptUint64
- func (s *GetRawListBlockTransactionsOKIdsItem) GetMode() uint32
- func (s *GetRawListBlockTransactionsOKIdsItem) MarshalJSON() ([]byte, error)
- func (s *GetRawListBlockTransactionsOKIdsItem) SetAccount(val OptString)
- func (s *GetRawListBlockTransactionsOKIdsItem) SetHash(val OptString)
- func (s *GetRawListBlockTransactionsOKIdsItem) SetLt(val OptUint64)
- func (s *GetRawListBlockTransactionsOKIdsItem) SetMode(val uint32)
- func (s *GetRawListBlockTransactionsOKIdsItem) UnmarshalJSON(data []byte) error
- type GetRawListBlockTransactionsParams
- type GetRawMasterchainInfoExtOK
- func (s *GetRawMasterchainInfoExtOK) Decode(d *jx.Decoder) error
- func (s *GetRawMasterchainInfoExtOK) Encode(e *jx.Encoder)
- func (s *GetRawMasterchainInfoExtOK) GetCapabilities() uint64
- func (s *GetRawMasterchainInfoExtOK) GetInit() InitStateRaw
- func (s *GetRawMasterchainInfoExtOK) GetLast() BlockRaw
- func (s *GetRawMasterchainInfoExtOK) GetLastUtime() uint32
- func (s *GetRawMasterchainInfoExtOK) GetMode() uint32
- func (s *GetRawMasterchainInfoExtOK) GetNow() uint32
- func (s *GetRawMasterchainInfoExtOK) GetStateRootHash() string
- func (s *GetRawMasterchainInfoExtOK) GetVersion() uint32
- func (s *GetRawMasterchainInfoExtOK) MarshalJSON() ([]byte, error)
- func (s *GetRawMasterchainInfoExtOK) SetCapabilities(val uint64)
- func (s *GetRawMasterchainInfoExtOK) SetInit(val InitStateRaw)
- func (s *GetRawMasterchainInfoExtOK) SetLast(val BlockRaw)
- func (s *GetRawMasterchainInfoExtOK) SetLastUtime(val uint32)
- func (s *GetRawMasterchainInfoExtOK) SetMode(val uint32)
- func (s *GetRawMasterchainInfoExtOK) SetNow(val uint32)
- func (s *GetRawMasterchainInfoExtOK) SetStateRootHash(val string)
- func (s *GetRawMasterchainInfoExtOK) SetVersion(val uint32)
- func (s *GetRawMasterchainInfoExtOK) UnmarshalJSON(data []byte) error
- type GetRawMasterchainInfoExtParams
- type GetRawMasterchainInfoOK
- func (s *GetRawMasterchainInfoOK) Decode(d *jx.Decoder) error
- func (s *GetRawMasterchainInfoOK) Encode(e *jx.Encoder)
- func (s *GetRawMasterchainInfoOK) GetInit() InitStateRaw
- func (s *GetRawMasterchainInfoOK) GetLast() BlockRaw
- func (s *GetRawMasterchainInfoOK) GetStateRootHash() string
- func (s *GetRawMasterchainInfoOK) MarshalJSON() ([]byte, error)
- func (s *GetRawMasterchainInfoOK) SetInit(val InitStateRaw)
- func (s *GetRawMasterchainInfoOK) SetLast(val BlockRaw)
- func (s *GetRawMasterchainInfoOK) SetStateRootHash(val string)
- func (s *GetRawMasterchainInfoOK) UnmarshalJSON(data []byte) error
- type GetRawShardBlockProofOK
- func (s *GetRawShardBlockProofOK) Decode(d *jx.Decoder) error
- func (s *GetRawShardBlockProofOK) Encode(e *jx.Encoder)
- func (s *GetRawShardBlockProofOK) GetLinks() []GetRawShardBlockProofOKLinksItem
- func (s *GetRawShardBlockProofOK) GetMasterchainID() BlockRaw
- func (s *GetRawShardBlockProofOK) MarshalJSON() ([]byte, error)
- func (s *GetRawShardBlockProofOK) SetLinks(val []GetRawShardBlockProofOKLinksItem)
- func (s *GetRawShardBlockProofOK) SetMasterchainID(val BlockRaw)
- func (s *GetRawShardBlockProofOK) UnmarshalJSON(data []byte) error
- func (s *GetRawShardBlockProofOK) Validate() error
- type GetRawShardBlockProofOKLinksItem
- func (s *GetRawShardBlockProofOKLinksItem) Decode(d *jx.Decoder) error
- func (s *GetRawShardBlockProofOKLinksItem) Encode(e *jx.Encoder)
- func (s *GetRawShardBlockProofOKLinksItem) GetID() BlockRaw
- func (s *GetRawShardBlockProofOKLinksItem) GetProof() string
- func (s *GetRawShardBlockProofOKLinksItem) MarshalJSON() ([]byte, error)
- func (s *GetRawShardBlockProofOKLinksItem) SetID(val BlockRaw)
- func (s *GetRawShardBlockProofOKLinksItem) SetProof(val string)
- func (s *GetRawShardBlockProofOKLinksItem) UnmarshalJSON(data []byte) error
- type GetRawShardBlockProofParams
- type GetRawShardInfoOK
- func (s *GetRawShardInfoOK) Decode(d *jx.Decoder) error
- func (s *GetRawShardInfoOK) Encode(e *jx.Encoder)
- func (s *GetRawShardInfoOK) GetID() BlockRaw
- func (s *GetRawShardInfoOK) GetShardDescr() string
- func (s *GetRawShardInfoOK) GetShardProof() string
- func (s *GetRawShardInfoOK) GetShardblk() BlockRaw
- func (s *GetRawShardInfoOK) MarshalJSON() ([]byte, error)
- func (s *GetRawShardInfoOK) SetID(val BlockRaw)
- func (s *GetRawShardInfoOK) SetShardDescr(val string)
- func (s *GetRawShardInfoOK) SetShardProof(val string)
- func (s *GetRawShardInfoOK) SetShardblk(val BlockRaw)
- func (s *GetRawShardInfoOK) UnmarshalJSON(data []byte) error
- type GetRawShardInfoParams
- type GetRawTimeOK
- type GetRawTransactionsOK
- func (s *GetRawTransactionsOK) Decode(d *jx.Decoder) error
- func (s *GetRawTransactionsOK) Encode(e *jx.Encoder)
- func (s *GetRawTransactionsOK) GetIds() []BlockRaw
- func (s *GetRawTransactionsOK) GetTransactions() string
- func (s *GetRawTransactionsOK) MarshalJSON() ([]byte, error)
- func (s *GetRawTransactionsOK) SetIds(val []BlockRaw)
- func (s *GetRawTransactionsOK) SetTransactions(val string)
- func (s *GetRawTransactionsOK) UnmarshalJSON(data []byte) error
- func (s *GetRawTransactionsOK) Validate() error
- type GetRawTransactionsParams
- type GetStakingPoolHistoryOK
- func (s *GetStakingPoolHistoryOK) Decode(d *jx.Decoder) error
- func (s *GetStakingPoolHistoryOK) Encode(e *jx.Encoder)
- func (s *GetStakingPoolHistoryOK) GetApy() []ApyHistory
- func (s *GetStakingPoolHistoryOK) MarshalJSON() ([]byte, error)
- func (s *GetStakingPoolHistoryOK) SetApy(val []ApyHistory)
- func (s *GetStakingPoolHistoryOK) UnmarshalJSON(data []byte) error
- func (s *GetStakingPoolHistoryOK) Validate() error
- type GetStakingPoolHistoryParams
- type GetStakingPoolInfoOK
- func (s *GetStakingPoolInfoOK) Decode(d *jx.Decoder) error
- func (s *GetStakingPoolInfoOK) Encode(e *jx.Encoder)
- func (s *GetStakingPoolInfoOK) GetImplementation() PoolImplementation
- func (s *GetStakingPoolInfoOK) GetPool() PoolInfo
- func (s *GetStakingPoolInfoOK) MarshalJSON() ([]byte, error)
- func (s *GetStakingPoolInfoOK) SetImplementation(val PoolImplementation)
- func (s *GetStakingPoolInfoOK) SetPool(val PoolInfo)
- func (s *GetStakingPoolInfoOK) UnmarshalJSON(data []byte) error
- func (s *GetStakingPoolInfoOK) Validate() error
- type GetStakingPoolInfoParams
- type GetStakingPoolsOK
- func (s *GetStakingPoolsOK) Decode(d *jx.Decoder) error
- func (s *GetStakingPoolsOK) Encode(e *jx.Encoder)
- func (s *GetStakingPoolsOK) GetImplementations() GetStakingPoolsOKImplementations
- func (s *GetStakingPoolsOK) GetPools() []PoolInfo
- func (s *GetStakingPoolsOK) MarshalJSON() ([]byte, error)
- func (s *GetStakingPoolsOK) SetImplementations(val GetStakingPoolsOKImplementations)
- func (s *GetStakingPoolsOK) SetPools(val []PoolInfo)
- func (s *GetStakingPoolsOK) UnmarshalJSON(data []byte) error
- func (s *GetStakingPoolsOK) Validate() error
- type GetStakingPoolsOKImplementations
- func (s *GetStakingPoolsOKImplementations) Decode(d *jx.Decoder) error
- func (s GetStakingPoolsOKImplementations) Encode(e *jx.Encoder)
- func (s GetStakingPoolsOKImplementations) MarshalJSON() ([]byte, error)
- func (s *GetStakingPoolsOKImplementations) UnmarshalJSON(data []byte) error
- func (s GetStakingPoolsOKImplementations) Validate() error
- type GetStakingPoolsParams
- 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 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 GetTraceParams
- 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 GetWalletsByPublicKeyParams
- 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 Invoker
- 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) GetPrice() OptTokenRates
- 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) SetPrice(val OptTokenRates)
- func (s *JettonBalance) SetWalletAddress(val AccountAddress)
- func (s *JettonBalance) UnmarshalJSON(data []byte) error
- func (s *JettonBalance) Validate() error
- type JettonBridgeParams
- func (s *JettonBridgeParams) Decode(d *jx.Decoder) error
- func (s *JettonBridgeParams) Encode(e *jx.Encoder)
- func (s *JettonBridgeParams) GetBridgeAddress() string
- func (s *JettonBridgeParams) GetBurnBridgeFee() OptInt64
- func (s *JettonBridgeParams) GetExternalChainAddress() OptString
- func (s *JettonBridgeParams) GetOracles() []Oracle
- func (s *JettonBridgeParams) GetOraclesAddress() string
- func (s *JettonBridgeParams) GetPrices() OptJettonBridgePrices
- func (s *JettonBridgeParams) GetStateFlags() int
- func (s *JettonBridgeParams) MarshalJSON() ([]byte, error)
- func (s *JettonBridgeParams) SetBridgeAddress(val string)
- func (s *JettonBridgeParams) SetBurnBridgeFee(val OptInt64)
- func (s *JettonBridgeParams) SetExternalChainAddress(val OptString)
- func (s *JettonBridgeParams) SetOracles(val []Oracle)
- func (s *JettonBridgeParams) SetOraclesAddress(val string)
- func (s *JettonBridgeParams) SetPrices(val OptJettonBridgePrices)
- func (s *JettonBridgeParams) SetStateFlags(val int)
- func (s *JettonBridgeParams) UnmarshalJSON(data []byte) error
- func (s *JettonBridgeParams) Validate() error
- type JettonBridgePrices
- func (s *JettonBridgePrices) Decode(d *jx.Decoder) error
- func (s *JettonBridgePrices) Encode(e *jx.Encoder)
- func (s *JettonBridgePrices) GetBridgeBurnFee() int64
- func (s *JettonBridgePrices) GetBridgeMintFee() int64
- func (s *JettonBridgePrices) GetDiscoverGasConsumption() int64
- func (s *JettonBridgePrices) GetMinterMinTonsForStorage() int64
- func (s *JettonBridgePrices) GetWalletGasConsumption() int64
- func (s *JettonBridgePrices) GetWalletMinTonsForStorage() int64
- func (s *JettonBridgePrices) MarshalJSON() ([]byte, error)
- func (s *JettonBridgePrices) SetBridgeBurnFee(val int64)
- func (s *JettonBridgePrices) SetBridgeMintFee(val int64)
- func (s *JettonBridgePrices) SetDiscoverGasConsumption(val int64)
- func (s *JettonBridgePrices) SetMinterMinTonsForStorage(val int64)
- func (s *JettonBridgePrices) SetWalletGasConsumption(val int64)
- func (s *JettonBridgePrices) SetWalletMinTonsForStorage(val int64)
- func (s *JettonBridgePrices) UnmarshalJSON(data []byte) error
- type JettonBurnAction
- func (s *JettonBurnAction) Decode(d *jx.Decoder) error
- func (s *JettonBurnAction) Encode(e *jx.Encoder)
- func (s *JettonBurnAction) GetAmount() string
- func (s *JettonBurnAction) GetJetton() JettonPreview
- func (s *JettonBurnAction) GetSender() AccountAddress
- func (s *JettonBurnAction) GetSendersWallet() string
- func (s *JettonBurnAction) MarshalJSON() ([]byte, error)
- func (s *JettonBurnAction) SetAmount(val string)
- func (s *JettonBurnAction) SetJetton(val JettonPreview)
- func (s *JettonBurnAction) SetSender(val AccountAddress)
- func (s *JettonBurnAction) SetSendersWallet(val string)
- func (s *JettonBurnAction) UnmarshalJSON(data []byte) error
- func (s *JettonBurnAction) Validate() error
- type JettonHolders
- func (s *JettonHolders) Decode(d *jx.Decoder) error
- func (s *JettonHolders) Encode(e *jx.Encoder)
- func (s *JettonHolders) GetAddresses() []JettonHoldersAddressesItem
- func (s *JettonHolders) MarshalJSON() ([]byte, error)
- func (s *JettonHolders) SetAddresses(val []JettonHoldersAddressesItem)
- func (s *JettonHolders) UnmarshalJSON(data []byte) error
- func (s *JettonHolders) Validate() error
- type JettonHoldersAddressesItem
- func (s *JettonHoldersAddressesItem) Decode(d *jx.Decoder) error
- func (s *JettonHoldersAddressesItem) Encode(e *jx.Encoder)
- func (s *JettonHoldersAddressesItem) GetAddress() string
- func (s *JettonHoldersAddressesItem) GetBalance() string
- func (s *JettonHoldersAddressesItem) GetOwner() AccountAddress
- func (s *JettonHoldersAddressesItem) MarshalJSON() ([]byte, error)
- func (s *JettonHoldersAddressesItem) SetAddress(val string)
- func (s *JettonHoldersAddressesItem) SetBalance(val string)
- func (s *JettonHoldersAddressesItem) SetOwner(val AccountAddress)
- func (s *JettonHoldersAddressesItem) UnmarshalJSON(data []byte) error
- type JettonInfo
- func (s *JettonInfo) Decode(d *jx.Decoder) error
- func (s *JettonInfo) Encode(e *jx.Encoder)
- func (s *JettonInfo) GetHoldersCount() int32
- 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) SetHoldersCount(val int32)
- 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 JettonMintAction
- func (s *JettonMintAction) Decode(d *jx.Decoder) error
- func (s *JettonMintAction) Encode(e *jx.Encoder)
- func (s *JettonMintAction) GetAmount() string
- func (s *JettonMintAction) GetJetton() JettonPreview
- func (s *JettonMintAction) GetRecipient() AccountAddress
- func (s *JettonMintAction) GetRecipientsWallet() string
- func (s *JettonMintAction) MarshalJSON() ([]byte, error)
- func (s *JettonMintAction) SetAmount(val string)
- func (s *JettonMintAction) SetJetton(val JettonPreview)
- func (s *JettonMintAction) SetRecipient(val AccountAddress)
- func (s *JettonMintAction) SetRecipientsWallet(val string)
- func (s *JettonMintAction) UnmarshalJSON(data []byte) error
- func (s *JettonMintAction) Validate() 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 JettonSwapAction
- func (s *JettonSwapAction) Decode(d *jx.Decoder) error
- func (s *JettonSwapAction) Encode(e *jx.Encoder)
- func (s *JettonSwapAction) GetAmountIn() string
- func (s *JettonSwapAction) GetAmountOut() string
- func (s *JettonSwapAction) GetDex() JettonSwapActionDex
- func (s *JettonSwapAction) GetJettonMasterIn() OptJettonPreview
- func (s *JettonSwapAction) GetJettonMasterOut() OptJettonPreview
- func (s *JettonSwapAction) GetRouter() AccountAddress
- func (s *JettonSwapAction) GetTonIn() OptInt64
- func (s *JettonSwapAction) GetTonOut() OptInt64
- func (s *JettonSwapAction) GetUserWallet() AccountAddress
- func (s *JettonSwapAction) MarshalJSON() ([]byte, error)
- func (s *JettonSwapAction) SetAmountIn(val string)
- func (s *JettonSwapAction) SetAmountOut(val string)
- func (s *JettonSwapAction) SetDex(val JettonSwapActionDex)
- func (s *JettonSwapAction) SetJettonMasterIn(val OptJettonPreview)
- func (s *JettonSwapAction) SetJettonMasterOut(val OptJettonPreview)
- func (s *JettonSwapAction) SetRouter(val AccountAddress)
- func (s *JettonSwapAction) SetTonIn(val OptInt64)
- func (s *JettonSwapAction) SetTonOut(val OptInt64)
- func (s *JettonSwapAction) SetUserWallet(val AccountAddress)
- func (s *JettonSwapAction) UnmarshalJSON(data []byte) error
- func (s *JettonSwapAction) Validate() error
- type JettonSwapActionDex
- func (JettonSwapActionDex) AllValues() []JettonSwapActionDex
- func (s *JettonSwapActionDex) Decode(d *jx.Decoder) error
- func (s JettonSwapActionDex) Encode(e *jx.Encoder)
- func (s JettonSwapActionDex) MarshalJSON() ([]byte, error)
- func (s JettonSwapActionDex) MarshalText() ([]byte, error)
- func (s *JettonSwapActionDex) UnmarshalJSON(data []byte) error
- func (s *JettonSwapActionDex) UnmarshalText(data []byte) error
- func (s JettonSwapActionDex) 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
- func (JettonVerificationType) AllValues() []JettonVerificationType
- func (s *JettonVerificationType) Decode(d *jx.Decoder) error
- func (s JettonVerificationType) Encode(e *jx.Encoder)
- func (s JettonVerificationType) MarshalJSON() ([]byte, error)
- func (s JettonVerificationType) MarshalText() ([]byte, error)
- func (s *JettonVerificationType) UnmarshalJSON(data []byte) error
- func (s *JettonVerificationType) UnmarshalText(data []byte) error
- func (s JettonVerificationType) Validate() error
- 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 JsonRPCRequest
- type JsonRPCResponse
- type Logger
- type MempoolEventData
- type MempoolHandler
- 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) GetHash() string
- func (s *Message) GetIhrDisabled() bool
- func (s *Message) GetIhrFee() int64
- func (s *Message) GetImportFee() int64
- func (s *Message) GetInit() OptStateInit
- func (s *Message) GetMsgType() MessageMsgType
- 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) SetHash(val string)
- 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) SetMsgType(val MessageMsgType)
- 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
- func (s *Message) Validate() 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 MessageMsgType
- func (MessageMsgType) AllValues() []MessageMsgType
- func (s *MessageMsgType) Decode(d *jx.Decoder) error
- func (s MessageMsgType) Encode(e *jx.Encoder)
- func (s MessageMsgType) MarshalJSON() ([]byte, error)
- func (s MessageMsgType) MarshalText() ([]byte, error)
- func (s *MessageMsgType) UnmarshalJSON(data []byte) error
- func (s *MessageMsgType) UnmarshalText(data []byte) error
- func (s MessageMsgType) 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 MisbehaviourPunishmentConfig
- func (s *MisbehaviourPunishmentConfig) Decode(d *jx.Decoder) error
- func (s *MisbehaviourPunishmentConfig) Encode(e *jx.Encoder)
- func (s *MisbehaviourPunishmentConfig) GetDefaultFlatFine() int64
- func (s *MisbehaviourPunishmentConfig) GetDefaultProportionalFine() int64
- func (s *MisbehaviourPunishmentConfig) GetLongFlatMult() int
- func (s *MisbehaviourPunishmentConfig) GetLongInterval() int
- func (s *MisbehaviourPunishmentConfig) GetLongProportionalMult() int
- func (s *MisbehaviourPunishmentConfig) GetMediumFlatMult() int
- func (s *MisbehaviourPunishmentConfig) GetMediumInterval() int
- func (s *MisbehaviourPunishmentConfig) GetMediumProportionalMult() int
- func (s *MisbehaviourPunishmentConfig) GetSeverityFlatMult() int
- func (s *MisbehaviourPunishmentConfig) GetSeverityProportionalMult() int
- func (s *MisbehaviourPunishmentConfig) GetUnpunishableInterval() int
- func (s *MisbehaviourPunishmentConfig) MarshalJSON() ([]byte, error)
- func (s *MisbehaviourPunishmentConfig) SetDefaultFlatFine(val int64)
- func (s *MisbehaviourPunishmentConfig) SetDefaultProportionalFine(val int64)
- func (s *MisbehaviourPunishmentConfig) SetLongFlatMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetLongInterval(val int)
- func (s *MisbehaviourPunishmentConfig) SetLongProportionalMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetMediumFlatMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetMediumInterval(val int)
- func (s *MisbehaviourPunishmentConfig) SetMediumProportionalMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetSeverityFlatMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetSeverityProportionalMult(val int)
- func (s *MisbehaviourPunishmentConfig) SetUnpunishableInterval(val int)
- func (s *MisbehaviourPunishmentConfig) UnmarshalJSON(data []byte) error
- type MsgForwardPrices
- func (s *MsgForwardPrices) Decode(d *jx.Decoder) error
- func (s *MsgForwardPrices) Encode(e *jx.Encoder)
- func (s *MsgForwardPrices) GetBitPrice() int64
- func (s *MsgForwardPrices) GetCellPrice() int64
- func (s *MsgForwardPrices) GetFirstFrac() int64
- func (s *MsgForwardPrices) GetIhrPriceFactor() int64
- func (s *MsgForwardPrices) GetLumpPrice() int64
- func (s *MsgForwardPrices) GetNextFrac() int64
- func (s *MsgForwardPrices) MarshalJSON() ([]byte, error)
- func (s *MsgForwardPrices) SetBitPrice(val int64)
- func (s *MsgForwardPrices) SetCellPrice(val int64)
- func (s *MsgForwardPrices) SetFirstFrac(val int64)
- func (s *MsgForwardPrices) SetIhrPriceFactor(val int64)
- func (s *MsgForwardPrices) SetLumpPrice(val int64)
- func (s *MsgForwardPrices) SetNextFrac(val int64)
- func (s *MsgForwardPrices) UnmarshalJSON(data []byte) error
- type NftApprovedBy
- type NftApprovedByItem
- func (NftApprovedByItem) AllValues() []NftApprovedByItem
- func (s *NftApprovedByItem) Decode(d *jx.Decoder) error
- func (s NftApprovedByItem) Encode(e *jx.Encoder)
- func (s NftApprovedByItem) MarshalJSON() ([]byte, error)
- func (s NftApprovedByItem) MarshalText() ([]byte, error)
- func (s *NftApprovedByItem) UnmarshalJSON(data []byte) error
- func (s *NftApprovedByItem) UnmarshalText(data []byte) error
- func (s NftApprovedByItem) Validate() error
- 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) GetApprovedBy() NftApprovedBy
- func (s *NftCollection) GetMetadata() OptNftCollectionMetadata
- func (s *NftCollection) GetNextItemIndex() int64
- func (s *NftCollection) GetOwner() OptAccountAddress
- func (s *NftCollection) GetPreviews() []ImagePreview
- func (s *NftCollection) GetRawCollectionContent() string
- func (s *NftCollection) MarshalJSON() ([]byte, error)
- func (s *NftCollection) SetAddress(val string)
- func (s *NftCollection) SetApprovedBy(val NftApprovedBy)
- func (s *NftCollection) SetMetadata(val OptNftCollectionMetadata)
- func (s *NftCollection) SetNextItemIndex(val int64)
- func (s *NftCollection) SetOwner(val OptAccountAddress)
- func (s *NftCollection) SetPreviews(val []ImagePreview)
- func (s *NftCollection) SetRawCollectionContent(val string)
- func (s *NftCollection) UnmarshalJSON(data []byte) error
- func (s *NftCollection) Validate() 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() NftApprovedBy
- 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 NftApprovedBy)
- 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 NftItemCollection
- func (s *NftItemCollection) Decode(d *jx.Decoder) error
- func (s *NftItemCollection) Encode(e *jx.Encoder)
- func (s *NftItemCollection) GetAddress() string
- func (s *NftItemCollection) GetDescription() string
- func (s *NftItemCollection) GetName() string
- func (s *NftItemCollection) MarshalJSON() ([]byte, error)
- func (s *NftItemCollection) SetAddress(val string)
- func (s *NftItemCollection) SetDescription(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 (NftPurchaseActionAuctionType) AllValues() []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) MarshalText() ([]byte, error)
- func (s *NftPurchaseActionAuctionType) UnmarshalJSON(data []byte) error
- func (s *NftPurchaseActionAuctionType) UnmarshalText(data []byte) error
- func (s NftPurchaseActionAuctionType) Validate() error
- 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 OptBlockCurrencyCollection
- func (o *OptBlockCurrencyCollection) Decode(d *jx.Decoder) error
- func (o OptBlockCurrencyCollection) Encode(e *jx.Encoder)
- func (o OptBlockCurrencyCollection) Get() (v BlockCurrencyCollection, ok bool)
- func (o OptBlockCurrencyCollection) IsSet() bool
- func (s OptBlockCurrencyCollection) MarshalJSON() ([]byte, error)
- func (o OptBlockCurrencyCollection) Or(d BlockCurrencyCollection) BlockCurrencyCollection
- func (o *OptBlockCurrencyCollection) Reset()
- func (o *OptBlockCurrencyCollection) SetTo(v BlockCurrencyCollection)
- func (s *OptBlockCurrencyCollection) UnmarshalJSON(data []byte) error
- type OptBlockchainAccountInspectCompiler
- func (o *OptBlockchainAccountInspectCompiler) Decode(d *jx.Decoder) error
- func (o OptBlockchainAccountInspectCompiler) Encode(e *jx.Encoder)
- func (o OptBlockchainAccountInspectCompiler) Get() (v BlockchainAccountInspectCompiler, ok bool)
- func (o OptBlockchainAccountInspectCompiler) IsSet() bool
- func (s OptBlockchainAccountInspectCompiler) MarshalJSON() ([]byte, error)
- func (o OptBlockchainAccountInspectCompiler) Or(d BlockchainAccountInspectCompiler) BlockchainAccountInspectCompiler
- func (o *OptBlockchainAccountInspectCompiler) Reset()
- func (o *OptBlockchainAccountInspectCompiler) SetTo(v BlockchainAccountInspectCompiler)
- func (s *OptBlockchainAccountInspectCompiler) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig10
- func (o *OptBlockchainConfig10) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig10) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig10) Get() (v BlockchainConfig10, ok bool)
- func (o OptBlockchainConfig10) IsSet() bool
- func (s OptBlockchainConfig10) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig10) Or(d BlockchainConfig10) BlockchainConfig10
- func (o *OptBlockchainConfig10) Reset()
- func (o *OptBlockchainConfig10) SetTo(v BlockchainConfig10)
- func (s *OptBlockchainConfig10) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig11
- func (o *OptBlockchainConfig11) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig11) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig11) Get() (v BlockchainConfig11, ok bool)
- func (o OptBlockchainConfig11) IsSet() bool
- func (s OptBlockchainConfig11) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig11) Or(d BlockchainConfig11) BlockchainConfig11
- func (o *OptBlockchainConfig11) Reset()
- func (o *OptBlockchainConfig11) SetTo(v BlockchainConfig11)
- func (s *OptBlockchainConfig11) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig12
- func (o *OptBlockchainConfig12) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig12) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig12) Get() (v BlockchainConfig12, ok bool)
- func (o OptBlockchainConfig12) IsSet() bool
- func (s OptBlockchainConfig12) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig12) Or(d BlockchainConfig12) BlockchainConfig12
- func (o *OptBlockchainConfig12) Reset()
- func (o *OptBlockchainConfig12) SetTo(v BlockchainConfig12)
- func (s *OptBlockchainConfig12) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig13
- func (o *OptBlockchainConfig13) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig13) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig13) Get() (v BlockchainConfig13, ok bool)
- func (o OptBlockchainConfig13) IsSet() bool
- func (s OptBlockchainConfig13) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig13) Or(d BlockchainConfig13) BlockchainConfig13
- func (o *OptBlockchainConfig13) Reset()
- func (o *OptBlockchainConfig13) SetTo(v BlockchainConfig13)
- func (s *OptBlockchainConfig13) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig14
- func (o *OptBlockchainConfig14) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig14) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig14) Get() (v BlockchainConfig14, ok bool)
- func (o OptBlockchainConfig14) IsSet() bool
- func (s OptBlockchainConfig14) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig14) Or(d BlockchainConfig14) BlockchainConfig14
- func (o *OptBlockchainConfig14) Reset()
- func (o *OptBlockchainConfig14) SetTo(v BlockchainConfig14)
- func (s *OptBlockchainConfig14) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig15
- func (o *OptBlockchainConfig15) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig15) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig15) Get() (v BlockchainConfig15, ok bool)
- func (o OptBlockchainConfig15) IsSet() bool
- func (s OptBlockchainConfig15) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig15) Or(d BlockchainConfig15) BlockchainConfig15
- func (o *OptBlockchainConfig15) Reset()
- func (o *OptBlockchainConfig15) SetTo(v BlockchainConfig15)
- func (s *OptBlockchainConfig15) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig16
- func (o *OptBlockchainConfig16) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig16) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig16) Get() (v BlockchainConfig16, ok bool)
- func (o OptBlockchainConfig16) IsSet() bool
- func (s OptBlockchainConfig16) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig16) Or(d BlockchainConfig16) BlockchainConfig16
- func (o *OptBlockchainConfig16) Reset()
- func (o *OptBlockchainConfig16) SetTo(v BlockchainConfig16)
- func (s *OptBlockchainConfig16) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig17
- func (o *OptBlockchainConfig17) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig17) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig17) Get() (v BlockchainConfig17, ok bool)
- func (o OptBlockchainConfig17) IsSet() bool
- func (s OptBlockchainConfig17) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig17) Or(d BlockchainConfig17) BlockchainConfig17
- func (o *OptBlockchainConfig17) Reset()
- func (o *OptBlockchainConfig17) SetTo(v BlockchainConfig17)
- func (s *OptBlockchainConfig17) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig18
- func (o *OptBlockchainConfig18) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig18) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig18) Get() (v BlockchainConfig18, ok bool)
- func (o OptBlockchainConfig18) IsSet() bool
- func (s OptBlockchainConfig18) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig18) Or(d BlockchainConfig18) BlockchainConfig18
- func (o *OptBlockchainConfig18) Reset()
- func (o *OptBlockchainConfig18) SetTo(v BlockchainConfig18)
- func (s *OptBlockchainConfig18) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig20
- func (o *OptBlockchainConfig20) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig20) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig20) Get() (v BlockchainConfig20, ok bool)
- func (o OptBlockchainConfig20) IsSet() bool
- func (s OptBlockchainConfig20) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig20) Or(d BlockchainConfig20) BlockchainConfig20
- func (o *OptBlockchainConfig20) Reset()
- func (o *OptBlockchainConfig20) SetTo(v BlockchainConfig20)
- func (s *OptBlockchainConfig20) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig21
- func (o *OptBlockchainConfig21) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig21) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig21) Get() (v BlockchainConfig21, ok bool)
- func (o OptBlockchainConfig21) IsSet() bool
- func (s OptBlockchainConfig21) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig21) Or(d BlockchainConfig21) BlockchainConfig21
- func (o *OptBlockchainConfig21) Reset()
- func (o *OptBlockchainConfig21) SetTo(v BlockchainConfig21)
- func (s *OptBlockchainConfig21) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig22
- func (o *OptBlockchainConfig22) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig22) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig22) Get() (v BlockchainConfig22, ok bool)
- func (o OptBlockchainConfig22) IsSet() bool
- func (s OptBlockchainConfig22) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig22) Or(d BlockchainConfig22) BlockchainConfig22
- func (o *OptBlockchainConfig22) Reset()
- func (o *OptBlockchainConfig22) SetTo(v BlockchainConfig22)
- func (s *OptBlockchainConfig22) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig23
- func (o *OptBlockchainConfig23) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig23) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig23) Get() (v BlockchainConfig23, ok bool)
- func (o OptBlockchainConfig23) IsSet() bool
- func (s OptBlockchainConfig23) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig23) Or(d BlockchainConfig23) BlockchainConfig23
- func (o *OptBlockchainConfig23) Reset()
- func (o *OptBlockchainConfig23) SetTo(v BlockchainConfig23)
- func (s *OptBlockchainConfig23) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig24
- func (o *OptBlockchainConfig24) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig24) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig24) Get() (v BlockchainConfig24, ok bool)
- func (o OptBlockchainConfig24) IsSet() bool
- func (s OptBlockchainConfig24) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig24) Or(d BlockchainConfig24) BlockchainConfig24
- func (o *OptBlockchainConfig24) Reset()
- func (o *OptBlockchainConfig24) SetTo(v BlockchainConfig24)
- func (s *OptBlockchainConfig24) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig25
- func (o *OptBlockchainConfig25) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig25) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig25) Get() (v BlockchainConfig25, ok bool)
- func (o OptBlockchainConfig25) IsSet() bool
- func (s OptBlockchainConfig25) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig25) Or(d BlockchainConfig25) BlockchainConfig25
- func (o *OptBlockchainConfig25) Reset()
- func (o *OptBlockchainConfig25) SetTo(v BlockchainConfig25)
- func (s *OptBlockchainConfig25) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig28
- func (o *OptBlockchainConfig28) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig28) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig28) Get() (v BlockchainConfig28, ok bool)
- func (o OptBlockchainConfig28) IsSet() bool
- func (s OptBlockchainConfig28) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig28) Or(d BlockchainConfig28) BlockchainConfig28
- func (o *OptBlockchainConfig28) Reset()
- func (o *OptBlockchainConfig28) SetTo(v BlockchainConfig28)
- func (s *OptBlockchainConfig28) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig29
- func (o *OptBlockchainConfig29) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig29) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig29) Get() (v BlockchainConfig29, ok bool)
- func (o OptBlockchainConfig29) IsSet() bool
- func (s OptBlockchainConfig29) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig29) Or(d BlockchainConfig29) BlockchainConfig29
- func (o *OptBlockchainConfig29) Reset()
- func (o *OptBlockchainConfig29) SetTo(v BlockchainConfig29)
- func (s *OptBlockchainConfig29) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig31
- func (o *OptBlockchainConfig31) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig31) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig31) Get() (v BlockchainConfig31, ok bool)
- func (o OptBlockchainConfig31) IsSet() bool
- func (s OptBlockchainConfig31) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig31) Or(d BlockchainConfig31) BlockchainConfig31
- func (o *OptBlockchainConfig31) Reset()
- func (o *OptBlockchainConfig31) SetTo(v BlockchainConfig31)
- func (s *OptBlockchainConfig31) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig40
- func (o *OptBlockchainConfig40) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig40) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig40) Get() (v BlockchainConfig40, ok bool)
- func (o OptBlockchainConfig40) IsSet() bool
- func (s OptBlockchainConfig40) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig40) Or(d BlockchainConfig40) BlockchainConfig40
- func (o *OptBlockchainConfig40) Reset()
- func (o *OptBlockchainConfig40) SetTo(v BlockchainConfig40)
- func (s *OptBlockchainConfig40) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig43
- func (o *OptBlockchainConfig43) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig43) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig43) Get() (v BlockchainConfig43, ok bool)
- func (o OptBlockchainConfig43) IsSet() bool
- func (s OptBlockchainConfig43) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig43) Or(d BlockchainConfig43) BlockchainConfig43
- func (o *OptBlockchainConfig43) Reset()
- func (o *OptBlockchainConfig43) SetTo(v BlockchainConfig43)
- func (s *OptBlockchainConfig43) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig5
- func (o *OptBlockchainConfig5) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig5) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig5) Get() (v BlockchainConfig5, ok bool)
- func (o OptBlockchainConfig5) IsSet() bool
- func (s OptBlockchainConfig5) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig5) Or(d BlockchainConfig5) BlockchainConfig5
- func (o *OptBlockchainConfig5) Reset()
- func (o *OptBlockchainConfig5) SetTo(v BlockchainConfig5)
- func (s *OptBlockchainConfig5) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig6
- func (o *OptBlockchainConfig6) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig6) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig6) Get() (v BlockchainConfig6, ok bool)
- func (o OptBlockchainConfig6) IsSet() bool
- func (s OptBlockchainConfig6) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig6) Or(d BlockchainConfig6) BlockchainConfig6
- func (o *OptBlockchainConfig6) Reset()
- func (o *OptBlockchainConfig6) SetTo(v BlockchainConfig6)
- func (s *OptBlockchainConfig6) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig7
- func (o *OptBlockchainConfig7) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig7) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig7) Get() (v BlockchainConfig7, ok bool)
- func (o OptBlockchainConfig7) IsSet() bool
- func (s OptBlockchainConfig7) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig7) Or(d BlockchainConfig7) BlockchainConfig7
- func (o *OptBlockchainConfig7) Reset()
- func (o *OptBlockchainConfig7) SetTo(v BlockchainConfig7)
- func (s *OptBlockchainConfig7) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig71
- func (o *OptBlockchainConfig71) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig71) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig71) Get() (v BlockchainConfig71, ok bool)
- func (o OptBlockchainConfig71) IsSet() bool
- func (s OptBlockchainConfig71) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig71) Or(d BlockchainConfig71) BlockchainConfig71
- func (o *OptBlockchainConfig71) Reset()
- func (o *OptBlockchainConfig71) SetTo(v BlockchainConfig71)
- func (s *OptBlockchainConfig71) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig72
- func (o *OptBlockchainConfig72) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig72) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig72) Get() (v BlockchainConfig72, ok bool)
- func (o OptBlockchainConfig72) IsSet() bool
- func (s OptBlockchainConfig72) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig72) Or(d BlockchainConfig72) BlockchainConfig72
- func (o *OptBlockchainConfig72) Reset()
- func (o *OptBlockchainConfig72) SetTo(v BlockchainConfig72)
- func (s *OptBlockchainConfig72) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig73
- func (o *OptBlockchainConfig73) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig73) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig73) Get() (v BlockchainConfig73, ok bool)
- func (o OptBlockchainConfig73) IsSet() bool
- func (s OptBlockchainConfig73) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig73) Or(d BlockchainConfig73) BlockchainConfig73
- func (o *OptBlockchainConfig73) Reset()
- func (o *OptBlockchainConfig73) SetTo(v BlockchainConfig73)
- func (s *OptBlockchainConfig73) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig79
- func (o *OptBlockchainConfig79) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig79) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig79) Get() (v BlockchainConfig79, ok bool)
- func (o OptBlockchainConfig79) IsSet() bool
- func (s OptBlockchainConfig79) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig79) Or(d BlockchainConfig79) BlockchainConfig79
- func (o *OptBlockchainConfig79) Reset()
- func (o *OptBlockchainConfig79) SetTo(v BlockchainConfig79)
- func (s *OptBlockchainConfig79) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig8
- func (o *OptBlockchainConfig8) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig8) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig8) Get() (v BlockchainConfig8, ok bool)
- func (o OptBlockchainConfig8) IsSet() bool
- func (s OptBlockchainConfig8) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig8) Or(d BlockchainConfig8) BlockchainConfig8
- func (o *OptBlockchainConfig8) Reset()
- func (o *OptBlockchainConfig8) SetTo(v BlockchainConfig8)
- func (s *OptBlockchainConfig8) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig81
- func (o *OptBlockchainConfig81) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig81) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig81) Get() (v BlockchainConfig81, ok bool)
- func (o OptBlockchainConfig81) IsSet() bool
- func (s OptBlockchainConfig81) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig81) Or(d BlockchainConfig81) BlockchainConfig81
- func (o *OptBlockchainConfig81) Reset()
- func (o *OptBlockchainConfig81) SetTo(v BlockchainConfig81)
- func (s *OptBlockchainConfig81) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig82
- func (o *OptBlockchainConfig82) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig82) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig82) Get() (v BlockchainConfig82, ok bool)
- func (o OptBlockchainConfig82) IsSet() bool
- func (s OptBlockchainConfig82) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig82) Or(d BlockchainConfig82) BlockchainConfig82
- func (o *OptBlockchainConfig82) Reset()
- func (o *OptBlockchainConfig82) SetTo(v BlockchainConfig82)
- func (s *OptBlockchainConfig82) UnmarshalJSON(data []byte) error
- type OptBlockchainConfig9
- func (o *OptBlockchainConfig9) Decode(d *jx.Decoder) error
- func (o OptBlockchainConfig9) Encode(e *jx.Encoder)
- func (o OptBlockchainConfig9) Get() (v BlockchainConfig9, ok bool)
- func (o OptBlockchainConfig9) IsSet() bool
- func (s OptBlockchainConfig9) MarshalJSON() ([]byte, error)
- func (o OptBlockchainConfig9) Or(d BlockchainConfig9) BlockchainConfig9
- func (o *OptBlockchainConfig9) Reset()
- func (o *OptBlockchainConfig9) SetTo(v BlockchainConfig9)
- func (s *OptBlockchainConfig9) UnmarshalJSON(data []byte) error
- type OptBlockchainRawAccountExtraBalance
- func (o *OptBlockchainRawAccountExtraBalance) Decode(d *jx.Decoder) error
- func (o OptBlockchainRawAccountExtraBalance) Encode(e *jx.Encoder)
- func (o OptBlockchainRawAccountExtraBalance) Get() (v BlockchainRawAccountExtraBalance, ok bool)
- func (o OptBlockchainRawAccountExtraBalance) IsSet() bool
- func (s OptBlockchainRawAccountExtraBalance) MarshalJSON() ([]byte, error)
- func (o OptBlockchainRawAccountExtraBalance) Or(d BlockchainRawAccountExtraBalance) BlockchainRawAccountExtraBalance
- func (o *OptBlockchainRawAccountExtraBalance) Reset()
- func (o *OptBlockchainRawAccountExtraBalance) SetTo(v BlockchainRawAccountExtraBalance)
- func (s *OptBlockchainRawAccountExtraBalance) 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 OptDecodedMessageExtInMsgDecoded
- func (o *OptDecodedMessageExtInMsgDecoded) Decode(d *jx.Decoder) error
- func (o OptDecodedMessageExtInMsgDecoded) Encode(e *jx.Encoder)
- func (o OptDecodedMessageExtInMsgDecoded) Get() (v DecodedMessageExtInMsgDecoded, ok bool)
- func (o OptDecodedMessageExtInMsgDecoded) IsSet() bool
- func (s OptDecodedMessageExtInMsgDecoded) MarshalJSON() ([]byte, error)
- func (o OptDecodedMessageExtInMsgDecoded) Or(d DecodedMessageExtInMsgDecoded) DecodedMessageExtInMsgDecoded
- func (o *OptDecodedMessageExtInMsgDecoded) Reset()
- func (o *OptDecodedMessageExtInMsgDecoded) SetTo(v DecodedMessageExtInMsgDecoded)
- func (s *OptDecodedMessageExtInMsgDecoded) UnmarshalJSON(data []byte) error
- type OptDecodedMessageExtInMsgDecodedWalletHighloadV2
- func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Decode(d *jx.Decoder) error
- func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Encode(e *jx.Encoder)
- func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Get() (v DecodedMessageExtInMsgDecodedWalletHighloadV2, ok bool)
- func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) IsSet() bool
- func (s OptDecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON() ([]byte, error)
- func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Or(d DecodedMessageExtInMsgDecodedWalletHighloadV2) DecodedMessageExtInMsgDecodedWalletHighloadV2
- func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Reset()
- func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) SetTo(v DecodedMessageExtInMsgDecodedWalletHighloadV2)
- func (s *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON(data []byte) error
- type OptDecodedMessageExtInMsgDecodedWalletV3
- func (o *OptDecodedMessageExtInMsgDecodedWalletV3) Decode(d *jx.Decoder) error
- func (o OptDecodedMessageExtInMsgDecodedWalletV3) Encode(e *jx.Encoder)
- func (o OptDecodedMessageExtInMsgDecodedWalletV3) Get() (v DecodedMessageExtInMsgDecodedWalletV3, ok bool)
- func (o OptDecodedMessageExtInMsgDecodedWalletV3) IsSet() bool
- func (s OptDecodedMessageExtInMsgDecodedWalletV3) MarshalJSON() ([]byte, error)
- func (o OptDecodedMessageExtInMsgDecodedWalletV3) Or(d DecodedMessageExtInMsgDecodedWalletV3) DecodedMessageExtInMsgDecodedWalletV3
- func (o *OptDecodedMessageExtInMsgDecodedWalletV3) Reset()
- func (o *OptDecodedMessageExtInMsgDecodedWalletV3) SetTo(v DecodedMessageExtInMsgDecodedWalletV3)
- func (s *OptDecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON(data []byte) error
- type OptDecodedMessageExtInMsgDecodedWalletV4
- func (o *OptDecodedMessageExtInMsgDecodedWalletV4) Decode(d *jx.Decoder) error
- func (o OptDecodedMessageExtInMsgDecodedWalletV4) Encode(e *jx.Encoder)
- func (o OptDecodedMessageExtInMsgDecodedWalletV4) Get() (v DecodedMessageExtInMsgDecodedWalletV4, ok bool)
- func (o OptDecodedMessageExtInMsgDecodedWalletV4) IsSet() bool
- func (s OptDecodedMessageExtInMsgDecodedWalletV4) MarshalJSON() ([]byte, error)
- func (o OptDecodedMessageExtInMsgDecodedWalletV4) Or(d DecodedMessageExtInMsgDecodedWalletV4) DecodedMessageExtInMsgDecodedWalletV4
- func (o *OptDecodedMessageExtInMsgDecodedWalletV4) Reset()
- func (o *OptDecodedMessageExtInMsgDecodedWalletV4) SetTo(v DecodedMessageExtInMsgDecodedWalletV4)
- func (s *OptDecodedMessageExtInMsgDecodedWalletV4) 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 OptDomainRenewAction
- func (o *OptDomainRenewAction) Decode(d *jx.Decoder) error
- func (o OptDomainRenewAction) Encode(e *jx.Encoder)
- func (o OptDomainRenewAction) Get() (v DomainRenewAction, ok bool)
- func (o OptDomainRenewAction) IsSet() bool
- func (s OptDomainRenewAction) MarshalJSON() ([]byte, error)
- func (o OptDomainRenewAction) Or(d DomainRenewAction) DomainRenewAction
- func (o *OptDomainRenewAction) Reset()
- func (o *OptDomainRenewAction) SetTo(v DomainRenewAction)
- func (s *OptDomainRenewAction) UnmarshalJSON(data []byte) error
- type OptElectionsDepositStakeAction
- func (o *OptElectionsDepositStakeAction) Decode(d *jx.Decoder) error
- func (o OptElectionsDepositStakeAction) Encode(e *jx.Encoder)
- func (o OptElectionsDepositStakeAction) Get() (v ElectionsDepositStakeAction, ok bool)
- func (o OptElectionsDepositStakeAction) IsSet() bool
- func (s OptElectionsDepositStakeAction) MarshalJSON() ([]byte, error)
- func (o OptElectionsDepositStakeAction) Or(d ElectionsDepositStakeAction) ElectionsDepositStakeAction
- func (o *OptElectionsDepositStakeAction) Reset()
- func (o *OptElectionsDepositStakeAction) SetTo(v ElectionsDepositStakeAction)
- func (s *OptElectionsDepositStakeAction) UnmarshalJSON(data []byte) error
- type OptElectionsRecoverStakeAction
- func (o *OptElectionsRecoverStakeAction) Decode(d *jx.Decoder) error
- func (o OptElectionsRecoverStakeAction) Encode(e *jx.Encoder)
- func (o OptElectionsRecoverStakeAction) Get() (v ElectionsRecoverStakeAction, ok bool)
- func (o OptElectionsRecoverStakeAction) IsSet() bool
- func (s OptElectionsRecoverStakeAction) MarshalJSON() ([]byte, error)
- func (o OptElectionsRecoverStakeAction) Or(d ElectionsRecoverStakeAction) ElectionsRecoverStakeAction
- func (o *OptElectionsRecoverStakeAction) Reset()
- func (o *OptElectionsRecoverStakeAction) SetTo(v ElectionsRecoverStakeAction)
- func (s *OptElectionsRecoverStakeAction) 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 OptJettonBridgePrices
- func (o *OptJettonBridgePrices) Decode(d *jx.Decoder) error
- func (o OptJettonBridgePrices) Encode(e *jx.Encoder)
- func (o OptJettonBridgePrices) Get() (v JettonBridgePrices, ok bool)
- func (o OptJettonBridgePrices) IsSet() bool
- func (s OptJettonBridgePrices) MarshalJSON() ([]byte, error)
- func (o OptJettonBridgePrices) Or(d JettonBridgePrices) JettonBridgePrices
- func (o *OptJettonBridgePrices) Reset()
- func (o *OptJettonBridgePrices) SetTo(v JettonBridgePrices)
- func (s *OptJettonBridgePrices) UnmarshalJSON(data []byte) error
- type OptJettonBurnAction
- func (o *OptJettonBurnAction) Decode(d *jx.Decoder) error
- func (o OptJettonBurnAction) Encode(e *jx.Encoder)
- func (o OptJettonBurnAction) Get() (v JettonBurnAction, ok bool)
- func (o OptJettonBurnAction) IsSet() bool
- func (s OptJettonBurnAction) MarshalJSON() ([]byte, error)
- func (o OptJettonBurnAction) Or(d JettonBurnAction) JettonBurnAction
- func (o *OptJettonBurnAction) Reset()
- func (o *OptJettonBurnAction) SetTo(v JettonBurnAction)
- func (s *OptJettonBurnAction) UnmarshalJSON(data []byte) error
- type OptJettonMintAction
- func (o *OptJettonMintAction) Decode(d *jx.Decoder) error
- func (o OptJettonMintAction) Encode(e *jx.Encoder)
- func (o OptJettonMintAction) Get() (v JettonMintAction, ok bool)
- func (o OptJettonMintAction) IsSet() bool
- func (s OptJettonMintAction) MarshalJSON() ([]byte, error)
- func (o OptJettonMintAction) Or(d JettonMintAction) JettonMintAction
- func (o *OptJettonMintAction) Reset()
- func (o *OptJettonMintAction) SetTo(v JettonMintAction)
- func (s *OptJettonMintAction) UnmarshalJSON(data []byte) error
- type OptJettonPreview
- func (o *OptJettonPreview) Decode(d *jx.Decoder) error
- func (o OptJettonPreview) Encode(e *jx.Encoder)
- func (o OptJettonPreview) Get() (v JettonPreview, ok bool)
- func (o OptJettonPreview) IsSet() bool
- func (s OptJettonPreview) MarshalJSON() ([]byte, error)
- func (o OptJettonPreview) Or(d JettonPreview) JettonPreview
- func (o *OptJettonPreview) Reset()
- func (o *OptJettonPreview) SetTo(v JettonPreview)
- func (s *OptJettonPreview) UnmarshalJSON(data []byte) error
- type OptJettonSwapAction
- func (o *OptJettonSwapAction) Decode(d *jx.Decoder) error
- func (o OptJettonSwapAction) Encode(e *jx.Encoder)
- func (o OptJettonSwapAction) Get() (v JettonSwapAction, ok bool)
- func (o OptJettonSwapAction) IsSet() bool
- func (s OptJettonSwapAction) MarshalJSON() ([]byte, error)
- func (o OptJettonSwapAction) Or(d JettonSwapAction) JettonSwapAction
- func (o *OptJettonSwapAction) Reset()
- func (o *OptJettonSwapAction) SetTo(v JettonSwapAction)
- func (s *OptJettonSwapAction) 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 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 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 OptTokenRates
- func (o *OptTokenRates) Decode(d *jx.Decoder) error
- func (o OptTokenRates) Encode(e *jx.Encoder)
- func (o OptTokenRates) Get() (v TokenRates, ok bool)
- func (o OptTokenRates) IsSet() bool
- func (s OptTokenRates) MarshalJSON() ([]byte, error)
- func (o OptTokenRates) Or(d TokenRates) TokenRates
- func (o *OptTokenRates) Reset()
- func (o *OptTokenRates) SetTo(v TokenRates)
- func (s *OptTokenRates) UnmarshalJSON(data []byte) error
- type OptTokenRatesDiff24h
- func (o *OptTokenRatesDiff24h) Decode(d *jx.Decoder) error
- func (o OptTokenRatesDiff24h) Encode(e *jx.Encoder)
- func (o OptTokenRatesDiff24h) Get() (v TokenRatesDiff24h, ok bool)
- func (o OptTokenRatesDiff24h) IsSet() bool
- func (s OptTokenRatesDiff24h) MarshalJSON() ([]byte, error)
- func (o OptTokenRatesDiff24h) Or(d TokenRatesDiff24h) TokenRatesDiff24h
- func (o *OptTokenRatesDiff24h) Reset()
- func (o *OptTokenRatesDiff24h) SetTo(v TokenRatesDiff24h)
- func (s *OptTokenRatesDiff24h) UnmarshalJSON(data []byte) error
- type OptTokenRatesDiff30d
- func (o *OptTokenRatesDiff30d) Decode(d *jx.Decoder) error
- func (o OptTokenRatesDiff30d) Encode(e *jx.Encoder)
- func (o OptTokenRatesDiff30d) Get() (v TokenRatesDiff30d, ok bool)
- func (o OptTokenRatesDiff30d) IsSet() bool
- func (s OptTokenRatesDiff30d) MarshalJSON() ([]byte, error)
- func (o OptTokenRatesDiff30d) Or(d TokenRatesDiff30d) TokenRatesDiff30d
- func (o *OptTokenRatesDiff30d) Reset()
- func (o *OptTokenRatesDiff30d) SetTo(v TokenRatesDiff30d)
- func (s *OptTokenRatesDiff30d) UnmarshalJSON(data []byte) error
- type OptTokenRatesDiff7d
- func (o *OptTokenRatesDiff7d) Decode(d *jx.Decoder) error
- func (o OptTokenRatesDiff7d) Encode(e *jx.Encoder)
- func (o OptTokenRatesDiff7d) Get() (v TokenRatesDiff7d, ok bool)
- func (o OptTokenRatesDiff7d) IsSet() bool
- func (s OptTokenRatesDiff7d) MarshalJSON() ([]byte, error)
- func (o OptTokenRatesDiff7d) Or(d TokenRatesDiff7d) TokenRatesDiff7d
- func (o *OptTokenRatesDiff7d) Reset()
- func (o *OptTokenRatesDiff7d) SetTo(v TokenRatesDiff7d)
- func (s *OptTokenRatesDiff7d) UnmarshalJSON(data []byte) error
- type OptTokenRatesPrices
- func (o *OptTokenRatesPrices) Decode(d *jx.Decoder) error
- func (o OptTokenRatesPrices) Encode(e *jx.Encoder)
- func (o OptTokenRatesPrices) Get() (v TokenRatesPrices, ok bool)
- func (o OptTokenRatesPrices) IsSet() bool
- func (s OptTokenRatesPrices) MarshalJSON() ([]byte, error)
- func (o OptTokenRatesPrices) Or(d TokenRatesPrices) TokenRatesPrices
- func (o *OptTokenRatesPrices) Reset()
- func (o *OptTokenRatesPrices) SetTo(v TokenRatesPrices)
- func (s *OptTokenRatesPrices) 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 OptWithdrawStakeAction
- func (o *OptWithdrawStakeAction) Decode(d *jx.Decoder) error
- func (o OptWithdrawStakeAction) Encode(e *jx.Encoder)
- func (o OptWithdrawStakeAction) Get() (v WithdrawStakeAction, ok bool)
- func (o OptWithdrawStakeAction) IsSet() bool
- func (s OptWithdrawStakeAction) MarshalJSON() ([]byte, error)
- func (o OptWithdrawStakeAction) Or(d WithdrawStakeAction) WithdrawStakeAction
- func (o *OptWithdrawStakeAction) Reset()
- func (o *OptWithdrawStakeAction) SetTo(v WithdrawStakeAction)
- func (s *OptWithdrawStakeAction) UnmarshalJSON(data []byte) error
- type OptWithdrawStakeRequestAction
- func (o *OptWithdrawStakeRequestAction) Decode(d *jx.Decoder) error
- func (o OptWithdrawStakeRequestAction) Encode(e *jx.Encoder)
- func (o OptWithdrawStakeRequestAction) Get() (v WithdrawStakeRequestAction, ok bool)
- func (o OptWithdrawStakeRequestAction) IsSet() bool
- func (s OptWithdrawStakeRequestAction) MarshalJSON() ([]byte, error)
- func (o OptWithdrawStakeRequestAction) Or(d WithdrawStakeRequestAction) WithdrawStakeRequestAction
- func (o *OptWithdrawStakeRequestAction) Reset()
- func (o *OptWithdrawStakeRequestAction) SetTo(v WithdrawStakeRequestAction)
- func (s *OptWithdrawStakeRequestAction) UnmarshalJSON(data []byte) error
- type Option
- type Oracle
- func (s *Oracle) Decode(d *jx.Decoder) error
- func (s *Oracle) Encode(e *jx.Encoder)
- func (s *Oracle) GetAddress() string
- func (s *Oracle) GetSecpPubkey() string
- func (s *Oracle) MarshalJSON() ([]byte, error)
- func (s *Oracle) SetAddress(val string)
- func (s *Oracle) SetSecpPubkey(val string)
- func (s *Oracle) UnmarshalJSON(data []byte) error
- type OracleBridgeParams
- func (s *OracleBridgeParams) Decode(d *jx.Decoder) error
- func (s *OracleBridgeParams) Encode(e *jx.Encoder)
- func (s *OracleBridgeParams) GetBridgeAddr() string
- func (s *OracleBridgeParams) GetExternalChainAddress() string
- func (s *OracleBridgeParams) GetOracleMultisigAddress() string
- func (s *OracleBridgeParams) GetOracles() []Oracle
- func (s *OracleBridgeParams) MarshalJSON() ([]byte, error)
- func (s *OracleBridgeParams) SetBridgeAddr(val string)
- func (s *OracleBridgeParams) SetExternalChainAddress(val string)
- func (s *OracleBridgeParams) SetOracleMultisigAddress(val string)
- func (s *OracleBridgeParams) SetOracles(val []Oracle)
- func (s *OracleBridgeParams) UnmarshalJSON(data []byte) error
- func (s *OracleBridgeParams) Validate() error
- 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) GetSocials() []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) SetSocials(val []string)
- func (s *PoolImplementation) SetURL(val string)
- func (s *PoolImplementation) UnmarshalJSON(data []byte) error
- func (s *PoolImplementation) Validate() error
- type PoolImplementationType
- func (PoolImplementationType) AllValues() []PoolImplementationType
- func (s *PoolImplementationType) Decode(d *jx.Decoder) error
- func (s PoolImplementationType) Encode(e *jx.Encoder)
- func (s PoolImplementationType) MarshalJSON() ([]byte, error)
- func (s PoolImplementationType) MarshalText() ([]byte, error)
- func (s *PoolImplementationType) UnmarshalJSON(data []byte) error
- func (s *PoolImplementationType) UnmarshalText(data []byte) error
- func (s PoolImplementationType) Validate() 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) GetCycleLength() OptInt64
- func (s *PoolInfo) GetCycleStart() int64
- func (s *PoolInfo) GetImplementation() PoolImplementationType
- func (s *PoolInfo) GetLiquidJettonMaster() OptString
- func (s *PoolInfo) GetMaxNominators() int
- func (s *PoolInfo) GetMinStake() int64
- func (s *PoolInfo) GetName() string
- func (s *PoolInfo) GetNominatorsStake() int64
- func (s *PoolInfo) GetTotalAmount() int64
- func (s *PoolInfo) GetValidatorStake() 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) SetCycleLength(val OptInt64)
- func (s *PoolInfo) SetCycleStart(val int64)
- func (s *PoolInfo) SetImplementation(val PoolImplementationType)
- 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) SetNominatorsStake(val int64)
- func (s *PoolInfo) SetTotalAmount(val int64)
- func (s *PoolInfo) SetValidatorStake(val int64)
- func (s *PoolInfo) SetVerified(val bool)
- func (s *PoolInfo) UnmarshalJSON(data []byte) error
- func (s *PoolInfo) Validate() error
- 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 RawBlockchainConfig
- func (s *RawBlockchainConfig) Decode(d *jx.Decoder) error
- func (s *RawBlockchainConfig) Encode(e *jx.Encoder)
- func (s *RawBlockchainConfig) GetConfig() RawBlockchainConfigConfig
- func (s *RawBlockchainConfig) MarshalJSON() ([]byte, error)
- func (s *RawBlockchainConfig) SetConfig(val RawBlockchainConfigConfig)
- func (s *RawBlockchainConfig) UnmarshalJSON(data []byte) error
- type RawBlockchainConfigConfig
- 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
- func (RefundType) AllValues() []RefundType
- func (s *RefundType) Decode(d *jx.Decoder) error
- func (s RefundType) Encode(e *jx.Encoder)
- func (s RefundType) MarshalJSON() ([]byte, error)
- func (s RefundType) MarshalText() ([]byte, error)
- func (s *RefundType) UnmarshalJSON(data []byte) error
- func (s *RefundType) UnmarshalText(data []byte) error
- func (s RefundType) Validate() error
- type ReindexAccountOK
- type ReindexAccountParams
- 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 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 SearchAccountsParams
- type SendBlockchainMessageOK
- type SendBlockchainMessageReq
- func (s *SendBlockchainMessageReq) Decode(d *jx.Decoder) error
- func (s *SendBlockchainMessageReq) Encode(e *jx.Encoder)
- func (s *SendBlockchainMessageReq) GetBatch() []string
- func (s *SendBlockchainMessageReq) GetBoc() OptString
- func (s *SendBlockchainMessageReq) MarshalJSON() ([]byte, error)
- func (s *SendBlockchainMessageReq) SetBatch(val []string)
- func (s *SendBlockchainMessageReq) SetBoc(val OptString)
- func (s *SendBlockchainMessageReq) UnmarshalJSON(data []byte) error
- func (s *SendBlockchainMessageReq) Validate() error
- type SendRawMessageOK
- func (s *SendRawMessageOK) Decode(d *jx.Decoder) error
- func (s *SendRawMessageOK) Encode(e *jx.Encoder)
- func (s *SendRawMessageOK) GetCode() uint32
- func (s *SendRawMessageOK) MarshalJSON() ([]byte, error)
- func (s *SendRawMessageOK) SetCode(val uint32)
- func (s *SendRawMessageOK) UnmarshalJSON(data []byte) error
- type SendRawMessageReq
- func (s *SendRawMessageReq) Decode(d *jx.Decoder) error
- func (s *SendRawMessageReq) Encode(e *jx.Encoder)
- func (s *SendRawMessageReq) GetBody() string
- func (s *SendRawMessageReq) MarshalJSON() ([]byte, error)
- func (s *SendRawMessageReq) SetBody(val string)
- func (s *SendRawMessageReq) UnmarshalJSON(data []byte) error
- type Seqno
- type SetWalletBackupOK
- type SetWalletBackupParams
- type SetWalletBackupReq
- type SizeLimitsConfig
- func (s *SizeLimitsConfig) Decode(d *jx.Decoder) error
- func (s *SizeLimitsConfig) Encode(e *jx.Encoder)
- func (s *SizeLimitsConfig) GetMaxAccStateBits() OptInt64
- func (s *SizeLimitsConfig) GetMaxAccStateCells() OptInt64
- func (s *SizeLimitsConfig) GetMaxExtMsgDepth() int
- func (s *SizeLimitsConfig) GetMaxExtMsgSize() int64
- func (s *SizeLimitsConfig) GetMaxLibraryCells() int64
- func (s *SizeLimitsConfig) GetMaxMsgBits() int64
- func (s *SizeLimitsConfig) GetMaxMsgCells() int64
- func (s *SizeLimitsConfig) GetMaxVMDataDepth() int
- func (s *SizeLimitsConfig) MarshalJSON() ([]byte, error)
- func (s *SizeLimitsConfig) SetMaxAccStateBits(val OptInt64)
- func (s *SizeLimitsConfig) SetMaxAccStateCells(val OptInt64)
- func (s *SizeLimitsConfig) SetMaxExtMsgDepth(val int)
- func (s *SizeLimitsConfig) SetMaxExtMsgSize(val int64)
- func (s *SizeLimitsConfig) SetMaxLibraryCells(val int64)
- func (s *SizeLimitsConfig) SetMaxMsgBits(val int64)
- func (s *SizeLimitsConfig) SetMaxMsgCells(val int64)
- func (s *SizeLimitsConfig) SetMaxVMDataDepth(val int)
- func (s *SizeLimitsConfig) UnmarshalJSON(data []byte) error
- 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 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 StreamingAPI
- func (s *StreamingAPI) SubscribeToMempool(ctx context.Context, handler MempoolHandler) error
- func (s *StreamingAPI) SubscribeToTraces(ctx context.Context, accounts []string, handler TraceHandler) error
- func (s *StreamingAPI) SubscribeToTransactions(ctx context.Context, accounts []string, handler TransactionHandler) error
- func (s *StreamingAPI) WebsocketHandleRequests(ctx context.Context, fn WebsocketConfigurator) error
- type StreamingOption
- type StreamingOptions
- 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 TokenRates
- func (s *TokenRates) Decode(d *jx.Decoder) error
- func (s *TokenRates) Encode(e *jx.Encoder)
- func (s *TokenRates) GetDiff24h() OptTokenRatesDiff24h
- func (s *TokenRates) GetDiff30d() OptTokenRatesDiff30d
- func (s *TokenRates) GetDiff7d() OptTokenRatesDiff7d
- func (s *TokenRates) GetPrices() OptTokenRatesPrices
- func (s *TokenRates) MarshalJSON() ([]byte, error)
- func (s *TokenRates) SetDiff24h(val OptTokenRatesDiff24h)
- func (s *TokenRates) SetDiff30d(val OptTokenRatesDiff30d)
- func (s *TokenRates) SetDiff7d(val OptTokenRatesDiff7d)
- func (s *TokenRates) SetPrices(val OptTokenRatesPrices)
- func (s *TokenRates) UnmarshalJSON(data []byte) error
- func (s *TokenRates) Validate() error
- type TokenRatesDiff24h
- type TokenRatesDiff30d
- type TokenRatesDiff7d
- type TokenRatesPrices
- 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 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) GetEmulated() OptBool
- 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) SetEmulated(val OptBool)
- 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 TraceEventData
- type TraceHandler
- 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() uint64
- func (s *TraceID) MarshalJSON() ([]byte, error)
- func (s *TraceID) SetID(val string)
- func (s *TraceID) SetUtime(val uint64)
- 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 TransactionEventData
- type TransactionHandler
- type TransactionType
- func (TransactionType) AllValues() []TransactionType
- func (s *TransactionType) Decode(d *jx.Decoder) error
- func (s TransactionType) Encode(e *jx.Encoder)
- func (s TransactionType) MarshalJSON() ([]byte, error)
- func (s TransactionType) MarshalText() ([]byte, error)
- func (s *TransactionType) UnmarshalJSON(data []byte) error
- func (s *TransactionType) UnmarshalText(data []byte) error
- func (s TransactionType) Validate() error
- 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
- func (TvmStackRecordType) AllValues() []TvmStackRecordType
- func (s *TvmStackRecordType) Decode(d *jx.Decoder) error
- func (s TvmStackRecordType) Encode(e *jx.Encoder)
- func (s TvmStackRecordType) MarshalJSON() ([]byte, error)
- func (s TvmStackRecordType) MarshalText() ([]byte, error)
- func (s *TvmStackRecordType) UnmarshalJSON(data []byte) error
- func (s *TvmStackRecordType) UnmarshalText(data []byte) error
- func (s TvmStackRecordType) Validate() error
- 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 Validator
- func (s *Validator) Decode(d *jx.Decoder) error
- func (s *Validator) Encode(e *jx.Encoder)
- func (s *Validator) GetAddress() string
- func (s *Validator) GetAdnlAddress() string
- func (s *Validator) GetMaxFactor() int64
- func (s *Validator) GetStake() int64
- func (s *Validator) MarshalJSON() ([]byte, error)
- func (s *Validator) SetAddress(val string)
- func (s *Validator) SetAdnlAddress(val string)
- func (s *Validator) SetMaxFactor(val int64)
- func (s *Validator) SetStake(val int64)
- func (s *Validator) UnmarshalJSON(data []byte) error
- type Validators
- func (s *Validators) Decode(d *jx.Decoder) error
- func (s *Validators) Encode(e *jx.Encoder)
- func (s *Validators) GetElectAt() int64
- func (s *Validators) GetElectClose() int64
- func (s *Validators) GetMinStake() int64
- func (s *Validators) GetTotalStake() int64
- func (s *Validators) GetValidators() []Validator
- func (s *Validators) MarshalJSON() ([]byte, error)
- func (s *Validators) SetElectAt(val int64)
- func (s *Validators) SetElectClose(val int64)
- func (s *Validators) SetMinStake(val int64)
- func (s *Validators) SetTotalStake(val int64)
- 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() OptInt64
- 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 OptInt64)
- 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) GetAdnlAddr() OptString
- func (s *ValidatorsSetListItem) GetPublicKey() string
- func (s *ValidatorsSetListItem) GetWeight() int64
- func (s *ValidatorsSetListItem) MarshalJSON() ([]byte, error)
- func (s *ValidatorsSetListItem) SetAdnlAddr(val OptString)
- func (s *ValidatorsSetListItem) SetPublicKey(val string)
- func (s *ValidatorsSetListItem) SetWeight(val int64)
- 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
- func (s *ValueFlow) Validate() 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) GetJetton() JettonPreview
- func (s *ValueFlowJettonsItem) GetQuantity() int64
- func (s *ValueFlowJettonsItem) MarshalJSON() ([]byte, error)
- func (s *ValueFlowJettonsItem) SetAccount(val AccountAddress)
- func (s *ValueFlowJettonsItem) SetJetton(val JettonPreview)
- func (s *ValueFlowJettonsItem) SetQuantity(val int64)
- func (s *ValueFlowJettonsItem) UnmarshalJSON(data []byte) error
- func (s *ValueFlowJettonsItem) Validate() 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
- type Websocket
- type WebsocketConfigurator
- type WithdrawStakeAction
- func (s *WithdrawStakeAction) Decode(d *jx.Decoder) error
- func (s *WithdrawStakeAction) Encode(e *jx.Encoder)
- func (s *WithdrawStakeAction) GetAmount() int64
- func (s *WithdrawStakeAction) GetImplementation() PoolImplementationType
- func (s *WithdrawStakeAction) GetPool() AccountAddress
- func (s *WithdrawStakeAction) GetStaker() AccountAddress
- func (s *WithdrawStakeAction) MarshalJSON() ([]byte, error)
- func (s *WithdrawStakeAction) SetAmount(val int64)
- func (s *WithdrawStakeAction) SetImplementation(val PoolImplementationType)
- func (s *WithdrawStakeAction) SetPool(val AccountAddress)
- func (s *WithdrawStakeAction) SetStaker(val AccountAddress)
- func (s *WithdrawStakeAction) UnmarshalJSON(data []byte) error
- func (s *WithdrawStakeAction) Validate() error
- type WithdrawStakeRequestAction
- func (s *WithdrawStakeRequestAction) Decode(d *jx.Decoder) error
- func (s *WithdrawStakeRequestAction) Encode(e *jx.Encoder)
- func (s *WithdrawStakeRequestAction) GetAmount() OptInt64
- func (s *WithdrawStakeRequestAction) GetImplementation() PoolImplementationType
- func (s *WithdrawStakeRequestAction) GetPool() AccountAddress
- func (s *WithdrawStakeRequestAction) GetStaker() AccountAddress
- func (s *WithdrawStakeRequestAction) MarshalJSON() ([]byte, error)
- func (s *WithdrawStakeRequestAction) SetAmount(val OptInt64)
- func (s *WithdrawStakeRequestAction) SetImplementation(val PoolImplementationType)
- func (s *WithdrawStakeRequestAction) SetPool(val AccountAddress)
- func (s *WithdrawStakeRequestAction) SetStaker(val AccountAddress)
- func (s *WithdrawStakeRequestAction) UnmarshalJSON(data []byte) error
- func (s *WithdrawStakeRequestAction) Validate() error
- type WorkchainDescr
- func (s *WorkchainDescr) Decode(d *jx.Decoder) error
- func (s *WorkchainDescr) Encode(e *jx.Encoder)
- func (s *WorkchainDescr) GetAcceptMsgs() bool
- func (s *WorkchainDescr) GetActive() bool
- func (s *WorkchainDescr) GetActualMinSplit() int
- func (s *WorkchainDescr) GetBasic() int
- func (s *WorkchainDescr) GetEnabledSince() int64
- func (s *WorkchainDescr) GetFlags() int
- func (s *WorkchainDescr) GetMaxSplit() int
- func (s *WorkchainDescr) GetMinSplit() int
- func (s *WorkchainDescr) GetVersion() int64
- func (s *WorkchainDescr) GetWorkchain() int
- func (s *WorkchainDescr) GetZerostateFileHash() string
- func (s *WorkchainDescr) GetZerostateRootHash() string
- func (s *WorkchainDescr) MarshalJSON() ([]byte, error)
- func (s *WorkchainDescr) SetAcceptMsgs(val bool)
- func (s *WorkchainDescr) SetActive(val bool)
- func (s *WorkchainDescr) SetActualMinSplit(val int)
- func (s *WorkchainDescr) SetBasic(val int)
- func (s *WorkchainDescr) SetEnabledSince(val int64)
- func (s *WorkchainDescr) SetFlags(val int)
- func (s *WorkchainDescr) SetMaxSplit(val int)
- func (s *WorkchainDescr) SetMinSplit(val int)
- func (s *WorkchainDescr) SetVersion(val int64)
- func (s *WorkchainDescr) SetWorkchain(val int)
- func (s *WorkchainDescr) SetZerostateFileHash(val string)
- func (s *WorkchainDescr) SetZerostateRootHash(val string)
- func (s *WorkchainDescr) UnmarshalJSON(data []byte) error
Constants ¶
const TestnetTonApiURL = "https://testnet.tonapi.io"
TestnetTonApiURL is an endpoint to work with testnet.
Example: client, err := NewClient(tonapi.TestnetTonApiURL)
const TonApiURL = "https://tonapi.io"
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) AllValues ¶
func (AccStatusChange) AllValues() []AccStatusChange
AllValues returns all AccStatusChange values.
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) MarshalText ¶
func (s AccStatusChange) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AccStatusChange) UnmarshalJSON ¶
func (s *AccStatusChange) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AccStatusChange) UnmarshalText ¶
func (s *AccStatusChange) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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"` IsSuspended OptBool `json:"is_suspended"` IsWallet bool `json:"is_wallet"` }
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) GetIsSuspended ¶
GetIsSuspended returns the value of IsSuspended.
func (*Account) GetIsWallet ¶
GetIsWallet returns the value of IsWallet.
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) SetIsSuspended ¶
SetIsSuspended sets the value of IsSuspended.
func (*Account) SetIsWallet ¶
SetIsWallet sets the value of IsWallet.
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"` IsWallet bool `json:"is_wallet"` }
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) GetIsWallet ¶
func (s *AccountAddress) GetIsWallet() bool
GetIsWallet returns the value of IsWallet.
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) SetIsWallet ¶
func (s *AccountAddress) SetIsWallet(val bool)
SetIsWallet sets the value of IsWallet.
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 AccountDnsBackResolveParams ¶
type AccountDnsBackResolveParams struct { // Account ID. AccountID string }
AccountDnsBackResolveParams is parameters of accountDnsBackResolve operation.
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) AllValues ¶
func (AccountStatus) AllValues() []AccountStatus
AllValues returns all AccountStatus values.
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) MarshalText ¶
func (s AccountStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AccountStatus) UnmarshalJSON ¶
func (s *AccountStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AccountStatus) UnmarshalText ¶
func (s *AccountStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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"` JettonBurn OptJettonBurnAction `json:"JettonBurn"` JettonMint OptJettonMintAction `json:"JettonMint"` NftItemTransfer OptNftItemTransferAction `json:"NftItemTransfer"` Subscribe OptSubscriptionAction `json:"Subscribe"` UnSubscribe OptUnSubscriptionAction `json:"UnSubscribe"` AuctionBid OptAuctionBidAction `json:"AuctionBid"` NftPurchase OptNftPurchaseAction `json:"NftPurchase"` DepositStake OptDepositStakeAction `json:"DepositStake"` WithdrawStake OptWithdrawStakeAction `json:"WithdrawStake"` WithdrawStakeRequest OptWithdrawStakeRequestAction `json:"WithdrawStakeRequest"` ElectionsDepositStake OptElectionsDepositStakeAction `json:"ElectionsDepositStake"` ElectionsRecoverStake OptElectionsRecoverStakeAction `json:"ElectionsRecoverStake"` JettonSwap OptJettonSwapAction `json:"JettonSwap"` SmartContractExec OptSmartContractAction `json:"SmartContractExec"` DomainRenew OptDomainRenewAction `json:"DomainRenew"` 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 ¶
func (s *Action) GetDepositStake() OptDepositStakeAction
GetDepositStake returns the value of DepositStake.
func (*Action) GetDomainRenew ¶
func (s *Action) GetDomainRenew() OptDomainRenewAction
GetDomainRenew returns the value of DomainRenew.
func (*Action) GetElectionsDepositStake ¶
func (s *Action) GetElectionsDepositStake() OptElectionsDepositStakeAction
GetElectionsDepositStake returns the value of ElectionsDepositStake.
func (*Action) GetElectionsRecoverStake ¶
func (s *Action) GetElectionsRecoverStake() OptElectionsRecoverStakeAction
GetElectionsRecoverStake returns the value of ElectionsRecoverStake.
func (*Action) GetJettonBurn ¶
func (s *Action) GetJettonBurn() OptJettonBurnAction
GetJettonBurn returns the value of JettonBurn.
func (*Action) GetJettonMint ¶
func (s *Action) GetJettonMint() OptJettonMintAction
GetJettonMint returns the value of JettonMint.
func (*Action) GetJettonSwap ¶
func (s *Action) GetJettonSwap() OptJettonSwapAction
GetJettonSwap returns the value of JettonSwap.
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) 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) GetWithdrawStake ¶
func (s *Action) GetWithdrawStake() OptWithdrawStakeAction
GetWithdrawStake returns the value of WithdrawStake.
func (*Action) GetWithdrawStakeRequest ¶
func (s *Action) GetWithdrawStakeRequest() OptWithdrawStakeRequestAction
GetWithdrawStakeRequest returns the value of WithdrawStakeRequest.
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 ¶
func (s *Action) SetDepositStake(val OptDepositStakeAction)
SetDepositStake sets the value of DepositStake.
func (*Action) SetDomainRenew ¶
func (s *Action) SetDomainRenew(val OptDomainRenewAction)
SetDomainRenew sets the value of DomainRenew.
func (*Action) SetElectionsDepositStake ¶
func (s *Action) SetElectionsDepositStake(val OptElectionsDepositStakeAction)
SetElectionsDepositStake sets the value of ElectionsDepositStake.
func (*Action) SetElectionsRecoverStake ¶
func (s *Action) SetElectionsRecoverStake(val OptElectionsRecoverStakeAction)
SetElectionsRecoverStake sets the value of ElectionsRecoverStake.
func (*Action) SetJettonBurn ¶
func (s *Action) SetJettonBurn(val OptJettonBurnAction)
SetJettonBurn sets the value of JettonBurn.
func (*Action) SetJettonMint ¶
func (s *Action) SetJettonMint(val OptJettonMintAction)
SetJettonMint sets the value of JettonMint.
func (*Action) SetJettonSwap ¶
func (s *Action) SetJettonSwap(val OptJettonSwapAction)
SetJettonSwap sets the value of JettonSwap.
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) 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) SetWithdrawStake ¶
func (s *Action) SetWithdrawStake(val OptWithdrawStakeAction)
SetWithdrawStake sets the value of WithdrawStake.
func (*Action) SetWithdrawStakeRequest ¶
func (s *Action) SetWithdrawStakeRequest(val OptWithdrawStakeRequestAction)
SetWithdrawStakeRequest sets the value of WithdrawStakeRequest.
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" )
func (ActionStatus) AllValues ¶
func (ActionStatus) AllValues() []ActionStatus
AllValues returns all ActionStatus values.
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) MarshalText ¶
func (s ActionStatus) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ActionStatus) UnmarshalJSON ¶
func (s *ActionStatus) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ActionStatus) UnmarshalText ¶
func (s *ActionStatus) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ActionStatus) Validate ¶
func (s ActionStatus) Validate() error
type ActionType ¶
type ActionType string
const ( ActionTypeTonTransfer ActionType = "TonTransfer" ActionTypeJettonTransfer ActionType = "JettonTransfer" ActionTypeJettonBurn ActionType = "JettonBurn" ActionTypeJettonMint ActionType = "JettonMint" ActionTypeNftItemTransfer ActionType = "NftItemTransfer" ActionTypeContractDeploy ActionType = "ContractDeploy" ActionTypeSubscribe ActionType = "Subscribe" ActionTypeUnSubscribe ActionType = "UnSubscribe" ActionTypeAuctionBid ActionType = "AuctionBid" ActionTypeNftPurchase ActionType = "NftPurchase" ActionTypeDepositStake ActionType = "DepositStake" ActionTypeWithdrawStake ActionType = "WithdrawStake" ActionTypeWithdrawStakeRequest ActionType = "WithdrawStakeRequest" ActionTypeJettonSwap ActionType = "JettonSwap" ActionTypeSmartContractExec ActionType = "SmartContractExec" ActionTypeElectionsRecoverStake ActionType = "ElectionsRecoverStake" ActionTypeElectionsDepositStake ActionType = "ElectionsDepositStake" ActionTypeDomainRenew ActionType = "DomainRenew" ActionTypeUnknown ActionType = "Unknown" )
func (ActionType) AllValues ¶
func (ActionType) AllValues() []ActionType
AllValues returns all ActionType values.
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) MarshalText ¶
func (s ActionType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ActionType) UnmarshalJSON ¶
func (s *ActionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ActionType) UnmarshalText ¶
func (s *ActionType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ActionType) Validate ¶
func (s ActionType) Validate() error
type AddressParseOK ¶
type AddressParseOK struct { RawForm string `json:"raw_form"` Bounceable AddressParseOKBounceable `json:"bounceable"` NonBounceable AddressParseOKNonBounceable `json:"non_bounceable"` GivenType string `json:"given_type"` TestOnly bool `json:"test_only"` }
func (*AddressParseOK) Decode ¶
func (s *AddressParseOK) Decode(d *jx.Decoder) error
Decode decodes AddressParseOK from json.
func (*AddressParseOK) Encode ¶
func (s *AddressParseOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddressParseOK) GetBounceable ¶
func (s *AddressParseOK) GetBounceable() AddressParseOKBounceable
GetBounceable returns the value of Bounceable.
func (*AddressParseOK) GetGivenType ¶
func (s *AddressParseOK) GetGivenType() string
GetGivenType returns the value of GivenType.
func (*AddressParseOK) GetNonBounceable ¶
func (s *AddressParseOK) GetNonBounceable() AddressParseOKNonBounceable
GetNonBounceable returns the value of NonBounceable.
func (*AddressParseOK) GetRawForm ¶
func (s *AddressParseOK) GetRawForm() string
GetRawForm returns the value of RawForm.
func (*AddressParseOK) GetTestOnly ¶
func (s *AddressParseOK) GetTestOnly() bool
GetTestOnly returns the value of TestOnly.
func (*AddressParseOK) MarshalJSON ¶
func (s *AddressParseOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AddressParseOK) SetBounceable ¶
func (s *AddressParseOK) SetBounceable(val AddressParseOKBounceable)
SetBounceable sets the value of Bounceable.
func (*AddressParseOK) SetGivenType ¶
func (s *AddressParseOK) SetGivenType(val string)
SetGivenType sets the value of GivenType.
func (*AddressParseOK) SetNonBounceable ¶
func (s *AddressParseOK) SetNonBounceable(val AddressParseOKNonBounceable)
SetNonBounceable sets the value of NonBounceable.
func (*AddressParseOK) SetRawForm ¶
func (s *AddressParseOK) SetRawForm(val string)
SetRawForm sets the value of RawForm.
func (*AddressParseOK) SetTestOnly ¶
func (s *AddressParseOK) SetTestOnly(val bool)
SetTestOnly sets the value of TestOnly.
func (*AddressParseOK) UnmarshalJSON ¶
func (s *AddressParseOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AddressParseOKBounceable ¶
func (*AddressParseOKBounceable) Decode ¶
func (s *AddressParseOKBounceable) Decode(d *jx.Decoder) error
Decode decodes AddressParseOKBounceable from json.
func (*AddressParseOKBounceable) Encode ¶
func (s *AddressParseOKBounceable) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddressParseOKBounceable) GetB64 ¶
func (s *AddressParseOKBounceable) GetB64() string
GetB64 returns the value of B64.
func (*AddressParseOKBounceable) GetB64url ¶
func (s *AddressParseOKBounceable) GetB64url() string
GetB64url returns the value of B64url.
func (*AddressParseOKBounceable) MarshalJSON ¶
func (s *AddressParseOKBounceable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AddressParseOKBounceable) SetB64 ¶
func (s *AddressParseOKBounceable) SetB64(val string)
SetB64 sets the value of B64.
func (*AddressParseOKBounceable) SetB64url ¶
func (s *AddressParseOKBounceable) SetB64url(val string)
SetB64url sets the value of B64url.
func (*AddressParseOKBounceable) UnmarshalJSON ¶
func (s *AddressParseOKBounceable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AddressParseOKNonBounceable ¶
func (*AddressParseOKNonBounceable) Decode ¶
func (s *AddressParseOKNonBounceable) Decode(d *jx.Decoder) error
Decode decodes AddressParseOKNonBounceable from json.
func (*AddressParseOKNonBounceable) Encode ¶
func (s *AddressParseOKNonBounceable) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*AddressParseOKNonBounceable) GetB64 ¶
func (s *AddressParseOKNonBounceable) GetB64() string
GetB64 returns the value of B64.
func (*AddressParseOKNonBounceable) GetB64url ¶
func (s *AddressParseOKNonBounceable) GetB64url() string
GetB64url returns the value of B64url.
func (*AddressParseOKNonBounceable) MarshalJSON ¶
func (s *AddressParseOKNonBounceable) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*AddressParseOKNonBounceable) SetB64 ¶
func (s *AddressParseOKNonBounceable) SetB64(val string)
SetB64 sets the value of B64.
func (*AddressParseOKNonBounceable) SetB64url ¶
func (s *AddressParseOKNonBounceable) SetB64url(val string)
SetB64url sets the value of B64url.
func (*AddressParseOKNonBounceable) UnmarshalJSON ¶
func (s *AddressParseOKNonBounceable) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type AddressParseParams ¶
type AddressParseParams struct { // Account ID. AccountID string }
AddressParseParams is parameters of addressParse operation.
type ApyHistory ¶
Ref: #/components/schemas/ApyHistory
func (*ApyHistory) Decode ¶
func (s *ApyHistory) Decode(d *jx.Decoder) error
Decode decodes ApyHistory from json.
func (*ApyHistory) Encode ¶
func (s *ApyHistory) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ApyHistory) MarshalJSON ¶
func (s *ApyHistory) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ApyHistory) UnmarshalJSON ¶
func (s *ApyHistory) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ApyHistory) Validate ¶
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"` Bidder AccountAddress `json:"bidder"` Auction AccountAddress `json:"auction"` }
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) GetAuction ¶
func (s *AuctionBidAction) GetAuction() AccountAddress
GetAuction returns the value of Auction.
func (*AuctionBidAction) GetAuctionType ¶
func (s *AuctionBidAction) GetAuctionType() AuctionBidActionAuctionType
GetAuctionType returns the value of AuctionType.
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) SetAuction ¶
func (s *AuctionBidAction) SetAuction(val AccountAddress)
SetAuction sets the value of Auction.
func (*AuctionBidAction) SetAuctionType ¶
func (s *AuctionBidAction) SetAuctionType(val AuctionBidActionAuctionType)
SetAuctionType sets the value of AuctionType.
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) AllValues ¶
func (AuctionBidActionAuctionType) AllValues() []AuctionBidActionAuctionType
AllValues returns all AuctionBidActionAuctionType values.
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) MarshalText ¶
func (s AuctionBidActionAuctionType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*AuctionBidActionAuctionType) UnmarshalJSON ¶
func (s *AuctionBidActionAuctionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*AuctionBidActionAuctionType) UnmarshalText ¶
func (s *AuctionBidActionAuctionType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 BlockCurrencyCollection ¶
type BlockCurrencyCollection struct { Grams int64 `json:"grams"` Other []BlockCurrencyCollectionOtherItem `json:"other"` }
Ref: #/components/schemas/BlockCurrencyCollection
func (*BlockCurrencyCollection) Decode ¶
func (s *BlockCurrencyCollection) Decode(d *jx.Decoder) error
Decode decodes BlockCurrencyCollection from json.
func (*BlockCurrencyCollection) Encode ¶
func (s *BlockCurrencyCollection) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockCurrencyCollection) GetGrams ¶
func (s *BlockCurrencyCollection) GetGrams() int64
GetGrams returns the value of Grams.
func (*BlockCurrencyCollection) GetOther ¶
func (s *BlockCurrencyCollection) GetOther() []BlockCurrencyCollectionOtherItem
GetOther returns the value of Other.
func (*BlockCurrencyCollection) MarshalJSON ¶
func (s *BlockCurrencyCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockCurrencyCollection) SetGrams ¶
func (s *BlockCurrencyCollection) SetGrams(val int64)
SetGrams sets the value of Grams.
func (*BlockCurrencyCollection) SetOther ¶
func (s *BlockCurrencyCollection) SetOther(val []BlockCurrencyCollectionOtherItem)
SetOther sets the value of Other.
func (*BlockCurrencyCollection) UnmarshalJSON ¶
func (s *BlockCurrencyCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockCurrencyCollection) Validate ¶
func (s *BlockCurrencyCollection) Validate() error
type BlockCurrencyCollectionOtherItem ¶
func (*BlockCurrencyCollectionOtherItem) Decode ¶
func (s *BlockCurrencyCollectionOtherItem) Decode(d *jx.Decoder) error
Decode decodes BlockCurrencyCollectionOtherItem from json.
func (*BlockCurrencyCollectionOtherItem) Encode ¶
func (s *BlockCurrencyCollectionOtherItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockCurrencyCollectionOtherItem) GetID ¶
func (s *BlockCurrencyCollectionOtherItem) GetID() int64
GetID returns the value of ID.
func (*BlockCurrencyCollectionOtherItem) GetValue ¶
func (s *BlockCurrencyCollectionOtherItem) GetValue() string
GetValue returns the value of Value.
func (*BlockCurrencyCollectionOtherItem) MarshalJSON ¶
func (s *BlockCurrencyCollectionOtherItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockCurrencyCollectionOtherItem) SetID ¶
func (s *BlockCurrencyCollectionOtherItem) SetID(val int64)
SetID sets the value of ID.
func (*BlockCurrencyCollectionOtherItem) SetValue ¶
func (s *BlockCurrencyCollectionOtherItem) SetValue(val string)
SetValue sets the value of Value.
func (*BlockCurrencyCollectionOtherItem) UnmarshalJSON ¶
func (s *BlockCurrencyCollectionOtherItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockLimits ¶
type BlockLimits struct { Bytes BlockParamLimits `json:"bytes"` Gas BlockParamLimits `json:"gas"` LtDelta BlockParamLimits `json:"lt_delta"` }
Ref: #/components/schemas/BlockLimits
func (*BlockLimits) Decode ¶
func (s *BlockLimits) Decode(d *jx.Decoder) error
Decode decodes BlockLimits from json.
func (*BlockLimits) Encode ¶
func (s *BlockLimits) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockLimits) GetBytes ¶
func (s *BlockLimits) GetBytes() BlockParamLimits
GetBytes returns the value of Bytes.
func (*BlockLimits) GetGas ¶
func (s *BlockLimits) GetGas() BlockParamLimits
GetGas returns the value of Gas.
func (*BlockLimits) GetLtDelta ¶
func (s *BlockLimits) GetLtDelta() BlockParamLimits
GetLtDelta returns the value of LtDelta.
func (*BlockLimits) MarshalJSON ¶
func (s *BlockLimits) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockLimits) SetBytes ¶
func (s *BlockLimits) SetBytes(val BlockParamLimits)
SetBytes sets the value of Bytes.
func (*BlockLimits) SetGas ¶
func (s *BlockLimits) SetGas(val BlockParamLimits)
SetGas sets the value of Gas.
func (*BlockLimits) SetLtDelta ¶
func (s *BlockLimits) SetLtDelta(val BlockParamLimits)
SetLtDelta sets the value of LtDelta.
func (*BlockLimits) UnmarshalJSON ¶
func (s *BlockLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockParamLimits ¶
type BlockParamLimits struct { Underload int64 `json:"underload"` SoftLimit int64 `json:"soft_limit"` HardLimit int64 `json:"hard_limit"` }
Ref: #/components/schemas/BlockParamLimits
func (*BlockParamLimits) Decode ¶
func (s *BlockParamLimits) Decode(d *jx.Decoder) error
Decode decodes BlockParamLimits from json.
func (*BlockParamLimits) Encode ¶
func (s *BlockParamLimits) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockParamLimits) GetHardLimit ¶
func (s *BlockParamLimits) GetHardLimit() int64
GetHardLimit returns the value of HardLimit.
func (*BlockParamLimits) GetSoftLimit ¶
func (s *BlockParamLimits) GetSoftLimit() int64
GetSoftLimit returns the value of SoftLimit.
func (*BlockParamLimits) GetUnderload ¶
func (s *BlockParamLimits) GetUnderload() int64
GetUnderload returns the value of Underload.
func (*BlockParamLimits) MarshalJSON ¶
func (s *BlockParamLimits) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockParamLimits) SetHardLimit ¶
func (s *BlockParamLimits) SetHardLimit(val int64)
SetHardLimit sets the value of HardLimit.
func (*BlockParamLimits) SetSoftLimit ¶
func (s *BlockParamLimits) SetSoftLimit(val int64)
SetSoftLimit sets the value of SoftLimit.
func (*BlockParamLimits) SetUnderload ¶
func (s *BlockParamLimits) SetUnderload(val int64)
SetUnderload sets the value of Underload.
func (*BlockParamLimits) UnmarshalJSON ¶
func (s *BlockParamLimits) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockRaw ¶
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 ¶
GetFileHash returns the value of FileHash.
func (*BlockRaw) GetRootHash ¶
GetRootHash returns the value of RootHash.
func (*BlockRaw) GetWorkchain ¶
GetWorkchain returns the value of Workchain.
func (*BlockRaw) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*BlockRaw) SetFileHash ¶
SetFileHash sets the value of FileHash.
func (*BlockRaw) SetRootHash ¶
SetRootHash sets the value of RootHash.
func (*BlockRaw) SetWorkchain ¶
SetWorkchain sets the value of Workchain.
func (*BlockRaw) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockValueFlow ¶
type BlockValueFlow struct { FromPrevBlk BlockCurrencyCollection `json:"from_prev_blk"` ToNextBlk BlockCurrencyCollection `json:"to_next_blk"` Imported BlockCurrencyCollection `json:"imported"` Exported BlockCurrencyCollection `json:"exported"` FeesCollected BlockCurrencyCollection `json:"fees_collected"` Burned OptBlockCurrencyCollection `json:"burned"` FeesImported BlockCurrencyCollection `json:"fees_imported"` Recovered BlockCurrencyCollection `json:"recovered"` Created BlockCurrencyCollection `json:"created"` Minted BlockCurrencyCollection `json:"minted"` }
Ref: #/components/schemas/BlockValueFlow
func (*BlockValueFlow) Decode ¶
func (s *BlockValueFlow) Decode(d *jx.Decoder) error
Decode decodes BlockValueFlow from json.
func (*BlockValueFlow) Encode ¶
func (s *BlockValueFlow) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockValueFlow) GetBurned ¶
func (s *BlockValueFlow) GetBurned() OptBlockCurrencyCollection
GetBurned returns the value of Burned.
func (*BlockValueFlow) GetCreated ¶
func (s *BlockValueFlow) GetCreated() BlockCurrencyCollection
GetCreated returns the value of Created.
func (*BlockValueFlow) GetExported ¶
func (s *BlockValueFlow) GetExported() BlockCurrencyCollection
GetExported returns the value of Exported.
func (*BlockValueFlow) GetFeesCollected ¶
func (s *BlockValueFlow) GetFeesCollected() BlockCurrencyCollection
GetFeesCollected returns the value of FeesCollected.
func (*BlockValueFlow) GetFeesImported ¶
func (s *BlockValueFlow) GetFeesImported() BlockCurrencyCollection
GetFeesImported returns the value of FeesImported.
func (*BlockValueFlow) GetFromPrevBlk ¶
func (s *BlockValueFlow) GetFromPrevBlk() BlockCurrencyCollection
GetFromPrevBlk returns the value of FromPrevBlk.
func (*BlockValueFlow) GetImported ¶
func (s *BlockValueFlow) GetImported() BlockCurrencyCollection
GetImported returns the value of Imported.
func (*BlockValueFlow) GetMinted ¶
func (s *BlockValueFlow) GetMinted() BlockCurrencyCollection
GetMinted returns the value of Minted.
func (*BlockValueFlow) GetRecovered ¶
func (s *BlockValueFlow) GetRecovered() BlockCurrencyCollection
GetRecovered returns the value of Recovered.
func (*BlockValueFlow) GetToNextBlk ¶
func (s *BlockValueFlow) GetToNextBlk() BlockCurrencyCollection
GetToNextBlk returns the value of ToNextBlk.
func (*BlockValueFlow) MarshalJSON ¶
func (s *BlockValueFlow) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockValueFlow) SetBurned ¶
func (s *BlockValueFlow) SetBurned(val OptBlockCurrencyCollection)
SetBurned sets the value of Burned.
func (*BlockValueFlow) SetCreated ¶
func (s *BlockValueFlow) SetCreated(val BlockCurrencyCollection)
SetCreated sets the value of Created.
func (*BlockValueFlow) SetExported ¶
func (s *BlockValueFlow) SetExported(val BlockCurrencyCollection)
SetExported sets the value of Exported.
func (*BlockValueFlow) SetFeesCollected ¶
func (s *BlockValueFlow) SetFeesCollected(val BlockCurrencyCollection)
SetFeesCollected sets the value of FeesCollected.
func (*BlockValueFlow) SetFeesImported ¶
func (s *BlockValueFlow) SetFeesImported(val BlockCurrencyCollection)
SetFeesImported sets the value of FeesImported.
func (*BlockValueFlow) SetFromPrevBlk ¶
func (s *BlockValueFlow) SetFromPrevBlk(val BlockCurrencyCollection)
SetFromPrevBlk sets the value of FromPrevBlk.
func (*BlockValueFlow) SetImported ¶
func (s *BlockValueFlow) SetImported(val BlockCurrencyCollection)
SetImported sets the value of Imported.
func (*BlockValueFlow) SetMinted ¶
func (s *BlockValueFlow) SetMinted(val BlockCurrencyCollection)
SetMinted sets the value of Minted.
func (*BlockValueFlow) SetRecovered ¶
func (s *BlockValueFlow) SetRecovered(val BlockCurrencyCollection)
SetRecovered sets the value of Recovered.
func (*BlockValueFlow) SetToNextBlk ¶
func (s *BlockValueFlow) SetToNextBlk(val BlockCurrencyCollection)
SetToNextBlk sets the value of ToNextBlk.
func (*BlockValueFlow) UnmarshalJSON ¶
func (s *BlockValueFlow) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockValueFlow) Validate ¶
func (s *BlockValueFlow) Validate() error
type BlockchainAccountInspect ¶
type BlockchainAccountInspect struct { Code string `json:"code"` CodeHash string `json:"code_hash"` Methods []BlockchainAccountInspectMethodsItem `json:"methods"` Compiler OptBlockchainAccountInspectCompiler `json:"compiler"` }
Ref: #/components/schemas/BlockchainAccountInspect
func (*BlockchainAccountInspect) Decode ¶
func (s *BlockchainAccountInspect) Decode(d *jx.Decoder) error
Decode decodes BlockchainAccountInspect from json.
func (*BlockchainAccountInspect) Encode ¶
func (s *BlockchainAccountInspect) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainAccountInspect) GetCode ¶
func (s *BlockchainAccountInspect) GetCode() string
GetCode returns the value of Code.
func (*BlockchainAccountInspect) GetCodeHash ¶
func (s *BlockchainAccountInspect) GetCodeHash() string
GetCodeHash returns the value of CodeHash.
func (*BlockchainAccountInspect) GetCompiler ¶
func (s *BlockchainAccountInspect) GetCompiler() OptBlockchainAccountInspectCompiler
GetCompiler returns the value of Compiler.
func (*BlockchainAccountInspect) GetMethods ¶
func (s *BlockchainAccountInspect) GetMethods() []BlockchainAccountInspectMethodsItem
GetMethods returns the value of Methods.
func (*BlockchainAccountInspect) MarshalJSON ¶
func (s *BlockchainAccountInspect) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainAccountInspect) SetCode ¶
func (s *BlockchainAccountInspect) SetCode(val string)
SetCode sets the value of Code.
func (*BlockchainAccountInspect) SetCodeHash ¶
func (s *BlockchainAccountInspect) SetCodeHash(val string)
SetCodeHash sets the value of CodeHash.
func (*BlockchainAccountInspect) SetCompiler ¶
func (s *BlockchainAccountInspect) SetCompiler(val OptBlockchainAccountInspectCompiler)
SetCompiler sets the value of Compiler.
func (*BlockchainAccountInspect) SetMethods ¶
func (s *BlockchainAccountInspect) SetMethods(val []BlockchainAccountInspectMethodsItem)
SetMethods sets the value of Methods.
func (*BlockchainAccountInspect) UnmarshalJSON ¶
func (s *BlockchainAccountInspect) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainAccountInspect) Validate ¶
func (s *BlockchainAccountInspect) Validate() error
type BlockchainAccountInspectCompiler ¶
type BlockchainAccountInspectCompiler string
const (
BlockchainAccountInspectCompilerFunc BlockchainAccountInspectCompiler = "func"
)
func (BlockchainAccountInspectCompiler) AllValues ¶
func (BlockchainAccountInspectCompiler) AllValues() []BlockchainAccountInspectCompiler
AllValues returns all BlockchainAccountInspectCompiler values.
func (*BlockchainAccountInspectCompiler) Decode ¶
func (s *BlockchainAccountInspectCompiler) Decode(d *jx.Decoder) error
Decode decodes BlockchainAccountInspectCompiler from json.
func (BlockchainAccountInspectCompiler) Encode ¶
func (s BlockchainAccountInspectCompiler) Encode(e *jx.Encoder)
Encode encodes BlockchainAccountInspectCompiler as json.
func (BlockchainAccountInspectCompiler) MarshalJSON ¶
func (s BlockchainAccountInspectCompiler) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (BlockchainAccountInspectCompiler) MarshalText ¶
func (s BlockchainAccountInspectCompiler) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BlockchainAccountInspectCompiler) UnmarshalJSON ¶
func (s *BlockchainAccountInspectCompiler) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainAccountInspectCompiler) UnmarshalText ¶
func (s *BlockchainAccountInspectCompiler) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (BlockchainAccountInspectCompiler) Validate ¶
func (s BlockchainAccountInspectCompiler) Validate() error
type BlockchainAccountInspectMethodsItem ¶
type BlockchainAccountInspectMethodsItem struct { ID int64 `json:"id"` Method string `json:"method"` }
func (*BlockchainAccountInspectMethodsItem) Decode ¶
func (s *BlockchainAccountInspectMethodsItem) Decode(d *jx.Decoder) error
Decode decodes BlockchainAccountInspectMethodsItem from json.
func (*BlockchainAccountInspectMethodsItem) Encode ¶
func (s *BlockchainAccountInspectMethodsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainAccountInspectMethodsItem) GetID ¶
func (s *BlockchainAccountInspectMethodsItem) GetID() int64
GetID returns the value of ID.
func (*BlockchainAccountInspectMethodsItem) GetMethod ¶
func (s *BlockchainAccountInspectMethodsItem) GetMethod() string
GetMethod returns the value of Method.
func (*BlockchainAccountInspectMethodsItem) MarshalJSON ¶
func (s *BlockchainAccountInspectMethodsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainAccountInspectMethodsItem) SetID ¶
func (s *BlockchainAccountInspectMethodsItem) SetID(val int64)
SetID sets the value of ID.
func (*BlockchainAccountInspectMethodsItem) SetMethod ¶
func (s *BlockchainAccountInspectMethodsItem) SetMethod(val string)
SetMethod sets the value of Method.
func (*BlockchainAccountInspectMethodsItem) UnmarshalJSON ¶
func (s *BlockchainAccountInspectMethodsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainAccountInspectParams ¶
type BlockchainAccountInspectParams struct { // Account ID. AccountID string }
BlockchainAccountInspectParams is parameters of blockchainAccountInspect operation.
type BlockchainBlock ¶
type BlockchainBlock struct { ValueFlow BlockValueFlow `json:"value_flow"` 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/BlockchainBlock
func (*BlockchainBlock) Decode ¶
func (s *BlockchainBlock) Decode(d *jx.Decoder) error
Decode decodes BlockchainBlock from json.
func (*BlockchainBlock) Encode ¶
func (s *BlockchainBlock) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainBlock) GetAfterMerge ¶
func (s *BlockchainBlock) GetAfterMerge() bool
GetAfterMerge returns the value of AfterMerge.
func (*BlockchainBlock) GetAfterSplit ¶
func (s *BlockchainBlock) GetAfterSplit() bool
GetAfterSplit returns the value of AfterSplit.
func (*BlockchainBlock) GetBeforeSplit ¶
func (s *BlockchainBlock) GetBeforeSplit() bool
GetBeforeSplit returns the value of BeforeSplit.
func (*BlockchainBlock) GetCreatedBy ¶
func (s *BlockchainBlock) GetCreatedBy() string
GetCreatedBy returns the value of CreatedBy.
func (*BlockchainBlock) GetEndLt ¶
func (s *BlockchainBlock) GetEndLt() int64
GetEndLt returns the value of EndLt.
func (*BlockchainBlock) GetFileHash ¶
func (s *BlockchainBlock) GetFileHash() string
GetFileHash returns the value of FileHash.
func (*BlockchainBlock) GetGenCatchainSeqno ¶
func (s *BlockchainBlock) GetGenCatchainSeqno() int32
GetGenCatchainSeqno returns the value of GenCatchainSeqno.
func (*BlockchainBlock) GetGenSoftwareCapabilities ¶
func (s *BlockchainBlock) GetGenSoftwareCapabilities() OptInt64
GetGenSoftwareCapabilities returns the value of GenSoftwareCapabilities.
func (*BlockchainBlock) GetGenSoftwareVersion ¶
func (s *BlockchainBlock) GetGenSoftwareVersion() OptInt32
GetGenSoftwareVersion returns the value of GenSoftwareVersion.
func (*BlockchainBlock) GetGenUtime ¶
func (s *BlockchainBlock) GetGenUtime() int64
GetGenUtime returns the value of GenUtime.
func (*BlockchainBlock) GetGlobalID ¶
func (s *BlockchainBlock) GetGlobalID() int32
GetGlobalID returns the value of GlobalID.
func (*BlockchainBlock) GetInMsgDescrLength ¶
func (s *BlockchainBlock) GetInMsgDescrLength() int64
GetInMsgDescrLength returns the value of InMsgDescrLength.
func (*BlockchainBlock) GetKeyBlock ¶
func (s *BlockchainBlock) GetKeyBlock() bool
GetKeyBlock returns the value of KeyBlock.
func (*BlockchainBlock) GetMasterRef ¶
func (s *BlockchainBlock) GetMasterRef() OptString
GetMasterRef returns the value of MasterRef.
func (*BlockchainBlock) GetMinRefMcSeqno ¶
func (s *BlockchainBlock) GetMinRefMcSeqno() int32
GetMinRefMcSeqno returns the value of MinRefMcSeqno.
func (*BlockchainBlock) GetOutMsgDescrLength ¶
func (s *BlockchainBlock) GetOutMsgDescrLength() int64
GetOutMsgDescrLength returns the value of OutMsgDescrLength.
func (*BlockchainBlock) GetPrevKeyBlockSeqno ¶
func (s *BlockchainBlock) GetPrevKeyBlockSeqno() int32
GetPrevKeyBlockSeqno returns the value of PrevKeyBlockSeqno.
func (*BlockchainBlock) GetPrevRefs ¶
func (s *BlockchainBlock) GetPrevRefs() []string
GetPrevRefs returns the value of PrevRefs.
func (*BlockchainBlock) GetRandSeed ¶
func (s *BlockchainBlock) GetRandSeed() string
GetRandSeed returns the value of RandSeed.
func (*BlockchainBlock) GetRootHash ¶
func (s *BlockchainBlock) GetRootHash() string
GetRootHash returns the value of RootHash.
func (*BlockchainBlock) GetSeqno ¶
func (s *BlockchainBlock) GetSeqno() int32
GetSeqno returns the value of Seqno.
func (*BlockchainBlock) GetShard ¶
func (s *BlockchainBlock) GetShard() string
GetShard returns the value of Shard.
func (*BlockchainBlock) GetStartLt ¶
func (s *BlockchainBlock) GetStartLt() int64
GetStartLt returns the value of StartLt.
func (*BlockchainBlock) GetValueFlow ¶
func (s *BlockchainBlock) GetValueFlow() BlockValueFlow
GetValueFlow returns the value of ValueFlow.
func (*BlockchainBlock) GetVersion ¶
func (s *BlockchainBlock) GetVersion() int32
GetVersion returns the value of Version.
func (*BlockchainBlock) GetVertSeqno ¶
func (s *BlockchainBlock) GetVertSeqno() int32
GetVertSeqno returns the value of VertSeqno.
func (*BlockchainBlock) GetWantMerge ¶
func (s *BlockchainBlock) GetWantMerge() bool
GetWantMerge returns the value of WantMerge.
func (*BlockchainBlock) GetWantSplit ¶
func (s *BlockchainBlock) GetWantSplit() bool
GetWantSplit returns the value of WantSplit.
func (*BlockchainBlock) GetWorkchainID ¶
func (s *BlockchainBlock) GetWorkchainID() int32
GetWorkchainID returns the value of WorkchainID.
func (*BlockchainBlock) MarshalJSON ¶
func (s *BlockchainBlock) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainBlock) SetAfterMerge ¶
func (s *BlockchainBlock) SetAfterMerge(val bool)
SetAfterMerge sets the value of AfterMerge.
func (*BlockchainBlock) SetAfterSplit ¶
func (s *BlockchainBlock) SetAfterSplit(val bool)
SetAfterSplit sets the value of AfterSplit.
func (*BlockchainBlock) SetBeforeSplit ¶
func (s *BlockchainBlock) SetBeforeSplit(val bool)
SetBeforeSplit sets the value of BeforeSplit.
func (*BlockchainBlock) SetCreatedBy ¶
func (s *BlockchainBlock) SetCreatedBy(val string)
SetCreatedBy sets the value of CreatedBy.
func (*BlockchainBlock) SetEndLt ¶
func (s *BlockchainBlock) SetEndLt(val int64)
SetEndLt sets the value of EndLt.
func (*BlockchainBlock) SetFileHash ¶
func (s *BlockchainBlock) SetFileHash(val string)
SetFileHash sets the value of FileHash.
func (*BlockchainBlock) SetGenCatchainSeqno ¶
func (s *BlockchainBlock) SetGenCatchainSeqno(val int32)
SetGenCatchainSeqno sets the value of GenCatchainSeqno.
func (*BlockchainBlock) SetGenSoftwareCapabilities ¶
func (s *BlockchainBlock) SetGenSoftwareCapabilities(val OptInt64)
SetGenSoftwareCapabilities sets the value of GenSoftwareCapabilities.
func (*BlockchainBlock) SetGenSoftwareVersion ¶
func (s *BlockchainBlock) SetGenSoftwareVersion(val OptInt32)
SetGenSoftwareVersion sets the value of GenSoftwareVersion.
func (*BlockchainBlock) SetGenUtime ¶
func (s *BlockchainBlock) SetGenUtime(val int64)
SetGenUtime sets the value of GenUtime.
func (*BlockchainBlock) SetGlobalID ¶
func (s *BlockchainBlock) SetGlobalID(val int32)
SetGlobalID sets the value of GlobalID.
func (*BlockchainBlock) SetInMsgDescrLength ¶
func (s *BlockchainBlock) SetInMsgDescrLength(val int64)
SetInMsgDescrLength sets the value of InMsgDescrLength.
func (*BlockchainBlock) SetKeyBlock ¶
func (s *BlockchainBlock) SetKeyBlock(val bool)
SetKeyBlock sets the value of KeyBlock.
func (*BlockchainBlock) SetMasterRef ¶
func (s *BlockchainBlock) SetMasterRef(val OptString)
SetMasterRef sets the value of MasterRef.
func (*BlockchainBlock) SetMinRefMcSeqno ¶
func (s *BlockchainBlock) SetMinRefMcSeqno(val int32)
SetMinRefMcSeqno sets the value of MinRefMcSeqno.
func (*BlockchainBlock) SetOutMsgDescrLength ¶
func (s *BlockchainBlock) SetOutMsgDescrLength(val int64)
SetOutMsgDescrLength sets the value of OutMsgDescrLength.
func (*BlockchainBlock) SetPrevKeyBlockSeqno ¶
func (s *BlockchainBlock) SetPrevKeyBlockSeqno(val int32)
SetPrevKeyBlockSeqno sets the value of PrevKeyBlockSeqno.
func (*BlockchainBlock) SetPrevRefs ¶
func (s *BlockchainBlock) SetPrevRefs(val []string)
SetPrevRefs sets the value of PrevRefs.
func (*BlockchainBlock) SetRandSeed ¶
func (s *BlockchainBlock) SetRandSeed(val string)
SetRandSeed sets the value of RandSeed.
func (*BlockchainBlock) SetRootHash ¶
func (s *BlockchainBlock) SetRootHash(val string)
SetRootHash sets the value of RootHash.
func (*BlockchainBlock) SetSeqno ¶
func (s *BlockchainBlock) SetSeqno(val int32)
SetSeqno sets the value of Seqno.
func (*BlockchainBlock) SetShard ¶
func (s *BlockchainBlock) SetShard(val string)
SetShard sets the value of Shard.
func (*BlockchainBlock) SetStartLt ¶
func (s *BlockchainBlock) SetStartLt(val int64)
SetStartLt sets the value of StartLt.
func (*BlockchainBlock) SetValueFlow ¶
func (s *BlockchainBlock) SetValueFlow(val BlockValueFlow)
SetValueFlow sets the value of ValueFlow.
func (*BlockchainBlock) SetVersion ¶
func (s *BlockchainBlock) SetVersion(val int32)
SetVersion sets the value of Version.
func (*BlockchainBlock) SetVertSeqno ¶
func (s *BlockchainBlock) SetVertSeqno(val int32)
SetVertSeqno sets the value of VertSeqno.
func (*BlockchainBlock) SetWantMerge ¶
func (s *BlockchainBlock) SetWantMerge(val bool)
SetWantMerge sets the value of WantMerge.
func (*BlockchainBlock) SetWantSplit ¶
func (s *BlockchainBlock) SetWantSplit(val bool)
SetWantSplit sets the value of WantSplit.
func (*BlockchainBlock) SetWorkchainID ¶
func (s *BlockchainBlock) SetWorkchainID(val int32)
SetWorkchainID sets the value of WorkchainID.
func (*BlockchainBlock) UnmarshalJSON ¶
func (s *BlockchainBlock) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainBlock) Validate ¶
func (s *BlockchainBlock) Validate() error
type BlockchainBlockShards ¶
type BlockchainBlockShards struct {
Shards []BlockchainBlockShardsShardsItem `json:"shards"`
}
Ref: #/components/schemas/BlockchainBlockShards
func (*BlockchainBlockShards) Decode ¶
func (s *BlockchainBlockShards) Decode(d *jx.Decoder) error
Decode decodes BlockchainBlockShards from json.
func (*BlockchainBlockShards) Encode ¶
func (s *BlockchainBlockShards) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainBlockShards) GetShards ¶
func (s *BlockchainBlockShards) GetShards() []BlockchainBlockShardsShardsItem
GetShards returns the value of Shards.
func (*BlockchainBlockShards) MarshalJSON ¶
func (s *BlockchainBlockShards) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainBlockShards) SetShards ¶
func (s *BlockchainBlockShards) SetShards(val []BlockchainBlockShardsShardsItem)
SetShards sets the value of Shards.
func (*BlockchainBlockShards) UnmarshalJSON ¶
func (s *BlockchainBlockShards) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainBlockShards) Validate ¶
func (s *BlockchainBlockShards) Validate() error
type BlockchainBlockShardsShardsItem ¶
type BlockchainBlockShardsShardsItem struct {
LastKnownBlockID string `json:"last_known_block_id"`
}
func (*BlockchainBlockShardsShardsItem) Decode ¶
func (s *BlockchainBlockShardsShardsItem) Decode(d *jx.Decoder) error
Decode decodes BlockchainBlockShardsShardsItem from json.
func (*BlockchainBlockShardsShardsItem) Encode ¶
func (s *BlockchainBlockShardsShardsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainBlockShardsShardsItem) GetLastKnownBlockID ¶
func (s *BlockchainBlockShardsShardsItem) GetLastKnownBlockID() string
GetLastKnownBlockID returns the value of LastKnownBlockID.
func (*BlockchainBlockShardsShardsItem) MarshalJSON ¶
func (s *BlockchainBlockShardsShardsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainBlockShardsShardsItem) SetLastKnownBlockID ¶
func (s *BlockchainBlockShardsShardsItem) SetLastKnownBlockID(val string)
SetLastKnownBlockID sets the value of LastKnownBlockID.
func (*BlockchainBlockShardsShardsItem) UnmarshalJSON ¶
func (s *BlockchainBlockShardsShardsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig ¶
type BlockchainConfig 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"` // The address of the transaction fee collector. R3 OptString `json:"3"` // Dns root address. R4 string `json:"4"` R5 OptBlockchainConfig5 `json:"5"` // Minting fees of new currencies. R6 OptBlockchainConfig6 `json:"6"` // The volume of each of the additional currencies in circulation. R7 OptBlockchainConfig7 `json:"7"` // The network version and additional capabilities supported by the validators. R8 OptBlockchainConfig8 `json:"8"` // List of mandatory parameters of the blockchain config. R9 OptBlockchainConfig9 `json:"9"` // List of critical TON parameters, the change of which significantly affects the network, so more // voting rounds are held. R10 OptBlockchainConfig10 `json:"10"` // This parameter indicates under what conditions proposals to change the TON configuration are // accepted. R11 OptBlockchainConfig11 `json:"11"` // Workchains in the TON Blockchain. R12 OptBlockchainConfig12 `json:"12"` // The cost of filing complaints about incorrect operation of validators. R13 OptBlockchainConfig13 `json:"13"` // The reward in nanoTons for block creation in the TON blockchain. R14 OptBlockchainConfig14 `json:"14"` // The reward in nanoTons for block creation in the TON blockchain. R15 OptBlockchainConfig15 `json:"15"` // The limits on the number of validators in the TON blockchain. R16 OptBlockchainConfig16 `json:"16"` // The stake parameters configuration in the TON blockchain. R17 OptBlockchainConfig17 `json:"17"` // The prices for data storage. R18 OptBlockchainConfig18 `json:"18"` // The cost of computations in the masterchain. The complexity of any computation is estimated in gas // units. R20 OptBlockchainConfig20 `json:"20"` // The cost of computations in the basechains. The complexity of any computation is estimated in gas // units. R21 OptBlockchainConfig21 `json:"21"` // The limits on the block in the masterchain, upon reaching which the block is finalized and the // callback of the remaining messages (if any) is carried over to the next block. R22 OptBlockchainConfig22 `json:"22"` // The limits on the block in the basechains, upon reaching which the block is finalized and the // callback of the remaining messages (if any) is carried over to the next block. R23 OptBlockchainConfig23 `json:"23"` // The cost of sending messages in the masterchain of the TON blockchain. R24 OptBlockchainConfig24 `json:"24"` // The cost of sending messages in the basechains of the TON blockchain. R25 OptBlockchainConfig25 `json:"25"` // The configuration for the Catchain protocol. R28 OptBlockchainConfig28 `json:"28"` // The configuration for the consensus protocol above catchain. R29 OptBlockchainConfig29 `json:"29"` // The configuration for the consensus protocol above catchain. R31 OptBlockchainConfig31 `json:"31"` R32 OptValidatorsSet `json:"32"` R33 OptValidatorsSet `json:"33"` R34 OptValidatorsSet `json:"34"` R35 OptValidatorsSet `json:"35"` R36 OptValidatorsSet `json:"36"` R37 OptValidatorsSet `json:"37"` // The configuration for punishment for improper behavior (non-validation). In the absence of the // parameter, the default fine size is 101 TON. R40 OptBlockchainConfig40 `json:"40"` // The size limits and some other characteristics of accounts and messages. R43 OptBlockchainConfig43 `json:"43"` // Suspended accounts. R44 BlockchainConfig44 `json:"44"` // Bridge parameters for wrapping TON in other networks. R71 OptBlockchainConfig71 `json:"71"` // Bridge parameters for wrapping TON in other networks. R72 OptBlockchainConfig72 `json:"72"` // Bridge parameters for wrapping TON in other networks. R73 OptBlockchainConfig73 `json:"73"` // Bridge parameters for wrapping tokens from other networks into tokens on the TON network. R79 OptBlockchainConfig79 `json:"79"` // Bridge parameters for wrapping tokens from other networks into tokens on the TON network. R81 OptBlockchainConfig81 `json:"81"` // Bridge parameters for wrapping tokens from other networks into tokens on the TON network. R82 OptBlockchainConfig82 `json:"82"` }
Ref: #/components/schemas/BlockchainConfig
func (*BlockchainConfig) Decode ¶
func (s *BlockchainConfig) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig from json.
func (*BlockchainConfig) Encode ¶
func (s *BlockchainConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig) GetR0 ¶
func (s *BlockchainConfig) GetR0() string
GetR0 returns the value of R0.
func (*BlockchainConfig) GetR1 ¶
func (s *BlockchainConfig) GetR1() string
GetR1 returns the value of R1.
func (*BlockchainConfig) GetR10 ¶
func (s *BlockchainConfig) GetR10() OptBlockchainConfig10
GetR10 returns the value of R10.
func (*BlockchainConfig) GetR11 ¶
func (s *BlockchainConfig) GetR11() OptBlockchainConfig11
GetR11 returns the value of R11.
func (*BlockchainConfig) GetR12 ¶
func (s *BlockchainConfig) GetR12() OptBlockchainConfig12
GetR12 returns the value of R12.
func (*BlockchainConfig) GetR13 ¶
func (s *BlockchainConfig) GetR13() OptBlockchainConfig13
GetR13 returns the value of R13.
func (*BlockchainConfig) GetR14 ¶
func (s *BlockchainConfig) GetR14() OptBlockchainConfig14
GetR14 returns the value of R14.
func (*BlockchainConfig) GetR15 ¶
func (s *BlockchainConfig) GetR15() OptBlockchainConfig15
GetR15 returns the value of R15.
func (*BlockchainConfig) GetR16 ¶
func (s *BlockchainConfig) GetR16() OptBlockchainConfig16
GetR16 returns the value of R16.
func (*BlockchainConfig) GetR17 ¶
func (s *BlockchainConfig) GetR17() OptBlockchainConfig17
GetR17 returns the value of R17.
func (*BlockchainConfig) GetR18 ¶
func (s *BlockchainConfig) GetR18() OptBlockchainConfig18
GetR18 returns the value of R18.
func (*BlockchainConfig) GetR2 ¶
func (s *BlockchainConfig) GetR2() string
GetR2 returns the value of R2.
func (*BlockchainConfig) GetR20 ¶
func (s *BlockchainConfig) GetR20() OptBlockchainConfig20
GetR20 returns the value of R20.
func (*BlockchainConfig) GetR21 ¶
func (s *BlockchainConfig) GetR21() OptBlockchainConfig21
GetR21 returns the value of R21.
func (*BlockchainConfig) GetR22 ¶
func (s *BlockchainConfig) GetR22() OptBlockchainConfig22
GetR22 returns the value of R22.
func (*BlockchainConfig) GetR23 ¶
func (s *BlockchainConfig) GetR23() OptBlockchainConfig23
GetR23 returns the value of R23.
func (*BlockchainConfig) GetR24 ¶
func (s *BlockchainConfig) GetR24() OptBlockchainConfig24
GetR24 returns the value of R24.
func (*BlockchainConfig) GetR25 ¶
func (s *BlockchainConfig) GetR25() OptBlockchainConfig25
GetR25 returns the value of R25.
func (*BlockchainConfig) GetR28 ¶
func (s *BlockchainConfig) GetR28() OptBlockchainConfig28
GetR28 returns the value of R28.
func (*BlockchainConfig) GetR29 ¶
func (s *BlockchainConfig) GetR29() OptBlockchainConfig29
GetR29 returns the value of R29.
func (*BlockchainConfig) GetR3 ¶
func (s *BlockchainConfig) GetR3() OptString
GetR3 returns the value of R3.
func (*BlockchainConfig) GetR31 ¶
func (s *BlockchainConfig) GetR31() OptBlockchainConfig31
GetR31 returns the value of R31.
func (*BlockchainConfig) GetR32 ¶
func (s *BlockchainConfig) GetR32() OptValidatorsSet
GetR32 returns the value of R32.
func (*BlockchainConfig) GetR33 ¶
func (s *BlockchainConfig) GetR33() OptValidatorsSet
GetR33 returns the value of R33.
func (*BlockchainConfig) GetR34 ¶
func (s *BlockchainConfig) GetR34() OptValidatorsSet
GetR34 returns the value of R34.
func (*BlockchainConfig) GetR35 ¶
func (s *BlockchainConfig) GetR35() OptValidatorsSet
GetR35 returns the value of R35.
func (*BlockchainConfig) GetR36 ¶
func (s *BlockchainConfig) GetR36() OptValidatorsSet
GetR36 returns the value of R36.
func (*BlockchainConfig) GetR37 ¶
func (s *BlockchainConfig) GetR37() OptValidatorsSet
GetR37 returns the value of R37.
func (*BlockchainConfig) GetR4 ¶
func (s *BlockchainConfig) GetR4() string
GetR4 returns the value of R4.
func (*BlockchainConfig) GetR40 ¶
func (s *BlockchainConfig) GetR40() OptBlockchainConfig40
GetR40 returns the value of R40.
func (*BlockchainConfig) GetR43 ¶
func (s *BlockchainConfig) GetR43() OptBlockchainConfig43
GetR43 returns the value of R43.
func (*BlockchainConfig) GetR44 ¶
func (s *BlockchainConfig) GetR44() BlockchainConfig44
GetR44 returns the value of R44.
func (*BlockchainConfig) GetR5 ¶
func (s *BlockchainConfig) GetR5() OptBlockchainConfig5
GetR5 returns the value of R5.
func (*BlockchainConfig) GetR6 ¶
func (s *BlockchainConfig) GetR6() OptBlockchainConfig6
GetR6 returns the value of R6.
func (*BlockchainConfig) GetR7 ¶
func (s *BlockchainConfig) GetR7() OptBlockchainConfig7
GetR7 returns the value of R7.
func (*BlockchainConfig) GetR71 ¶
func (s *BlockchainConfig) GetR71() OptBlockchainConfig71
GetR71 returns the value of R71.
func (*BlockchainConfig) GetR72 ¶
func (s *BlockchainConfig) GetR72() OptBlockchainConfig72
GetR72 returns the value of R72.
func (*BlockchainConfig) GetR73 ¶
func (s *BlockchainConfig) GetR73() OptBlockchainConfig73
GetR73 returns the value of R73.
func (*BlockchainConfig) GetR79 ¶
func (s *BlockchainConfig) GetR79() OptBlockchainConfig79
GetR79 returns the value of R79.
func (*BlockchainConfig) GetR8 ¶
func (s *BlockchainConfig) GetR8() OptBlockchainConfig8
GetR8 returns the value of R8.
func (*BlockchainConfig) GetR81 ¶
func (s *BlockchainConfig) GetR81() OptBlockchainConfig81
GetR81 returns the value of R81.
func (*BlockchainConfig) GetR82 ¶
func (s *BlockchainConfig) GetR82() OptBlockchainConfig82
GetR82 returns the value of R82.
func (*BlockchainConfig) GetR9 ¶
func (s *BlockchainConfig) GetR9() OptBlockchainConfig9
GetR9 returns the value of R9.
func (*BlockchainConfig) GetRaw ¶
func (s *BlockchainConfig) GetRaw() string
GetRaw returns the value of Raw.
func (*BlockchainConfig) MarshalJSON ¶
func (s *BlockchainConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig) SetR0 ¶
func (s *BlockchainConfig) SetR0(val string)
SetR0 sets the value of R0.
func (*BlockchainConfig) SetR1 ¶
func (s *BlockchainConfig) SetR1(val string)
SetR1 sets the value of R1.
func (*BlockchainConfig) SetR10 ¶
func (s *BlockchainConfig) SetR10(val OptBlockchainConfig10)
SetR10 sets the value of R10.
func (*BlockchainConfig) SetR11 ¶
func (s *BlockchainConfig) SetR11(val OptBlockchainConfig11)
SetR11 sets the value of R11.
func (*BlockchainConfig) SetR12 ¶
func (s *BlockchainConfig) SetR12(val OptBlockchainConfig12)
SetR12 sets the value of R12.
func (*BlockchainConfig) SetR13 ¶
func (s *BlockchainConfig) SetR13(val OptBlockchainConfig13)
SetR13 sets the value of R13.
func (*BlockchainConfig) SetR14 ¶
func (s *BlockchainConfig) SetR14(val OptBlockchainConfig14)
SetR14 sets the value of R14.
func (*BlockchainConfig) SetR15 ¶
func (s *BlockchainConfig) SetR15(val OptBlockchainConfig15)
SetR15 sets the value of R15.
func (*BlockchainConfig) SetR16 ¶
func (s *BlockchainConfig) SetR16(val OptBlockchainConfig16)
SetR16 sets the value of R16.
func (*BlockchainConfig) SetR17 ¶
func (s *BlockchainConfig) SetR17(val OptBlockchainConfig17)
SetR17 sets the value of R17.
func (*BlockchainConfig) SetR18 ¶
func (s *BlockchainConfig) SetR18(val OptBlockchainConfig18)
SetR18 sets the value of R18.
func (*BlockchainConfig) SetR2 ¶
func (s *BlockchainConfig) SetR2(val string)
SetR2 sets the value of R2.
func (*BlockchainConfig) SetR20 ¶
func (s *BlockchainConfig) SetR20(val OptBlockchainConfig20)
SetR20 sets the value of R20.
func (*BlockchainConfig) SetR21 ¶
func (s *BlockchainConfig) SetR21(val OptBlockchainConfig21)
SetR21 sets the value of R21.
func (*BlockchainConfig) SetR22 ¶
func (s *BlockchainConfig) SetR22(val OptBlockchainConfig22)
SetR22 sets the value of R22.
func (*BlockchainConfig) SetR23 ¶
func (s *BlockchainConfig) SetR23(val OptBlockchainConfig23)
SetR23 sets the value of R23.
func (*BlockchainConfig) SetR24 ¶
func (s *BlockchainConfig) SetR24(val OptBlockchainConfig24)
SetR24 sets the value of R24.
func (*BlockchainConfig) SetR25 ¶
func (s *BlockchainConfig) SetR25(val OptBlockchainConfig25)
SetR25 sets the value of R25.
func (*BlockchainConfig) SetR28 ¶
func (s *BlockchainConfig) SetR28(val OptBlockchainConfig28)
SetR28 sets the value of R28.
func (*BlockchainConfig) SetR29 ¶
func (s *BlockchainConfig) SetR29(val OptBlockchainConfig29)
SetR29 sets the value of R29.
func (*BlockchainConfig) SetR3 ¶
func (s *BlockchainConfig) SetR3(val OptString)
SetR3 sets the value of R3.
func (*BlockchainConfig) SetR31 ¶
func (s *BlockchainConfig) SetR31(val OptBlockchainConfig31)
SetR31 sets the value of R31.
func (*BlockchainConfig) SetR32 ¶
func (s *BlockchainConfig) SetR32(val OptValidatorsSet)
SetR32 sets the value of R32.
func (*BlockchainConfig) SetR33 ¶
func (s *BlockchainConfig) SetR33(val OptValidatorsSet)
SetR33 sets the value of R33.
func (*BlockchainConfig) SetR34 ¶
func (s *BlockchainConfig) SetR34(val OptValidatorsSet)
SetR34 sets the value of R34.
func (*BlockchainConfig) SetR35 ¶
func (s *BlockchainConfig) SetR35(val OptValidatorsSet)
SetR35 sets the value of R35.
func (*BlockchainConfig) SetR36 ¶
func (s *BlockchainConfig) SetR36(val OptValidatorsSet)
SetR36 sets the value of R36.
func (*BlockchainConfig) SetR37 ¶
func (s *BlockchainConfig) SetR37(val OptValidatorsSet)
SetR37 sets the value of R37.
func (*BlockchainConfig) SetR4 ¶
func (s *BlockchainConfig) SetR4(val string)
SetR4 sets the value of R4.
func (*BlockchainConfig) SetR40 ¶
func (s *BlockchainConfig) SetR40(val OptBlockchainConfig40)
SetR40 sets the value of R40.
func (*BlockchainConfig) SetR43 ¶
func (s *BlockchainConfig) SetR43(val OptBlockchainConfig43)
SetR43 sets the value of R43.
func (*BlockchainConfig) SetR44 ¶
func (s *BlockchainConfig) SetR44(val BlockchainConfig44)
SetR44 sets the value of R44.
func (*BlockchainConfig) SetR5 ¶
func (s *BlockchainConfig) SetR5(val OptBlockchainConfig5)
SetR5 sets the value of R5.
func (*BlockchainConfig) SetR6 ¶
func (s *BlockchainConfig) SetR6(val OptBlockchainConfig6)
SetR6 sets the value of R6.
func (*BlockchainConfig) SetR7 ¶
func (s *BlockchainConfig) SetR7(val OptBlockchainConfig7)
SetR7 sets the value of R7.
func (*BlockchainConfig) SetR71 ¶
func (s *BlockchainConfig) SetR71(val OptBlockchainConfig71)
SetR71 sets the value of R71.
func (*BlockchainConfig) SetR72 ¶
func (s *BlockchainConfig) SetR72(val OptBlockchainConfig72)
SetR72 sets the value of R72.
func (*BlockchainConfig) SetR73 ¶
func (s *BlockchainConfig) SetR73(val OptBlockchainConfig73)
SetR73 sets the value of R73.
func (*BlockchainConfig) SetR79 ¶
func (s *BlockchainConfig) SetR79(val OptBlockchainConfig79)
SetR79 sets the value of R79.
func (*BlockchainConfig) SetR8 ¶
func (s *BlockchainConfig) SetR8(val OptBlockchainConfig8)
SetR8 sets the value of R8.
func (*BlockchainConfig) SetR81 ¶
func (s *BlockchainConfig) SetR81(val OptBlockchainConfig81)
SetR81 sets the value of R81.
func (*BlockchainConfig) SetR82 ¶
func (s *BlockchainConfig) SetR82(val OptBlockchainConfig82)
SetR82 sets the value of R82.
func (*BlockchainConfig) SetR9 ¶
func (s *BlockchainConfig) SetR9(val OptBlockchainConfig9)
SetR9 sets the value of R9.
func (*BlockchainConfig) SetRaw ¶
func (s *BlockchainConfig) SetRaw(val string)
SetRaw sets the value of Raw.
func (*BlockchainConfig) UnmarshalJSON ¶
func (s *BlockchainConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig) Validate ¶
func (s *BlockchainConfig) Validate() error
type BlockchainConfig10 ¶
type BlockchainConfig10 struct {
CriticalParams []int32 `json:"critical_params"`
}
List of critical TON parameters, the change of which significantly affects the network, so more voting rounds are held.
func (*BlockchainConfig10) Decode ¶
func (s *BlockchainConfig10) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig10 from json.
func (*BlockchainConfig10) Encode ¶
func (s *BlockchainConfig10) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig10) GetCriticalParams ¶
func (s *BlockchainConfig10) GetCriticalParams() []int32
GetCriticalParams returns the value of CriticalParams.
func (*BlockchainConfig10) MarshalJSON ¶
func (s *BlockchainConfig10) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig10) SetCriticalParams ¶
func (s *BlockchainConfig10) SetCriticalParams(val []int32)
SetCriticalParams sets the value of CriticalParams.
func (*BlockchainConfig10) UnmarshalJSON ¶
func (s *BlockchainConfig10) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig10) Validate ¶
func (s *BlockchainConfig10) Validate() error
type BlockchainConfig11 ¶
type BlockchainConfig11 struct { NormalParams ConfigProposalSetup `json:"normal_params"` CriticalParams ConfigProposalSetup `json:"critical_params"` }
This parameter indicates under what conditions proposals to change the TON configuration are accepted.
func (*BlockchainConfig11) Decode ¶
func (s *BlockchainConfig11) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig11 from json.
func (*BlockchainConfig11) Encode ¶
func (s *BlockchainConfig11) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig11) GetCriticalParams ¶
func (s *BlockchainConfig11) GetCriticalParams() ConfigProposalSetup
GetCriticalParams returns the value of CriticalParams.
func (*BlockchainConfig11) GetNormalParams ¶
func (s *BlockchainConfig11) GetNormalParams() ConfigProposalSetup
GetNormalParams returns the value of NormalParams.
func (*BlockchainConfig11) MarshalJSON ¶
func (s *BlockchainConfig11) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig11) SetCriticalParams ¶
func (s *BlockchainConfig11) SetCriticalParams(val ConfigProposalSetup)
SetCriticalParams sets the value of CriticalParams.
func (*BlockchainConfig11) SetNormalParams ¶
func (s *BlockchainConfig11) SetNormalParams(val ConfigProposalSetup)
SetNormalParams sets the value of NormalParams.
func (*BlockchainConfig11) UnmarshalJSON ¶
func (s *BlockchainConfig11) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig12 ¶
type BlockchainConfig12 struct {
Workchains []WorkchainDescr `json:"workchains"`
}
Workchains in the TON Blockchain.
func (*BlockchainConfig12) Decode ¶
func (s *BlockchainConfig12) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig12 from json.
func (*BlockchainConfig12) Encode ¶
func (s *BlockchainConfig12) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig12) GetWorkchains ¶
func (s *BlockchainConfig12) GetWorkchains() []WorkchainDescr
GetWorkchains returns the value of Workchains.
func (*BlockchainConfig12) MarshalJSON ¶
func (s *BlockchainConfig12) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig12) SetWorkchains ¶
func (s *BlockchainConfig12) SetWorkchains(val []WorkchainDescr)
SetWorkchains sets the value of Workchains.
func (*BlockchainConfig12) UnmarshalJSON ¶
func (s *BlockchainConfig12) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig12) Validate ¶
func (s *BlockchainConfig12) Validate() error
type BlockchainConfig13 ¶
type BlockchainConfig13 struct { Deposit int64 `json:"deposit"` BitPrice int64 `json:"bit_price"` CellPrice int64 `json:"cell_price"` }
The cost of filing complaints about incorrect operation of validators.
func (*BlockchainConfig13) Decode ¶
func (s *BlockchainConfig13) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig13 from json.
func (*BlockchainConfig13) Encode ¶
func (s *BlockchainConfig13) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig13) GetBitPrice ¶
func (s *BlockchainConfig13) GetBitPrice() int64
GetBitPrice returns the value of BitPrice.
func (*BlockchainConfig13) GetCellPrice ¶
func (s *BlockchainConfig13) GetCellPrice() int64
GetCellPrice returns the value of CellPrice.
func (*BlockchainConfig13) GetDeposit ¶
func (s *BlockchainConfig13) GetDeposit() int64
GetDeposit returns the value of Deposit.
func (*BlockchainConfig13) MarshalJSON ¶
func (s *BlockchainConfig13) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig13) SetBitPrice ¶
func (s *BlockchainConfig13) SetBitPrice(val int64)
SetBitPrice sets the value of BitPrice.
func (*BlockchainConfig13) SetCellPrice ¶
func (s *BlockchainConfig13) SetCellPrice(val int64)
SetCellPrice sets the value of CellPrice.
func (*BlockchainConfig13) SetDeposit ¶
func (s *BlockchainConfig13) SetDeposit(val int64)
SetDeposit sets the value of Deposit.
func (*BlockchainConfig13) UnmarshalJSON ¶
func (s *BlockchainConfig13) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig14 ¶
type BlockchainConfig14 struct { MasterchainBlockFee int64 `json:"masterchain_block_fee"` BasechainBlockFee int64 `json:"basechain_block_fee"` }
The reward in nanoTons for block creation in the TON blockchain.
func (*BlockchainConfig14) Decode ¶
func (s *BlockchainConfig14) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig14 from json.
func (*BlockchainConfig14) Encode ¶
func (s *BlockchainConfig14) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig14) GetBasechainBlockFee ¶
func (s *BlockchainConfig14) GetBasechainBlockFee() int64
GetBasechainBlockFee returns the value of BasechainBlockFee.
func (*BlockchainConfig14) GetMasterchainBlockFee ¶
func (s *BlockchainConfig14) GetMasterchainBlockFee() int64
GetMasterchainBlockFee returns the value of MasterchainBlockFee.
func (*BlockchainConfig14) MarshalJSON ¶
func (s *BlockchainConfig14) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig14) SetBasechainBlockFee ¶
func (s *BlockchainConfig14) SetBasechainBlockFee(val int64)
SetBasechainBlockFee sets the value of BasechainBlockFee.
func (*BlockchainConfig14) SetMasterchainBlockFee ¶
func (s *BlockchainConfig14) SetMasterchainBlockFee(val int64)
SetMasterchainBlockFee sets the value of MasterchainBlockFee.
func (*BlockchainConfig14) UnmarshalJSON ¶
func (s *BlockchainConfig14) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig15 ¶
type BlockchainConfig15 struct { ValidatorsElectedFor int64 `json:"validators_elected_for"` ElectionsStartBefore int64 `json:"elections_start_before"` ElectionsEndBefore int64 `json:"elections_end_before"` StakeHeldFor int64 `json:"stake_held_for"` }
The reward in nanoTons for block creation in the TON blockchain.
func (*BlockchainConfig15) Decode ¶
func (s *BlockchainConfig15) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig15 from json.
func (*BlockchainConfig15) Encode ¶
func (s *BlockchainConfig15) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig15) GetElectionsEndBefore ¶
func (s *BlockchainConfig15) GetElectionsEndBefore() int64
GetElectionsEndBefore returns the value of ElectionsEndBefore.
func (*BlockchainConfig15) GetElectionsStartBefore ¶
func (s *BlockchainConfig15) GetElectionsStartBefore() int64
GetElectionsStartBefore returns the value of ElectionsStartBefore.
func (*BlockchainConfig15) GetStakeHeldFor ¶
func (s *BlockchainConfig15) GetStakeHeldFor() int64
GetStakeHeldFor returns the value of StakeHeldFor.
func (*BlockchainConfig15) GetValidatorsElectedFor ¶
func (s *BlockchainConfig15) GetValidatorsElectedFor() int64
GetValidatorsElectedFor returns the value of ValidatorsElectedFor.
func (*BlockchainConfig15) MarshalJSON ¶
func (s *BlockchainConfig15) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig15) SetElectionsEndBefore ¶
func (s *BlockchainConfig15) SetElectionsEndBefore(val int64)
SetElectionsEndBefore sets the value of ElectionsEndBefore.
func (*BlockchainConfig15) SetElectionsStartBefore ¶
func (s *BlockchainConfig15) SetElectionsStartBefore(val int64)
SetElectionsStartBefore sets the value of ElectionsStartBefore.
func (*BlockchainConfig15) SetStakeHeldFor ¶
func (s *BlockchainConfig15) SetStakeHeldFor(val int64)
SetStakeHeldFor sets the value of StakeHeldFor.
func (*BlockchainConfig15) SetValidatorsElectedFor ¶
func (s *BlockchainConfig15) SetValidatorsElectedFor(val int64)
SetValidatorsElectedFor sets the value of ValidatorsElectedFor.
func (*BlockchainConfig15) UnmarshalJSON ¶
func (s *BlockchainConfig15) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig16 ¶
type BlockchainConfig16 struct { MaxValidators int `json:"max_validators"` MaxMainValidators int `json:"max_main_validators"` MinValidators int `json:"min_validators"` }
The limits on the number of validators in the TON blockchain.
func (*BlockchainConfig16) Decode ¶
func (s *BlockchainConfig16) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig16 from json.
func (*BlockchainConfig16) Encode ¶
func (s *BlockchainConfig16) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig16) GetMaxMainValidators ¶
func (s *BlockchainConfig16) GetMaxMainValidators() int
GetMaxMainValidators returns the value of MaxMainValidators.
func (*BlockchainConfig16) GetMaxValidators ¶
func (s *BlockchainConfig16) GetMaxValidators() int
GetMaxValidators returns the value of MaxValidators.
func (*BlockchainConfig16) GetMinValidators ¶
func (s *BlockchainConfig16) GetMinValidators() int
GetMinValidators returns the value of MinValidators.
func (*BlockchainConfig16) MarshalJSON ¶
func (s *BlockchainConfig16) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig16) SetMaxMainValidators ¶
func (s *BlockchainConfig16) SetMaxMainValidators(val int)
SetMaxMainValidators sets the value of MaxMainValidators.
func (*BlockchainConfig16) SetMaxValidators ¶
func (s *BlockchainConfig16) SetMaxValidators(val int)
SetMaxValidators sets the value of MaxValidators.
func (*BlockchainConfig16) SetMinValidators ¶
func (s *BlockchainConfig16) SetMinValidators(val int)
SetMinValidators sets the value of MinValidators.
func (*BlockchainConfig16) UnmarshalJSON ¶
func (s *BlockchainConfig16) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig17 ¶
type BlockchainConfig17 struct { MinStake string `json:"min_stake"` MaxStake string `json:"max_stake"` MinTotalStake string `json:"min_total_stake"` MaxStakeFactor int64 `json:"max_stake_factor"` }
The stake parameters configuration in the TON blockchain.
func (*BlockchainConfig17) Decode ¶
func (s *BlockchainConfig17) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig17 from json.
func (*BlockchainConfig17) Encode ¶
func (s *BlockchainConfig17) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig17) GetMaxStake ¶
func (s *BlockchainConfig17) GetMaxStake() string
GetMaxStake returns the value of MaxStake.
func (*BlockchainConfig17) GetMaxStakeFactor ¶
func (s *BlockchainConfig17) GetMaxStakeFactor() int64
GetMaxStakeFactor returns the value of MaxStakeFactor.
func (*BlockchainConfig17) GetMinStake ¶
func (s *BlockchainConfig17) GetMinStake() string
GetMinStake returns the value of MinStake.
func (*BlockchainConfig17) GetMinTotalStake ¶
func (s *BlockchainConfig17) GetMinTotalStake() string
GetMinTotalStake returns the value of MinTotalStake.
func (*BlockchainConfig17) MarshalJSON ¶
func (s *BlockchainConfig17) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig17) SetMaxStake ¶
func (s *BlockchainConfig17) SetMaxStake(val string)
SetMaxStake sets the value of MaxStake.
func (*BlockchainConfig17) SetMaxStakeFactor ¶
func (s *BlockchainConfig17) SetMaxStakeFactor(val int64)
SetMaxStakeFactor sets the value of MaxStakeFactor.
func (*BlockchainConfig17) SetMinStake ¶
func (s *BlockchainConfig17) SetMinStake(val string)
SetMinStake sets the value of MinStake.
func (*BlockchainConfig17) SetMinTotalStake ¶
func (s *BlockchainConfig17) SetMinTotalStake(val string)
SetMinTotalStake sets the value of MinTotalStake.
func (*BlockchainConfig17) UnmarshalJSON ¶
func (s *BlockchainConfig17) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig18 ¶
type BlockchainConfig18 struct {
StoragePrices []BlockchainConfig18StoragePricesItem `json:"storage_prices"`
}
The prices for data storage.
func (*BlockchainConfig18) Decode ¶
func (s *BlockchainConfig18) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig18 from json.
func (*BlockchainConfig18) Encode ¶
func (s *BlockchainConfig18) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig18) GetStoragePrices ¶
func (s *BlockchainConfig18) GetStoragePrices() []BlockchainConfig18StoragePricesItem
GetStoragePrices returns the value of StoragePrices.
func (*BlockchainConfig18) MarshalJSON ¶
func (s *BlockchainConfig18) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig18) SetStoragePrices ¶
func (s *BlockchainConfig18) SetStoragePrices(val []BlockchainConfig18StoragePricesItem)
SetStoragePrices sets the value of StoragePrices.
func (*BlockchainConfig18) UnmarshalJSON ¶
func (s *BlockchainConfig18) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig18) Validate ¶
func (s *BlockchainConfig18) Validate() error
type BlockchainConfig18StoragePricesItem ¶
type BlockchainConfig18StoragePricesItem struct { UtimeSince int64 `json:"utime_since"` BitPricePs int64 `json:"bit_price_ps"` CellPricePs int64 `json:"cell_price_ps"` McBitPricePs int64 `json:"mc_bit_price_ps"` McCellPricePs int64 `json:"mc_cell_price_ps"` }
func (*BlockchainConfig18StoragePricesItem) Decode ¶
func (s *BlockchainConfig18StoragePricesItem) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig18StoragePricesItem from json.
func (*BlockchainConfig18StoragePricesItem) Encode ¶
func (s *BlockchainConfig18StoragePricesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig18StoragePricesItem) GetBitPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) GetBitPricePs() int64
GetBitPricePs returns the value of BitPricePs.
func (*BlockchainConfig18StoragePricesItem) GetCellPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) GetCellPricePs() int64
GetCellPricePs returns the value of CellPricePs.
func (*BlockchainConfig18StoragePricesItem) GetMcBitPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) GetMcBitPricePs() int64
GetMcBitPricePs returns the value of McBitPricePs.
func (*BlockchainConfig18StoragePricesItem) GetMcCellPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) GetMcCellPricePs() int64
GetMcCellPricePs returns the value of McCellPricePs.
func (*BlockchainConfig18StoragePricesItem) GetUtimeSince ¶
func (s *BlockchainConfig18StoragePricesItem) GetUtimeSince() int64
GetUtimeSince returns the value of UtimeSince.
func (*BlockchainConfig18StoragePricesItem) MarshalJSON ¶
func (s *BlockchainConfig18StoragePricesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig18StoragePricesItem) SetBitPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) SetBitPricePs(val int64)
SetBitPricePs sets the value of BitPricePs.
func (*BlockchainConfig18StoragePricesItem) SetCellPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) SetCellPricePs(val int64)
SetCellPricePs sets the value of CellPricePs.
func (*BlockchainConfig18StoragePricesItem) SetMcBitPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) SetMcBitPricePs(val int64)
SetMcBitPricePs sets the value of McBitPricePs.
func (*BlockchainConfig18StoragePricesItem) SetMcCellPricePs ¶
func (s *BlockchainConfig18StoragePricesItem) SetMcCellPricePs(val int64)
SetMcCellPricePs sets the value of McCellPricePs.
func (*BlockchainConfig18StoragePricesItem) SetUtimeSince ¶
func (s *BlockchainConfig18StoragePricesItem) SetUtimeSince(val int64)
SetUtimeSince sets the value of UtimeSince.
func (*BlockchainConfig18StoragePricesItem) UnmarshalJSON ¶
func (s *BlockchainConfig18StoragePricesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig20 ¶
type BlockchainConfig20 struct {
GasLimitsPrices GasLimitPrices `json:"gas_limits_prices"`
}
The cost of computations in the masterchain. The complexity of any computation is estimated in gas units.
func (*BlockchainConfig20) Decode ¶
func (s *BlockchainConfig20) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig20 from json.
func (*BlockchainConfig20) Encode ¶
func (s *BlockchainConfig20) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig20) GetGasLimitsPrices ¶
func (s *BlockchainConfig20) GetGasLimitsPrices() GasLimitPrices
GetGasLimitsPrices returns the value of GasLimitsPrices.
func (*BlockchainConfig20) MarshalJSON ¶
func (s *BlockchainConfig20) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig20) SetGasLimitsPrices ¶
func (s *BlockchainConfig20) SetGasLimitsPrices(val GasLimitPrices)
SetGasLimitsPrices sets the value of GasLimitsPrices.
func (*BlockchainConfig20) UnmarshalJSON ¶
func (s *BlockchainConfig20) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig21 ¶
type BlockchainConfig21 struct {
GasLimitsPrices GasLimitPrices `json:"gas_limits_prices"`
}
The cost of computations in the basechains. The complexity of any computation is estimated in gas units.
func (*BlockchainConfig21) Decode ¶
func (s *BlockchainConfig21) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig21 from json.
func (*BlockchainConfig21) Encode ¶
func (s *BlockchainConfig21) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig21) GetGasLimitsPrices ¶
func (s *BlockchainConfig21) GetGasLimitsPrices() GasLimitPrices
GetGasLimitsPrices returns the value of GasLimitsPrices.
func (*BlockchainConfig21) MarshalJSON ¶
func (s *BlockchainConfig21) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig21) SetGasLimitsPrices ¶
func (s *BlockchainConfig21) SetGasLimitsPrices(val GasLimitPrices)
SetGasLimitsPrices sets the value of GasLimitsPrices.
func (*BlockchainConfig21) UnmarshalJSON ¶
func (s *BlockchainConfig21) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig22 ¶
type BlockchainConfig22 struct {
BlockLimits BlockLimits `json:"block_limits"`
}
The limits on the block in the masterchain, upon reaching which the block is finalized and the callback of the remaining messages (if any) is carried over to the next block.
func (*BlockchainConfig22) Decode ¶
func (s *BlockchainConfig22) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig22 from json.
func (*BlockchainConfig22) Encode ¶
func (s *BlockchainConfig22) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig22) GetBlockLimits ¶
func (s *BlockchainConfig22) GetBlockLimits() BlockLimits
GetBlockLimits returns the value of BlockLimits.
func (*BlockchainConfig22) MarshalJSON ¶
func (s *BlockchainConfig22) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig22) SetBlockLimits ¶
func (s *BlockchainConfig22) SetBlockLimits(val BlockLimits)
SetBlockLimits sets the value of BlockLimits.
func (*BlockchainConfig22) UnmarshalJSON ¶
func (s *BlockchainConfig22) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig23 ¶
type BlockchainConfig23 struct {
BlockLimits BlockLimits `json:"block_limits"`
}
The limits on the block in the basechains, upon reaching which the block is finalized and the callback of the remaining messages (if any) is carried over to the next block.
func (*BlockchainConfig23) Decode ¶
func (s *BlockchainConfig23) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig23 from json.
func (*BlockchainConfig23) Encode ¶
func (s *BlockchainConfig23) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig23) GetBlockLimits ¶
func (s *BlockchainConfig23) GetBlockLimits() BlockLimits
GetBlockLimits returns the value of BlockLimits.
func (*BlockchainConfig23) MarshalJSON ¶
func (s *BlockchainConfig23) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig23) SetBlockLimits ¶
func (s *BlockchainConfig23) SetBlockLimits(val BlockLimits)
SetBlockLimits sets the value of BlockLimits.
func (*BlockchainConfig23) UnmarshalJSON ¶
func (s *BlockchainConfig23) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig24 ¶
type BlockchainConfig24 struct {
MsgForwardPrices MsgForwardPrices `json:"msg_forward_prices"`
}
The cost of sending messages in the masterchain of the TON blockchain.
func (*BlockchainConfig24) Decode ¶
func (s *BlockchainConfig24) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig24 from json.
func (*BlockchainConfig24) Encode ¶
func (s *BlockchainConfig24) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig24) GetMsgForwardPrices ¶
func (s *BlockchainConfig24) GetMsgForwardPrices() MsgForwardPrices
GetMsgForwardPrices returns the value of MsgForwardPrices.
func (*BlockchainConfig24) MarshalJSON ¶
func (s *BlockchainConfig24) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig24) SetMsgForwardPrices ¶
func (s *BlockchainConfig24) SetMsgForwardPrices(val MsgForwardPrices)
SetMsgForwardPrices sets the value of MsgForwardPrices.
func (*BlockchainConfig24) UnmarshalJSON ¶
func (s *BlockchainConfig24) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig25 ¶
type BlockchainConfig25 struct {
MsgForwardPrices MsgForwardPrices `json:"msg_forward_prices"`
}
The cost of sending messages in the basechains of the TON blockchain.
func (*BlockchainConfig25) Decode ¶
func (s *BlockchainConfig25) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig25 from json.
func (*BlockchainConfig25) Encode ¶
func (s *BlockchainConfig25) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig25) GetMsgForwardPrices ¶
func (s *BlockchainConfig25) GetMsgForwardPrices() MsgForwardPrices
GetMsgForwardPrices returns the value of MsgForwardPrices.
func (*BlockchainConfig25) MarshalJSON ¶
func (s *BlockchainConfig25) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig25) SetMsgForwardPrices ¶
func (s *BlockchainConfig25) SetMsgForwardPrices(val MsgForwardPrices)
SetMsgForwardPrices sets the value of MsgForwardPrices.
func (*BlockchainConfig25) UnmarshalJSON ¶
func (s *BlockchainConfig25) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig28 ¶
type BlockchainConfig28 struct { McCatchainLifetime int64 `json:"mc_catchain_lifetime"` ShardCatchainLifetime int64 `json:"shard_catchain_lifetime"` ShardValidatorsLifetime int64 `json:"shard_validators_lifetime"` ShardValidatorsNum int64 `json:"shard_validators_num"` Flags OptInt `json:"flags"` ShuffleMcValidators OptBool `json:"shuffle_mc_validators"` }
The configuration for the Catchain protocol.
func (*BlockchainConfig28) Decode ¶
func (s *BlockchainConfig28) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig28 from json.
func (*BlockchainConfig28) Encode ¶
func (s *BlockchainConfig28) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig28) GetFlags ¶
func (s *BlockchainConfig28) GetFlags() OptInt
GetFlags returns the value of Flags.
func (*BlockchainConfig28) GetMcCatchainLifetime ¶
func (s *BlockchainConfig28) GetMcCatchainLifetime() int64
GetMcCatchainLifetime returns the value of McCatchainLifetime.
func (*BlockchainConfig28) GetShardCatchainLifetime ¶
func (s *BlockchainConfig28) GetShardCatchainLifetime() int64
GetShardCatchainLifetime returns the value of ShardCatchainLifetime.
func (*BlockchainConfig28) GetShardValidatorsLifetime ¶
func (s *BlockchainConfig28) GetShardValidatorsLifetime() int64
GetShardValidatorsLifetime returns the value of ShardValidatorsLifetime.
func (*BlockchainConfig28) GetShardValidatorsNum ¶
func (s *BlockchainConfig28) GetShardValidatorsNum() int64
GetShardValidatorsNum returns the value of ShardValidatorsNum.
func (*BlockchainConfig28) GetShuffleMcValidators ¶
func (s *BlockchainConfig28) GetShuffleMcValidators() OptBool
GetShuffleMcValidators returns the value of ShuffleMcValidators.
func (*BlockchainConfig28) MarshalJSON ¶
func (s *BlockchainConfig28) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig28) SetFlags ¶
func (s *BlockchainConfig28) SetFlags(val OptInt)
SetFlags sets the value of Flags.
func (*BlockchainConfig28) SetMcCatchainLifetime ¶
func (s *BlockchainConfig28) SetMcCatchainLifetime(val int64)
SetMcCatchainLifetime sets the value of McCatchainLifetime.
func (*BlockchainConfig28) SetShardCatchainLifetime ¶
func (s *BlockchainConfig28) SetShardCatchainLifetime(val int64)
SetShardCatchainLifetime sets the value of ShardCatchainLifetime.
func (*BlockchainConfig28) SetShardValidatorsLifetime ¶
func (s *BlockchainConfig28) SetShardValidatorsLifetime(val int64)
SetShardValidatorsLifetime sets the value of ShardValidatorsLifetime.
func (*BlockchainConfig28) SetShardValidatorsNum ¶
func (s *BlockchainConfig28) SetShardValidatorsNum(val int64)
SetShardValidatorsNum sets the value of ShardValidatorsNum.
func (*BlockchainConfig28) SetShuffleMcValidators ¶
func (s *BlockchainConfig28) SetShuffleMcValidators(val OptBool)
SetShuffleMcValidators sets the value of ShuffleMcValidators.
func (*BlockchainConfig28) UnmarshalJSON ¶
func (s *BlockchainConfig28) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig29 ¶
type BlockchainConfig29 struct { Flags OptInt `json:"flags"` NewCatchainIds OptBool `json:"new_catchain_ids"` RoundCandidates int64 `json:"round_candidates"` NextCandidateDelayMs int64 `json:"next_candidate_delay_ms"` ConsensusTimeoutMs int64 `json:"consensus_timeout_ms"` FastAttempts int64 `json:"fast_attempts"` AttemptDuration int64 `json:"attempt_duration"` CatchainMaxDeps int64 `json:"catchain_max_deps"` MaxBlockBytes int64 `json:"max_block_bytes"` MaxCollatedBytes int64 `json:"max_collated_bytes"` ProtoVersion OptInt64 `json:"proto_version"` CatchainMaxBlocksCoeff OptInt64 `json:"catchain_max_blocks_coeff"` }
The configuration for the consensus protocol above catchain.
func (*BlockchainConfig29) Decode ¶
func (s *BlockchainConfig29) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig29 from json.
func (*BlockchainConfig29) Encode ¶
func (s *BlockchainConfig29) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig29) GetAttemptDuration ¶
func (s *BlockchainConfig29) GetAttemptDuration() int64
GetAttemptDuration returns the value of AttemptDuration.
func (*BlockchainConfig29) GetCatchainMaxBlocksCoeff ¶
func (s *BlockchainConfig29) GetCatchainMaxBlocksCoeff() OptInt64
GetCatchainMaxBlocksCoeff returns the value of CatchainMaxBlocksCoeff.
func (*BlockchainConfig29) GetCatchainMaxDeps ¶
func (s *BlockchainConfig29) GetCatchainMaxDeps() int64
GetCatchainMaxDeps returns the value of CatchainMaxDeps.
func (*BlockchainConfig29) GetConsensusTimeoutMs ¶
func (s *BlockchainConfig29) GetConsensusTimeoutMs() int64
GetConsensusTimeoutMs returns the value of ConsensusTimeoutMs.
func (*BlockchainConfig29) GetFastAttempts ¶
func (s *BlockchainConfig29) GetFastAttempts() int64
GetFastAttempts returns the value of FastAttempts.
func (*BlockchainConfig29) GetFlags ¶
func (s *BlockchainConfig29) GetFlags() OptInt
GetFlags returns the value of Flags.
func (*BlockchainConfig29) GetMaxBlockBytes ¶
func (s *BlockchainConfig29) GetMaxBlockBytes() int64
GetMaxBlockBytes returns the value of MaxBlockBytes.
func (*BlockchainConfig29) GetMaxCollatedBytes ¶
func (s *BlockchainConfig29) GetMaxCollatedBytes() int64
GetMaxCollatedBytes returns the value of MaxCollatedBytes.
func (*BlockchainConfig29) GetNewCatchainIds ¶
func (s *BlockchainConfig29) GetNewCatchainIds() OptBool
GetNewCatchainIds returns the value of NewCatchainIds.
func (*BlockchainConfig29) GetNextCandidateDelayMs ¶
func (s *BlockchainConfig29) GetNextCandidateDelayMs() int64
GetNextCandidateDelayMs returns the value of NextCandidateDelayMs.
func (*BlockchainConfig29) GetProtoVersion ¶
func (s *BlockchainConfig29) GetProtoVersion() OptInt64
GetProtoVersion returns the value of ProtoVersion.
func (*BlockchainConfig29) GetRoundCandidates ¶
func (s *BlockchainConfig29) GetRoundCandidates() int64
GetRoundCandidates returns the value of RoundCandidates.
func (*BlockchainConfig29) MarshalJSON ¶
func (s *BlockchainConfig29) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig29) SetAttemptDuration ¶
func (s *BlockchainConfig29) SetAttemptDuration(val int64)
SetAttemptDuration sets the value of AttemptDuration.
func (*BlockchainConfig29) SetCatchainMaxBlocksCoeff ¶
func (s *BlockchainConfig29) SetCatchainMaxBlocksCoeff(val OptInt64)
SetCatchainMaxBlocksCoeff sets the value of CatchainMaxBlocksCoeff.
func (*BlockchainConfig29) SetCatchainMaxDeps ¶
func (s *BlockchainConfig29) SetCatchainMaxDeps(val int64)
SetCatchainMaxDeps sets the value of CatchainMaxDeps.
func (*BlockchainConfig29) SetConsensusTimeoutMs ¶
func (s *BlockchainConfig29) SetConsensusTimeoutMs(val int64)
SetConsensusTimeoutMs sets the value of ConsensusTimeoutMs.
func (*BlockchainConfig29) SetFastAttempts ¶
func (s *BlockchainConfig29) SetFastAttempts(val int64)
SetFastAttempts sets the value of FastAttempts.
func (*BlockchainConfig29) SetFlags ¶
func (s *BlockchainConfig29) SetFlags(val OptInt)
SetFlags sets the value of Flags.
func (*BlockchainConfig29) SetMaxBlockBytes ¶
func (s *BlockchainConfig29) SetMaxBlockBytes(val int64)
SetMaxBlockBytes sets the value of MaxBlockBytes.
func (*BlockchainConfig29) SetMaxCollatedBytes ¶
func (s *BlockchainConfig29) SetMaxCollatedBytes(val int64)
SetMaxCollatedBytes sets the value of MaxCollatedBytes.
func (*BlockchainConfig29) SetNewCatchainIds ¶
func (s *BlockchainConfig29) SetNewCatchainIds(val OptBool)
SetNewCatchainIds sets the value of NewCatchainIds.
func (*BlockchainConfig29) SetNextCandidateDelayMs ¶
func (s *BlockchainConfig29) SetNextCandidateDelayMs(val int64)
SetNextCandidateDelayMs sets the value of NextCandidateDelayMs.
func (*BlockchainConfig29) SetProtoVersion ¶
func (s *BlockchainConfig29) SetProtoVersion(val OptInt64)
SetProtoVersion sets the value of ProtoVersion.
func (*BlockchainConfig29) SetRoundCandidates ¶
func (s *BlockchainConfig29) SetRoundCandidates(val int64)
SetRoundCandidates sets the value of RoundCandidates.
func (*BlockchainConfig29) UnmarshalJSON ¶
func (s *BlockchainConfig29) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig31 ¶
type BlockchainConfig31 struct {
FundamentalSmcAddr []string `json:"fundamental_smc_addr"`
}
The configuration for the consensus protocol above catchain.
func (*BlockchainConfig31) Decode ¶
func (s *BlockchainConfig31) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig31 from json.
func (*BlockchainConfig31) Encode ¶
func (s *BlockchainConfig31) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig31) GetFundamentalSmcAddr ¶
func (s *BlockchainConfig31) GetFundamentalSmcAddr() []string
GetFundamentalSmcAddr returns the value of FundamentalSmcAddr.
func (*BlockchainConfig31) MarshalJSON ¶
func (s *BlockchainConfig31) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig31) SetFundamentalSmcAddr ¶
func (s *BlockchainConfig31) SetFundamentalSmcAddr(val []string)
SetFundamentalSmcAddr sets the value of FundamentalSmcAddr.
func (*BlockchainConfig31) UnmarshalJSON ¶
func (s *BlockchainConfig31) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig31) Validate ¶
func (s *BlockchainConfig31) Validate() error
type BlockchainConfig40 ¶
type BlockchainConfig40 struct {
MisbehaviourPunishmentConfig MisbehaviourPunishmentConfig `json:"misbehaviour_punishment_config"`
}
The configuration for punishment for improper behavior (non-validation). In the absence of the parameter, the default fine size is 101 TON.
func (*BlockchainConfig40) Decode ¶
func (s *BlockchainConfig40) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig40 from json.
func (*BlockchainConfig40) Encode ¶
func (s *BlockchainConfig40) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig40) GetMisbehaviourPunishmentConfig ¶
func (s *BlockchainConfig40) GetMisbehaviourPunishmentConfig() MisbehaviourPunishmentConfig
GetMisbehaviourPunishmentConfig returns the value of MisbehaviourPunishmentConfig.
func (*BlockchainConfig40) MarshalJSON ¶
func (s *BlockchainConfig40) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig40) SetMisbehaviourPunishmentConfig ¶
func (s *BlockchainConfig40) SetMisbehaviourPunishmentConfig(val MisbehaviourPunishmentConfig)
SetMisbehaviourPunishmentConfig sets the value of MisbehaviourPunishmentConfig.
func (*BlockchainConfig40) UnmarshalJSON ¶
func (s *BlockchainConfig40) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig43 ¶
type BlockchainConfig43 struct {
SizeLimitsConfig SizeLimitsConfig `json:"size_limits_config"`
}
The size limits and some other characteristics of accounts and messages.
func (*BlockchainConfig43) Decode ¶
func (s *BlockchainConfig43) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig43 from json.
func (*BlockchainConfig43) Encode ¶
func (s *BlockchainConfig43) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig43) GetSizeLimitsConfig ¶
func (s *BlockchainConfig43) GetSizeLimitsConfig() SizeLimitsConfig
GetSizeLimitsConfig returns the value of SizeLimitsConfig.
func (*BlockchainConfig43) MarshalJSON ¶
func (s *BlockchainConfig43) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig43) SetSizeLimitsConfig ¶
func (s *BlockchainConfig43) SetSizeLimitsConfig(val SizeLimitsConfig)
SetSizeLimitsConfig sets the value of SizeLimitsConfig.
func (*BlockchainConfig43) UnmarshalJSON ¶
func (s *BlockchainConfig43) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig44 ¶
type BlockchainConfig44 struct { Accounts []string `json:"accounts"` SuspendedUntil int `json:"suspended_until"` }
Suspended accounts.
func (*BlockchainConfig44) Decode ¶
func (s *BlockchainConfig44) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig44 from json.
func (*BlockchainConfig44) Encode ¶
func (s *BlockchainConfig44) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig44) GetAccounts ¶
func (s *BlockchainConfig44) GetAccounts() []string
GetAccounts returns the value of Accounts.
func (*BlockchainConfig44) GetSuspendedUntil ¶
func (s *BlockchainConfig44) GetSuspendedUntil() int
GetSuspendedUntil returns the value of SuspendedUntil.
func (*BlockchainConfig44) MarshalJSON ¶
func (s *BlockchainConfig44) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig44) SetAccounts ¶
func (s *BlockchainConfig44) SetAccounts(val []string)
SetAccounts sets the value of Accounts.
func (*BlockchainConfig44) SetSuspendedUntil ¶
func (s *BlockchainConfig44) SetSuspendedUntil(val int)
SetSuspendedUntil sets the value of SuspendedUntil.
func (*BlockchainConfig44) UnmarshalJSON ¶
func (s *BlockchainConfig44) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig44) Validate ¶
func (s *BlockchainConfig44) Validate() error
type BlockchainConfig5 ¶
type BlockchainConfig5 struct { BlackholeAddr OptString `json:"blackhole_addr"` FeeBurnNom int64 `json:"fee_burn_nom"` FeeBurnDenom int64 `json:"fee_burn_denom"` }
func (*BlockchainConfig5) Decode ¶
func (s *BlockchainConfig5) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig5 from json.
func (*BlockchainConfig5) Encode ¶
func (s *BlockchainConfig5) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig5) GetBlackholeAddr ¶
func (s *BlockchainConfig5) GetBlackholeAddr() OptString
GetBlackholeAddr returns the value of BlackholeAddr.
func (*BlockchainConfig5) GetFeeBurnDenom ¶
func (s *BlockchainConfig5) GetFeeBurnDenom() int64
GetFeeBurnDenom returns the value of FeeBurnDenom.
func (*BlockchainConfig5) GetFeeBurnNom ¶
func (s *BlockchainConfig5) GetFeeBurnNom() int64
GetFeeBurnNom returns the value of FeeBurnNom.
func (*BlockchainConfig5) MarshalJSON ¶
func (s *BlockchainConfig5) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig5) SetBlackholeAddr ¶
func (s *BlockchainConfig5) SetBlackholeAddr(val OptString)
SetBlackholeAddr sets the value of BlackholeAddr.
func (*BlockchainConfig5) SetFeeBurnDenom ¶
func (s *BlockchainConfig5) SetFeeBurnDenom(val int64)
SetFeeBurnDenom sets the value of FeeBurnDenom.
func (*BlockchainConfig5) SetFeeBurnNom ¶
func (s *BlockchainConfig5) SetFeeBurnNom(val int64)
SetFeeBurnNom sets the value of FeeBurnNom.
func (*BlockchainConfig5) UnmarshalJSON ¶
func (s *BlockchainConfig5) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig6 ¶
type BlockchainConfig6 struct { MintNewPrice int64 `json:"mint_new_price"` MintAddPrice int64 `json:"mint_add_price"` }
Minting fees of new currencies.
func (*BlockchainConfig6) Decode ¶
func (s *BlockchainConfig6) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig6 from json.
func (*BlockchainConfig6) Encode ¶
func (s *BlockchainConfig6) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig6) GetMintAddPrice ¶
func (s *BlockchainConfig6) GetMintAddPrice() int64
GetMintAddPrice returns the value of MintAddPrice.
func (*BlockchainConfig6) GetMintNewPrice ¶
func (s *BlockchainConfig6) GetMintNewPrice() int64
GetMintNewPrice returns the value of MintNewPrice.
func (*BlockchainConfig6) MarshalJSON ¶
func (s *BlockchainConfig6) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig6) SetMintAddPrice ¶
func (s *BlockchainConfig6) SetMintAddPrice(val int64)
SetMintAddPrice sets the value of MintAddPrice.
func (*BlockchainConfig6) SetMintNewPrice ¶
func (s *BlockchainConfig6) SetMintNewPrice(val int64)
SetMintNewPrice sets the value of MintNewPrice.
func (*BlockchainConfig6) UnmarshalJSON ¶
func (s *BlockchainConfig6) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig7 ¶
type BlockchainConfig7 struct {
Currencies []BlockchainConfig7CurrenciesItem `json:"currencies"`
}
The volume of each of the additional currencies in circulation.
func (*BlockchainConfig7) Decode ¶
func (s *BlockchainConfig7) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig7 from json.
func (*BlockchainConfig7) Encode ¶
func (s *BlockchainConfig7) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig7) GetCurrencies ¶
func (s *BlockchainConfig7) GetCurrencies() []BlockchainConfig7CurrenciesItem
GetCurrencies returns the value of Currencies.
func (*BlockchainConfig7) MarshalJSON ¶
func (s *BlockchainConfig7) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig7) SetCurrencies ¶
func (s *BlockchainConfig7) SetCurrencies(val []BlockchainConfig7CurrenciesItem)
SetCurrencies sets the value of Currencies.
func (*BlockchainConfig7) UnmarshalJSON ¶
func (s *BlockchainConfig7) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig7) Validate ¶
func (s *BlockchainConfig7) Validate() error
type BlockchainConfig71 ¶
type BlockchainConfig71 struct {
OracleBridgeParams OracleBridgeParams `json:"oracle_bridge_params"`
}
Bridge parameters for wrapping TON in other networks.
func (*BlockchainConfig71) Decode ¶
func (s *BlockchainConfig71) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig71 from json.
func (*BlockchainConfig71) Encode ¶
func (s *BlockchainConfig71) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig71) GetOracleBridgeParams ¶
func (s *BlockchainConfig71) GetOracleBridgeParams() OracleBridgeParams
GetOracleBridgeParams returns the value of OracleBridgeParams.
func (*BlockchainConfig71) MarshalJSON ¶
func (s *BlockchainConfig71) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig71) SetOracleBridgeParams ¶
func (s *BlockchainConfig71) SetOracleBridgeParams(val OracleBridgeParams)
SetOracleBridgeParams sets the value of OracleBridgeParams.
func (*BlockchainConfig71) UnmarshalJSON ¶
func (s *BlockchainConfig71) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig71) Validate ¶
func (s *BlockchainConfig71) Validate() error
type BlockchainConfig72 ¶
type BlockchainConfig72 struct {
OracleBridgeParams OracleBridgeParams `json:"oracle_bridge_params"`
}
Bridge parameters for wrapping TON in other networks.
func (*BlockchainConfig72) Decode ¶
func (s *BlockchainConfig72) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig72 from json.
func (*BlockchainConfig72) Encode ¶
func (s *BlockchainConfig72) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig72) GetOracleBridgeParams ¶
func (s *BlockchainConfig72) GetOracleBridgeParams() OracleBridgeParams
GetOracleBridgeParams returns the value of OracleBridgeParams.
func (*BlockchainConfig72) MarshalJSON ¶
func (s *BlockchainConfig72) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig72) SetOracleBridgeParams ¶
func (s *BlockchainConfig72) SetOracleBridgeParams(val OracleBridgeParams)
SetOracleBridgeParams sets the value of OracleBridgeParams.
func (*BlockchainConfig72) UnmarshalJSON ¶
func (s *BlockchainConfig72) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig72) Validate ¶
func (s *BlockchainConfig72) Validate() error
type BlockchainConfig73 ¶
type BlockchainConfig73 struct {
OracleBridgeParams OracleBridgeParams `json:"oracle_bridge_params"`
}
Bridge parameters for wrapping TON in other networks.
func (*BlockchainConfig73) Decode ¶
func (s *BlockchainConfig73) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig73 from json.
func (*BlockchainConfig73) Encode ¶
func (s *BlockchainConfig73) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig73) GetOracleBridgeParams ¶
func (s *BlockchainConfig73) GetOracleBridgeParams() OracleBridgeParams
GetOracleBridgeParams returns the value of OracleBridgeParams.
func (*BlockchainConfig73) MarshalJSON ¶
func (s *BlockchainConfig73) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig73) SetOracleBridgeParams ¶
func (s *BlockchainConfig73) SetOracleBridgeParams(val OracleBridgeParams)
SetOracleBridgeParams sets the value of OracleBridgeParams.
func (*BlockchainConfig73) UnmarshalJSON ¶
func (s *BlockchainConfig73) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig73) Validate ¶
func (s *BlockchainConfig73) Validate() error
type BlockchainConfig79 ¶
type BlockchainConfig79 struct {
JettonBridgeParams JettonBridgeParams `json:"jetton_bridge_params"`
}
Bridge parameters for wrapping tokens from other networks into tokens on the TON network.
func (*BlockchainConfig79) Decode ¶
func (s *BlockchainConfig79) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig79 from json.
func (*BlockchainConfig79) Encode ¶
func (s *BlockchainConfig79) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig79) GetJettonBridgeParams ¶
func (s *BlockchainConfig79) GetJettonBridgeParams() JettonBridgeParams
GetJettonBridgeParams returns the value of JettonBridgeParams.
func (*BlockchainConfig79) MarshalJSON ¶
func (s *BlockchainConfig79) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig79) SetJettonBridgeParams ¶
func (s *BlockchainConfig79) SetJettonBridgeParams(val JettonBridgeParams)
SetJettonBridgeParams sets the value of JettonBridgeParams.
func (*BlockchainConfig79) UnmarshalJSON ¶
func (s *BlockchainConfig79) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig79) Validate ¶
func (s *BlockchainConfig79) Validate() error
type BlockchainConfig7CurrenciesItem ¶
type BlockchainConfig7CurrenciesItem struct { CurrencyID int64 `json:"currency_id"` Amount string `json:"amount"` }
func (*BlockchainConfig7CurrenciesItem) Decode ¶
func (s *BlockchainConfig7CurrenciesItem) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig7CurrenciesItem from json.
func (*BlockchainConfig7CurrenciesItem) Encode ¶
func (s *BlockchainConfig7CurrenciesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig7CurrenciesItem) GetAmount ¶
func (s *BlockchainConfig7CurrenciesItem) GetAmount() string
GetAmount returns the value of Amount.
func (*BlockchainConfig7CurrenciesItem) GetCurrencyID ¶
func (s *BlockchainConfig7CurrenciesItem) GetCurrencyID() int64
GetCurrencyID returns the value of CurrencyID.
func (*BlockchainConfig7CurrenciesItem) MarshalJSON ¶
func (s *BlockchainConfig7CurrenciesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig7CurrenciesItem) SetAmount ¶
func (s *BlockchainConfig7CurrenciesItem) SetAmount(val string)
SetAmount sets the value of Amount.
func (*BlockchainConfig7CurrenciesItem) SetCurrencyID ¶
func (s *BlockchainConfig7CurrenciesItem) SetCurrencyID(val int64)
SetCurrencyID sets the value of CurrencyID.
func (*BlockchainConfig7CurrenciesItem) UnmarshalJSON ¶
func (s *BlockchainConfig7CurrenciesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig8 ¶
type BlockchainConfig8 struct { Version int64 `json:"version"` Capabilities int64 `json:"capabilities"` }
The network version and additional capabilities supported by the validators.
func (*BlockchainConfig8) Decode ¶
func (s *BlockchainConfig8) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig8 from json.
func (*BlockchainConfig8) Encode ¶
func (s *BlockchainConfig8) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig8) GetCapabilities ¶
func (s *BlockchainConfig8) GetCapabilities() int64
GetCapabilities returns the value of Capabilities.
func (*BlockchainConfig8) GetVersion ¶
func (s *BlockchainConfig8) GetVersion() int64
GetVersion returns the value of Version.
func (*BlockchainConfig8) MarshalJSON ¶
func (s *BlockchainConfig8) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig8) SetCapabilities ¶
func (s *BlockchainConfig8) SetCapabilities(val int64)
SetCapabilities sets the value of Capabilities.
func (*BlockchainConfig8) SetVersion ¶
func (s *BlockchainConfig8) SetVersion(val int64)
SetVersion sets the value of Version.
func (*BlockchainConfig8) UnmarshalJSON ¶
func (s *BlockchainConfig8) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainConfig81 ¶
type BlockchainConfig81 struct {
JettonBridgeParams JettonBridgeParams `json:"jetton_bridge_params"`
}
Bridge parameters for wrapping tokens from other networks into tokens on the TON network.
func (*BlockchainConfig81) Decode ¶
func (s *BlockchainConfig81) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig81 from json.
func (*BlockchainConfig81) Encode ¶
func (s *BlockchainConfig81) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig81) GetJettonBridgeParams ¶
func (s *BlockchainConfig81) GetJettonBridgeParams() JettonBridgeParams
GetJettonBridgeParams returns the value of JettonBridgeParams.
func (*BlockchainConfig81) MarshalJSON ¶
func (s *BlockchainConfig81) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig81) SetJettonBridgeParams ¶
func (s *BlockchainConfig81) SetJettonBridgeParams(val JettonBridgeParams)
SetJettonBridgeParams sets the value of JettonBridgeParams.
func (*BlockchainConfig81) UnmarshalJSON ¶
func (s *BlockchainConfig81) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig81) Validate ¶
func (s *BlockchainConfig81) Validate() error
type BlockchainConfig82 ¶
type BlockchainConfig82 struct {
JettonBridgeParams JettonBridgeParams `json:"jetton_bridge_params"`
}
Bridge parameters for wrapping tokens from other networks into tokens on the TON network.
func (*BlockchainConfig82) Decode ¶
func (s *BlockchainConfig82) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig82 from json.
func (*BlockchainConfig82) Encode ¶
func (s *BlockchainConfig82) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig82) GetJettonBridgeParams ¶
func (s *BlockchainConfig82) GetJettonBridgeParams() JettonBridgeParams
GetJettonBridgeParams returns the value of JettonBridgeParams.
func (*BlockchainConfig82) MarshalJSON ¶
func (s *BlockchainConfig82) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig82) SetJettonBridgeParams ¶
func (s *BlockchainConfig82) SetJettonBridgeParams(val JettonBridgeParams)
SetJettonBridgeParams sets the value of JettonBridgeParams.
func (*BlockchainConfig82) UnmarshalJSON ¶
func (s *BlockchainConfig82) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig82) Validate ¶
func (s *BlockchainConfig82) Validate() error
type BlockchainConfig9 ¶
type BlockchainConfig9 struct {
MandatoryParams []int32 `json:"mandatory_params"`
}
List of mandatory parameters of the blockchain config.
func (*BlockchainConfig9) Decode ¶
func (s *BlockchainConfig9) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig9 from json.
func (*BlockchainConfig9) Encode ¶
func (s *BlockchainConfig9) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainConfig9) GetMandatoryParams ¶
func (s *BlockchainConfig9) GetMandatoryParams() []int32
GetMandatoryParams returns the value of MandatoryParams.
func (*BlockchainConfig9) MarshalJSON ¶
func (s *BlockchainConfig9) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainConfig9) SetMandatoryParams ¶
func (s *BlockchainConfig9) SetMandatoryParams(val []int32)
SetMandatoryParams sets the value of MandatoryParams.
func (*BlockchainConfig9) UnmarshalJSON ¶
func (s *BlockchainConfig9) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BlockchainConfig9) Validate ¶
func (s *BlockchainConfig9) Validate() error
type BlockchainRawAccount ¶
type BlockchainRawAccount struct { Address string `json:"address"` Balance int64 `json:"balance"` ExtraBalance OptBlockchainRawAccountExtraBalance `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/BlockchainRawAccount
func (*BlockchainRawAccount) Decode ¶
func (s *BlockchainRawAccount) Decode(d *jx.Decoder) error
Decode decodes BlockchainRawAccount from json.
func (*BlockchainRawAccount) Encode ¶
func (s *BlockchainRawAccount) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*BlockchainRawAccount) GetAddress ¶
func (s *BlockchainRawAccount) GetAddress() string
GetAddress returns the value of Address.
func (*BlockchainRawAccount) GetBalance ¶
func (s *BlockchainRawAccount) GetBalance() int64
GetBalance returns the value of Balance.
func (*BlockchainRawAccount) GetCode ¶
func (s *BlockchainRawAccount) GetCode() OptString
GetCode returns the value of Code.
func (*BlockchainRawAccount) GetData ¶
func (s *BlockchainRawAccount) GetData() OptString
GetData returns the value of Data.
func (*BlockchainRawAccount) GetExtraBalance ¶
func (s *BlockchainRawAccount) GetExtraBalance() OptBlockchainRawAccountExtraBalance
GetExtraBalance returns the value of ExtraBalance.
func (*BlockchainRawAccount) GetLastTransactionLt ¶
func (s *BlockchainRawAccount) GetLastTransactionLt() int64
GetLastTransactionLt returns the value of LastTransactionLt.
func (*BlockchainRawAccount) GetStatus ¶
func (s *BlockchainRawAccount) GetStatus() string
GetStatus returns the value of Status.
func (*BlockchainRawAccount) GetStorage ¶
func (s *BlockchainRawAccount) GetStorage() AccountStorageInfo
GetStorage returns the value of Storage.
func (*BlockchainRawAccount) MarshalJSON ¶
func (s *BlockchainRawAccount) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainRawAccount) SetAddress ¶
func (s *BlockchainRawAccount) SetAddress(val string)
SetAddress sets the value of Address.
func (*BlockchainRawAccount) SetBalance ¶
func (s *BlockchainRawAccount) SetBalance(val int64)
SetBalance sets the value of Balance.
func (*BlockchainRawAccount) SetCode ¶
func (s *BlockchainRawAccount) SetCode(val OptString)
SetCode sets the value of Code.
func (*BlockchainRawAccount) SetData ¶
func (s *BlockchainRawAccount) SetData(val OptString)
SetData sets the value of Data.
func (*BlockchainRawAccount) SetExtraBalance ¶
func (s *BlockchainRawAccount) SetExtraBalance(val OptBlockchainRawAccountExtraBalance)
SetExtraBalance sets the value of ExtraBalance.
func (*BlockchainRawAccount) SetLastTransactionLt ¶
func (s *BlockchainRawAccount) SetLastTransactionLt(val int64)
SetLastTransactionLt sets the value of LastTransactionLt.
func (*BlockchainRawAccount) SetStatus ¶
func (s *BlockchainRawAccount) SetStatus(val string)
SetStatus sets the value of Status.
func (*BlockchainRawAccount) SetStorage ¶
func (s *BlockchainRawAccount) SetStorage(val AccountStorageInfo)
SetStorage sets the value of Storage.
func (*BlockchainRawAccount) UnmarshalJSON ¶
func (s *BlockchainRawAccount) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type BlockchainRawAccountExtraBalance ¶
func (*BlockchainRawAccountExtraBalance) Decode ¶
func (s *BlockchainRawAccountExtraBalance) Decode(d *jx.Decoder) error
Decode decodes BlockchainRawAccountExtraBalance from json.
func (BlockchainRawAccountExtraBalance) Encode ¶
func (s BlockchainRawAccountExtraBalance) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (BlockchainRawAccountExtraBalance) MarshalJSON ¶
func (s BlockchainRawAccountExtraBalance) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*BlockchainRawAccountExtraBalance) UnmarshalJSON ¶
func (s *BlockchainRawAccountExtraBalance) UnmarshalJSON(data []byte) error
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) AllValues ¶
func (BouncePhaseType) AllValues() []BouncePhaseType
AllValues returns all BouncePhaseType values.
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) MarshalText ¶
func (s BouncePhaseType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*BouncePhaseType) UnmarshalJSON ¶
func (s *BouncePhaseType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*BouncePhaseType) UnmarshalText ¶
func (s *BouncePhaseType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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) AccountDnsBackResolve ¶
func (c *Client) AccountDnsBackResolve(ctx context.Context, params AccountDnsBackResolveParams) (*DomainNames, error)
AccountDnsBackResolve invokes accountDnsBackResolve operation.
Get account's domains.
GET /v2/accounts/{account_id}/dns/backresolve
func (*Client) AddressParse ¶
func (c *Client) AddressParse(ctx context.Context, params AddressParseParams) (*AddressParseOK, error)
AddressParse invokes addressParse operation.
Parse address and display in all formats.
GET /v2/address/{account_id}/parse
func (*Client) BlockchainAccountInspect ¶
func (c *Client) BlockchainAccountInspect(ctx context.Context, params BlockchainAccountInspectParams) (*BlockchainAccountInspect, error)
BlockchainAccountInspect invokes blockchainAccountInspect operation.
Blockchain account inspect.
GET /v2/blockchain/accounts/{account_id}/inspect
func (*Client) DecodeMessage ¶
func (c *Client) DecodeMessage(ctx context.Context, request *DecodeMessageReq) (*DecodedMessage, error)
DecodeMessage invokes decodeMessage operation.
Decode a given message. Only external incoming messages can be decoded currently.
POST /v2/message/decode
func (*Client) DnsResolve ¶
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) (*AccountEvent, 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) (*Event, 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, params EmulateMessageToTraceParams) (*Trace, error)
EmulateMessageToTrace invokes emulateMessageToTrace operation.
Emulate sending message to blockchain.
POST /v2/traces/emulate
func (*Client) EmulateMessageToWallet ¶
func (c *Client) EmulateMessageToWallet(ctx context.Context, request *EmulateMessageToWalletReq, params EmulateMessageToWalletParams) (*MessageConsequences, error)
EmulateMessageToWallet invokes emulateMessageToWallet operation.
Emulate sending message to blockchain.
POST /v2/wallet/emulate
func (*Client) ExecGetMethodForBlockchainAccount ¶
func (c *Client) ExecGetMethodForBlockchainAccount(ctx context.Context, params ExecGetMethodForBlockchainAccountParams) (*MethodExecutionResult, error)
ExecGetMethodForBlockchainAccount invokes execGetMethodForBlockchainAccount operation.
Execute get method for account.
GET /v2/blockchain/accounts/{account_id}/methods/{method_name}
func (*Client) GetAccount ¶
GetAccount invokes getAccount operation.
Get human-friendly information about an account without low-level details.
GET /v2/accounts/{account_id}
func (*Client) GetAccountDiff ¶
func (c *Client) GetAccountDiff(ctx context.Context, params GetAccountDiffParams) (*GetAccountDiffOK, error)
GetAccountDiff invokes getAccountDiff operation.
Get account's balance change.
GET /v2/accounts/{account_id}/diff
func (*Client) GetAccountDnsExpiring ¶
func (c *Client) GetAccountDnsExpiring(ctx context.Context, params GetAccountDnsExpiringParams) (*DnsExpiring, error)
GetAccountDnsExpiring invokes getAccountDnsExpiring operation.
Get expiring account .ton dns.
GET /v2/accounts/{account_id}/dns/expiring
func (*Client) GetAccountEvent ¶
func (c *Client) GetAccountEvent(ctx context.Context, params GetAccountEventParams) (*AccountEvent, error)
GetAccountEvent invokes getAccountEvent operation.
Get event for an account by event_id.
GET /v2/accounts/{account_id}/events/{event_id}
func (*Client) GetAccountEvents ¶
func (c *Client) GetAccountEvents(ctx context.Context, params GetAccountEventsParams) (*AccountEvents, error)
GetAccountEvents invokes getAccountEvents 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) GetAccountInfoByStateInit ¶
func (c *Client) GetAccountInfoByStateInit(ctx context.Context, request *GetAccountInfoByStateInitReq) (*AccountInfoByStateInit, error)
GetAccountInfoByStateInit invokes getAccountInfoByStateInit operation.
Get account info by state init.
POST /v2/tonconnect/stateinit
func (*Client) GetAccountJettonHistoryByID ¶
func (c *Client) GetAccountJettonHistoryByID(ctx context.Context, params GetAccountJettonHistoryByIDParams) (*AccountEvents, error)
GetAccountJettonHistoryByID invokes getAccountJettonHistoryByID operation.
Get the transfer jetton history for account and jetton.
GET /v2/accounts/{account_id}/jettons/{jetton_id}/history
func (*Client) GetAccountJettonsBalances ¶
func (c *Client) GetAccountJettonsBalances(ctx context.Context, params GetAccountJettonsBalancesParams) (*JettonsBalances, error)
GetAccountJettonsBalances invokes getAccountJettonsBalances operation.
Get all Jettons balances by owner address.
GET /v2/accounts/{account_id}/jettons
func (*Client) GetAccountJettonsHistory ¶
func (c *Client) GetAccountJettonsHistory(ctx context.Context, params GetAccountJettonsHistoryParams) (*AccountEvents, error)
GetAccountJettonsHistory invokes getAccountJettonsHistory operation.
Get the transfer jettons history for account.
GET /v2/accounts/{account_id}/jettons/history
func (*Client) GetAccountNftHistory ¶
func (c *Client) GetAccountNftHistory(ctx context.Context, params GetAccountNftHistoryParams) (*AccountEvents, error)
GetAccountNftHistory invokes getAccountNftHistory operation.
Get the transfer nft history.
GET /v2/accounts/{account_id}/nfts/history
func (*Client) GetAccountNftItems ¶
func (c *Client) GetAccountNftItems(ctx context.Context, params GetAccountNftItemsParams) (*NftItems, error)
GetAccountNftItems invokes getAccountNftItems operation.
Get all NFT items by owner address.
GET /v2/accounts/{account_id}/nfts
func (*Client) GetAccountNominatorsPools ¶
func (c *Client) GetAccountNominatorsPools(ctx context.Context, params GetAccountNominatorsPoolsParams) (*AccountStaking, error)
GetAccountNominatorsPools invokes getAccountNominatorsPools operation.
All pools where account participates.
GET /v2/staking/nominator/{account_id}/pools
func (*Client) GetAccountPublicKey ¶
func (c *Client) GetAccountPublicKey(ctx context.Context, params GetAccountPublicKeyParams) (*GetAccountPublicKeyOK, error)
GetAccountPublicKey invokes getAccountPublicKey operation.
Get public key by account id.
GET /v2/accounts/{account_id}/publickey
func (*Client) GetAccountSeqno ¶
GetAccountSeqno invokes getAccountSeqno operation.
Get account seqno.
GET /v2/wallet/{account_id}/seqno
func (*Client) GetAccountState ¶
func (*Client) GetAccountSubscriptions ¶
func (c *Client) GetAccountSubscriptions(ctx context.Context, params GetAccountSubscriptionsParams) (*Subscriptions, error)
GetAccountSubscriptions invokes getAccountSubscriptions operation.
Get all subscriptions by wallet address.
GET /v2/accounts/{account_id}/subscriptions
func (*Client) GetAccountTraces ¶
func (c *Client) GetAccountTraces(ctx context.Context, params GetAccountTracesParams) (*TraceIDs, error)
GetAccountTraces invokes getAccountTraces operation.
Get traces for account.
GET /v2/accounts/{account_id}/traces
func (*Client) GetAccounts ¶
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) (*Auctions, error)
GetAllAuctions invokes getAllAuctions operation.
Get all auctions.
GET /v2/dns/auctions
func (*Client) GetAllRawShardsInfo ¶
func (c *Client) GetAllRawShardsInfo(ctx context.Context, params GetAllRawShardsInfoParams) (*GetAllRawShardsInfoOK, error)
GetAllRawShardsInfo invokes getAllRawShardsInfo operation.
Get all raw shards info.
GET /v2/liteserver/get_all_shards_info/{block_id}
func (*Client) GetBlockchainAccountTransactions ¶
func (c *Client) GetBlockchainAccountTransactions(ctx context.Context, params GetBlockchainAccountTransactionsParams) (*Transactions, error)
GetBlockchainAccountTransactions invokes getBlockchainAccountTransactions operation.
Get account transactions.
GET /v2/blockchain/accounts/{account_id}/transactions
func (*Client) GetBlockchainBlock ¶
func (c *Client) GetBlockchainBlock(ctx context.Context, params GetBlockchainBlockParams) (*BlockchainBlock, error)
GetBlockchainBlock invokes getBlockchainBlock operation.
Get blockchain block data.
GET /v2/blockchain/blocks/{block_id}
func (*Client) GetBlockchainBlockTransactions ¶
func (c *Client) GetBlockchainBlockTransactions(ctx context.Context, params GetBlockchainBlockTransactionsParams) (*Transactions, error)
GetBlockchainBlockTransactions invokes getBlockchainBlockTransactions operation.
Get transactions from block.
GET /v2/blockchain/blocks/{block_id}/transactions
func (*Client) GetBlockchainConfig ¶
func (c *Client) GetBlockchainConfig(ctx context.Context) (*BlockchainConfig, error)
GetBlockchainConfig invokes getBlockchainConfig operation.
Get blockchain config.
GET /v2/blockchain/config
func (*Client) GetBlockchainConfigFromBlock ¶
func (c *Client) GetBlockchainConfigFromBlock(ctx context.Context, params GetBlockchainConfigFromBlockParams) (*BlockchainConfig, error)
GetBlockchainConfigFromBlock invokes getBlockchainConfigFromBlock operation.
Get blockchain config from a specific block, if present.
GET /v2/blockchain/masterchain/{masterchain_seqno}/config
func (*Client) GetBlockchainMasterchainHead ¶
func (c *Client) GetBlockchainMasterchainHead(ctx context.Context) (*BlockchainBlock, error)
GetBlockchainMasterchainHead invokes getBlockchainMasterchainHead operation.
Get last known masterchain block.
GET /v2/blockchain/masterchain-head
func (*Client) GetBlockchainMasterchainShards ¶
func (c *Client) GetBlockchainMasterchainShards(ctx context.Context, params GetBlockchainMasterchainShardsParams) (*BlockchainBlockShards, error)
GetBlockchainMasterchainShards invokes getBlockchainMasterchainShards operation.
Get blockchain block shards.
GET /v2/blockchain/masterchain/{masterchain_seqno}/shards
func (*Client) GetBlockchainRawAccount ¶
func (c *Client) GetBlockchainRawAccount(ctx context.Context, params GetBlockchainRawAccountParams) (*BlockchainRawAccount, error)
GetBlockchainRawAccount invokes getBlockchainRawAccount operation.
Get low-level information about an account taken directly from the blockchain.
GET /v2/blockchain/accounts/{account_id}
func (*Client) GetBlockchainTransaction ¶
func (c *Client) GetBlockchainTransaction(ctx context.Context, params GetBlockchainTransactionParams) (*Transaction, error)
GetBlockchainTransaction invokes getBlockchainTransaction operation.
Get transaction data.
GET /v2/blockchain/transactions/{transaction_id}
func (*Client) GetBlockchainTransactionByMessageHash ¶
func (c *Client) GetBlockchainTransactionByMessageHash(ctx context.Context, params GetBlockchainTransactionByMessageHashParams) (*Transaction, error)
GetBlockchainTransactionByMessageHash invokes getBlockchainTransactionByMessageHash operation.
Get transaction data by message hash.
GET /v2/blockchain/messages/{msg_id}/transaction
func (*Client) GetBlockchainValidators ¶
func (c *Client) GetBlockchainValidators(ctx context.Context) (*Validators, error)
GetBlockchainValidators invokes getBlockchainValidators operation.
Get blockchain validators.
GET /v2/blockchain/validators
func (*Client) GetChartRates ¶
func (c *Client) GetChartRates(ctx context.Context, params GetChartRatesParams) (*GetChartRatesOK, error)
GetChartRates invokes getChartRates operation.
Get chart by token.
GET /v2/rates/chart
func (*Client) GetDnsInfo ¶
func (c *Client) GetDnsInfo(ctx context.Context, params GetDnsInfoParams) (*DomainInfo, error)
GetDnsInfo invokes getDnsInfo operation.
Get full information about domain name.
GET /v2/dns/{domain_name}
func (*Client) GetDomainBids ¶
func (c *Client) GetDomainBids(ctx context.Context, params GetDomainBidsParams) (*DomainBids, error)
GetDomainBids invokes getDomainBids operation.
Get domain bids.
GET /v2/dns/{domain_name}/bids
func (*Client) GetEvent ¶
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) GetItemsFromCollection ¶
func (c *Client) GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (*NftItems, error)
GetItemsFromCollection invokes getItemsFromCollection operation.
Get NFT items from collection by collection address.
GET /v2/nfts/collections/{account_id}/items
func (*Client) GetJettonHolders ¶
func (c *Client) GetJettonHolders(ctx context.Context, params GetJettonHoldersParams) (*JettonHolders, error)
GetJettonHolders invokes getJettonHolders operation.
Get jetton's holders.
GET /v2/jettons/{account_id}/holders
func (*Client) GetJettonInfo ¶
func (c *Client) GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (*JettonInfo, error)
GetJettonInfo invokes getJettonInfo operation.
Get jetton metadata by jetton master address.
GET /v2/jettons/{account_id}
func (*Client) GetJettons ¶
GetJettons invokes getJettons operation.
Get a list of all indexed jetton masters in the blockchain.
GET /v2/jettons
func (*Client) GetJettonsEvents ¶
func (c *Client) GetJettonsEvents(ctx context.Context, params GetJettonsEventsParams) (*Event, error)
GetJettonsEvents invokes getJettonsEvents operation.
Get only jetton transfers in the event.
GET /v2/events/{event_id}/jettons
func (*Client) GetNftCollection ¶
func (c *Client) GetNftCollection(ctx context.Context, params GetNftCollectionParams) (*NftCollection, 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) (*NftCollections, error)
GetNftCollections invokes getNftCollections operation.
Get NFT collections.
GET /v2/nfts/collections
func (*Client) GetNftHistoryByID ¶
func (c *Client) GetNftHistoryByID(ctx context.Context, params GetNftHistoryByIDParams) (*AccountEvents, error)
GetNftHistoryByID invokes getNftHistoryByID operation.
Get the transfer nfts history for account.
GET /v2/nfts/{account_id}/history
func (*Client) GetNftItemByAddress ¶
func (c *Client) GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (*NftItem, 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) (*NftItems, error)
GetNftItemsByAddresses invokes getNftItemsByAddresses operation.
Get NFT items by their addresses.
POST /v2/nfts/_bulk
func (*Client) GetRates ¶
func (c *Client) GetRates(ctx context.Context, params GetRatesParams) (*GetRatesOK, error)
GetRates invokes getRates operation.
Get the token price to the currency.
GET /v2/rates
func (*Client) GetRawAccountState ¶
func (c *Client) GetRawAccountState(ctx context.Context, params GetRawAccountStateParams) (*GetRawAccountStateOK, error)
GetRawAccountState invokes getRawAccountState operation.
Get raw account state.
GET /v2/liteserver/get_account_state/{account_id}
func (*Client) GetRawBlockProof ¶
func (c *Client) GetRawBlockProof(ctx context.Context, params GetRawBlockProofParams) (*GetRawBlockProofOK, error)
GetRawBlockProof invokes getRawBlockProof operation.
Get raw block proof.
GET /v2/liteserver/get_block_proof
func (*Client) GetRawBlockchainBlock ¶
func (c *Client) GetRawBlockchainBlock(ctx context.Context, params GetRawBlockchainBlockParams) (*GetRawBlockchainBlockOK, error)
GetRawBlockchainBlock invokes getRawBlockchainBlock operation.
Get raw blockchain block.
GET /v2/liteserver/get_block/{block_id}
func (*Client) GetRawBlockchainBlockHeader ¶
func (c *Client) GetRawBlockchainBlockHeader(ctx context.Context, params GetRawBlockchainBlockHeaderParams) (*GetRawBlockchainBlockHeaderOK, error)
GetRawBlockchainBlockHeader invokes getRawBlockchainBlockHeader operation.
Get raw blockchain block header.
GET /v2/liteserver/get_block_header/{block_id}
func (*Client) GetRawBlockchainBlockState ¶
func (c *Client) GetRawBlockchainBlockState(ctx context.Context, params GetRawBlockchainBlockStateParams) (*GetRawBlockchainBlockStateOK, error)
GetRawBlockchainBlockState invokes getRawBlockchainBlockState operation.
Get raw blockchain block state.
GET /v2/liteserver/get_state/{block_id}
func (*Client) GetRawBlockchainConfig ¶
func (c *Client) GetRawBlockchainConfig(ctx context.Context) (*RawBlockchainConfig, error)
GetRawBlockchainConfig invokes getRawBlockchainConfig operation.
Get raw blockchain config.
GET /v2/blockchain/config/raw
func (*Client) GetRawBlockchainConfigFromBlock ¶
func (c *Client) GetRawBlockchainConfigFromBlock(ctx context.Context, params GetRawBlockchainConfigFromBlockParams) (*RawBlockchainConfig, error)
GetRawBlockchainConfigFromBlock invokes getRawBlockchainConfigFromBlock operation.
Get raw blockchain config from a specific block, if present.
GET /v2/blockchain/masterchain/{masterchain_seqno}/config/raw
func (*Client) GetRawConfig ¶
func (c *Client) GetRawConfig(ctx context.Context, params GetRawConfigParams) (*GetRawConfigOK, error)
GetRawConfig invokes getRawConfig operation.
Get raw config.
GET /v2/liteserver/get_config_all/{block_id}
func (*Client) GetRawListBlockTransactions ¶
func (c *Client) GetRawListBlockTransactions(ctx context.Context, params GetRawListBlockTransactionsParams) (*GetRawListBlockTransactionsOK, error)
GetRawListBlockTransactions invokes getRawListBlockTransactions operation.
Get raw list block transactions.
GET /v2/liteserver/list_block_transactions/{block_id}
func (*Client) GetRawMasterchainInfo ¶
func (c *Client) GetRawMasterchainInfo(ctx context.Context) (*GetRawMasterchainInfoOK, error)
GetRawMasterchainInfo invokes getRawMasterchainInfo operation.
Get raw masterchain info.
GET /v2/liteserver/get_masterchain_info
func (*Client) GetRawMasterchainInfoExt ¶
func (c *Client) GetRawMasterchainInfoExt(ctx context.Context, params GetRawMasterchainInfoExtParams) (*GetRawMasterchainInfoExtOK, error)
GetRawMasterchainInfoExt invokes getRawMasterchainInfoExt operation.
Get raw masterchain info ext.
GET /v2/liteserver/get_masterchain_info_ext
func (*Client) GetRawShardBlockProof ¶
func (c *Client) GetRawShardBlockProof(ctx context.Context, params GetRawShardBlockProofParams) (*GetRawShardBlockProofOK, error)
GetRawShardBlockProof invokes getRawShardBlockProof operation.
Get raw shard block proof.
GET /v2/liteserver/get_shard_block_proof/{block_id}
func (*Client) GetRawShardInfo ¶
func (c *Client) GetRawShardInfo(ctx context.Context, params GetRawShardInfoParams) (*GetRawShardInfoOK, error)
GetRawShardInfo invokes getRawShardInfo operation.
Get raw shard info.
GET /v2/liteserver/get_shard_info/{block_id}
func (*Client) GetRawTime ¶
func (c *Client) GetRawTime(ctx context.Context) (*GetRawTimeOK, error)
GetRawTime invokes getRawTime operation.
Get raw time.
GET /v2/liteserver/get_time
func (*Client) GetRawTransactions ¶
func (c *Client) GetRawTransactions(ctx context.Context, params GetRawTransactionsParams) (*GetRawTransactionsOK, error)
GetRawTransactions invokes getRawTransactions operation.
Get raw transactions.
GET /v2/liteserver/get_transactions/{account_id}
func (*Client) GetStakingPoolHistory ¶
func (c *Client) GetStakingPoolHistory(ctx context.Context, params GetStakingPoolHistoryParams) (*GetStakingPoolHistoryOK, error)
GetStakingPoolHistory invokes getStakingPoolHistory operation.
Pool history.
GET /v2/staking/pool/{account_id}/history
func (*Client) GetStakingPoolInfo ¶
func (c *Client) GetStakingPoolInfo(ctx context.Context, params GetStakingPoolInfoParams) (*GetStakingPoolInfoOK, error)
GetStakingPoolInfo invokes getStakingPoolInfo operation.
Stacking pool info.
GET /v2/staking/pool/{account_id}
func (*Client) GetStakingPools ¶
func (c *Client) GetStakingPools(ctx context.Context, params GetStakingPoolsParams) (*GetStakingPoolsOK, error)
GetStakingPools invokes getStakingPools operation.
All pools available in network.
GET /v2/staking/pools
func (*Client) GetStorageProviders ¶
func (c *Client) GetStorageProviders(ctx context.Context) (*GetStorageProvidersOK, error)
GetStorageProviders invokes getStorageProviders operation.
Get TON storage providers deployed to the blockchain.
GET /v2/storage/providers
func (*Client) GetTonConnectPayload ¶
func (c *Client) GetTonConnectPayload(ctx context.Context) (*GetTonConnectPayloadOK, error)
GetTonConnectPayload invokes getTonConnectPayload operation.
Get a payload for further token receipt.
GET /v2/tonconnect/payload
func (*Client) GetTrace ¶
GetTrace invokes getTrace operation.
Get the trace by trace ID or hash of any transaction in trace.
GET /v2/traces/{trace_id}
func (*Client) GetWalletBackup ¶
func (c *Client) GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (*GetWalletBackupOK, error)
GetWalletBackup invokes getWalletBackup operation.
Get backup info.
GET /v2/wallet/backup
func (*Client) GetWalletsByPublicKey ¶
func (c *Client) GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (*Accounts, error)
GetWalletsByPublicKey invokes getWalletsByPublicKey operation.
Get wallets by public key.
GET /v2/pubkeys/{public_key}/wallets
func (*Client) ReindexAccount ¶
func (c *Client) ReindexAccount(ctx context.Context, params ReindexAccountParams) error
ReindexAccount invokes reindexAccount operation.
Update internal cache for a particular account.
POST /v2/accounts/{account_id}/reindex
func (*Client) SearchAccounts ¶
func (c *Client) SearchAccounts(ctx context.Context, params SearchAccountsParams) (*FoundAccounts, error)
SearchAccounts invokes searchAccounts operation.
Search by account domain name.
GET /v2/accounts/search
func (*Client) SendBlockchainMessage ¶
func (c *Client) SendBlockchainMessage(ctx context.Context, request *SendBlockchainMessageReq) error
SendBlockchainMessage invokes sendBlockchainMessage operation.
Send message to blockchain.
POST /v2/blockchain/message
func (*Client) SendMessage ¶
func (*Client) SendRawMessage ¶
func (c *Client) SendRawMessage(ctx context.Context, request *SendRawMessageReq) (*SendRawMessageOK, error)
SendRawMessage invokes sendRawMessage operation.
Send raw message to blockchain.
POST /v2/liteserver/send_message
func (*Client) SetWalletBackup ¶
func (c *Client) SetWalletBackup(ctx context.Context, request SetWalletBackupReq, params SetWalletBackupParams) error
SetWalletBackup invokes setWalletBackup operation.
Set backup info.
PUT /v2/wallet/backup
func (*Client) TonConnectProof ¶
func (c *Client) TonConnectProof(ctx context.Context, request *TonConnectProofReq) (*TonConnectProofOK, 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.
func WithToken ¶
func WithToken(tonApiKey string) ClientOption
WithToken configures client to use tonApiKey for authorization. When working with tonapi.io, you should consider getting an API key at https://tonconsole.com/.
Example:
import (
tonapi "github.com/tonkeeper/opentonapi/tonapi"
)
func main() { cli, _ := tonapi.New(tonapi.WithToken(tonapiKey)) }
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) AllValues ¶
func (ComputeSkipReason) AllValues() []ComputeSkipReason
AllValues returns all ComputeSkipReason values.
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) MarshalText ¶
func (s ComputeSkipReason) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*ComputeSkipReason) UnmarshalJSON ¶
func (s *ComputeSkipReason) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ComputeSkipReason) UnmarshalText ¶
func (s *ComputeSkipReason) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (ComputeSkipReason) Validate ¶
func (s ComputeSkipReason) Validate() error
type ConfigProposalSetup ¶
type ConfigProposalSetup struct { MinTotRounds int `json:"min_tot_rounds"` MaxTotRounds int `json:"max_tot_rounds"` MinWins int `json:"min_wins"` MaxLosses int `json:"max_losses"` MinStoreSec int64 `json:"min_store_sec"` MaxStoreSec int64 `json:"max_store_sec"` BitPrice int64 `json:"bit_price"` CellPrice int64 `json:"cell_price"` }
Ref: #/components/schemas/ConfigProposalSetup
func (*ConfigProposalSetup) Decode ¶
func (s *ConfigProposalSetup) Decode(d *jx.Decoder) error
Decode decodes ConfigProposalSetup from json.
func (*ConfigProposalSetup) Encode ¶
func (s *ConfigProposalSetup) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ConfigProposalSetup) GetBitPrice ¶
func (s *ConfigProposalSetup) GetBitPrice() int64
GetBitPrice returns the value of BitPrice.
func (*ConfigProposalSetup) GetCellPrice ¶
func (s *ConfigProposalSetup) GetCellPrice() int64
GetCellPrice returns the value of CellPrice.
func (*ConfigProposalSetup) GetMaxLosses ¶
func (s *ConfigProposalSetup) GetMaxLosses() int
GetMaxLosses returns the value of MaxLosses.
func (*ConfigProposalSetup) GetMaxStoreSec ¶
func (s *ConfigProposalSetup) GetMaxStoreSec() int64
GetMaxStoreSec returns the value of MaxStoreSec.
func (*ConfigProposalSetup) GetMaxTotRounds ¶
func (s *ConfigProposalSetup) GetMaxTotRounds() int
GetMaxTotRounds returns the value of MaxTotRounds.
func (*ConfigProposalSetup) GetMinStoreSec ¶
func (s *ConfigProposalSetup) GetMinStoreSec() int64
GetMinStoreSec returns the value of MinStoreSec.
func (*ConfigProposalSetup) GetMinTotRounds ¶
func (s *ConfigProposalSetup) GetMinTotRounds() int
GetMinTotRounds returns the value of MinTotRounds.
func (*ConfigProposalSetup) GetMinWins ¶
func (s *ConfigProposalSetup) GetMinWins() int
GetMinWins returns the value of MinWins.
func (*ConfigProposalSetup) MarshalJSON ¶
func (s *ConfigProposalSetup) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ConfigProposalSetup) SetBitPrice ¶
func (s *ConfigProposalSetup) SetBitPrice(val int64)
SetBitPrice sets the value of BitPrice.
func (*ConfigProposalSetup) SetCellPrice ¶
func (s *ConfigProposalSetup) SetCellPrice(val int64)
SetCellPrice sets the value of CellPrice.
func (*ConfigProposalSetup) SetMaxLosses ¶
func (s *ConfigProposalSetup) SetMaxLosses(val int)
SetMaxLosses sets the value of MaxLosses.
func (*ConfigProposalSetup) SetMaxStoreSec ¶
func (s *ConfigProposalSetup) SetMaxStoreSec(val int64)
SetMaxStoreSec sets the value of MaxStoreSec.
func (*ConfigProposalSetup) SetMaxTotRounds ¶
func (s *ConfigProposalSetup) SetMaxTotRounds(val int)
SetMaxTotRounds sets the value of MaxTotRounds.
func (*ConfigProposalSetup) SetMinStoreSec ¶
func (s *ConfigProposalSetup) SetMinStoreSec(val int64)
SetMinStoreSec sets the value of MinStoreSec.
func (*ConfigProposalSetup) SetMinTotRounds ¶
func (s *ConfigProposalSetup) SetMinTotRounds(val int)
SetMinTotRounds sets the value of MinTotRounds.
func (*ConfigProposalSetup) SetMinWins ¶
func (s *ConfigProposalSetup) SetMinWins(val int)
SetMinWins sets the value of MinWins.
func (*ConfigProposalSetup) UnmarshalJSON ¶
func (s *ConfigProposalSetup) UnmarshalJSON(data []byte) error
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 DecodeMessageReq ¶
type DecodeMessageReq struct {
Boc string `json:"boc"`
}
func (*DecodeMessageReq) Decode ¶
func (s *DecodeMessageReq) Decode(d *jx.Decoder) error
Decode decodes DecodeMessageReq from json.
func (*DecodeMessageReq) Encode ¶
func (s *DecodeMessageReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodeMessageReq) GetBoc ¶
func (s *DecodeMessageReq) GetBoc() string
GetBoc returns the value of Boc.
func (*DecodeMessageReq) MarshalJSON ¶
func (s *DecodeMessageReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodeMessageReq) SetBoc ¶
func (s *DecodeMessageReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*DecodeMessageReq) UnmarshalJSON ¶
func (s *DecodeMessageReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DecodedMessage ¶
type DecodedMessage struct { Destination AccountAddress `json:"destination"` DestinationWalletVersion string `json:"destination_wallet_version"` ExtInMsgDecoded OptDecodedMessageExtInMsgDecoded `json:"ext_in_msg_decoded"` }
Ref: #/components/schemas/DecodedMessage
func (*DecodedMessage) Decode ¶
func (s *DecodedMessage) Decode(d *jx.Decoder) error
Decode decodes DecodedMessage from json.
func (*DecodedMessage) Encode ¶
func (s *DecodedMessage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedMessage) GetDestination ¶
func (s *DecodedMessage) GetDestination() AccountAddress
GetDestination returns the value of Destination.
func (*DecodedMessage) GetDestinationWalletVersion ¶
func (s *DecodedMessage) GetDestinationWalletVersion() string
GetDestinationWalletVersion returns the value of DestinationWalletVersion.
func (*DecodedMessage) GetExtInMsgDecoded ¶
func (s *DecodedMessage) GetExtInMsgDecoded() OptDecodedMessageExtInMsgDecoded
GetExtInMsgDecoded returns the value of ExtInMsgDecoded.
func (*DecodedMessage) MarshalJSON ¶
func (s *DecodedMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedMessage) SetDestination ¶
func (s *DecodedMessage) SetDestination(val AccountAddress)
SetDestination sets the value of Destination.
func (*DecodedMessage) SetDestinationWalletVersion ¶
func (s *DecodedMessage) SetDestinationWalletVersion(val string)
SetDestinationWalletVersion sets the value of DestinationWalletVersion.
func (*DecodedMessage) SetExtInMsgDecoded ¶
func (s *DecodedMessage) SetExtInMsgDecoded(val OptDecodedMessageExtInMsgDecoded)
SetExtInMsgDecoded sets the value of ExtInMsgDecoded.
func (*DecodedMessage) UnmarshalJSON ¶
func (s *DecodedMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DecodedMessage) Validate ¶
func (s *DecodedMessage) Validate() error
type DecodedMessageExtInMsgDecoded ¶
type DecodedMessageExtInMsgDecoded struct { WalletV3 OptDecodedMessageExtInMsgDecodedWalletV3 `json:"wallet_v3"` WalletV4 OptDecodedMessageExtInMsgDecodedWalletV4 `json:"wallet_v4"` WalletHighloadV2 OptDecodedMessageExtInMsgDecodedWalletHighloadV2 `json:"wallet_highload_v2"` }
func (*DecodedMessageExtInMsgDecoded) Decode ¶
func (s *DecodedMessageExtInMsgDecoded) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecoded from json.
func (*DecodedMessageExtInMsgDecoded) Encode ¶
func (s *DecodedMessageExtInMsgDecoded) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedMessageExtInMsgDecoded) GetWalletHighloadV2 ¶
func (s *DecodedMessageExtInMsgDecoded) GetWalletHighloadV2() OptDecodedMessageExtInMsgDecodedWalletHighloadV2
GetWalletHighloadV2 returns the value of WalletHighloadV2.
func (*DecodedMessageExtInMsgDecoded) GetWalletV3 ¶
func (s *DecodedMessageExtInMsgDecoded) GetWalletV3() OptDecodedMessageExtInMsgDecodedWalletV3
GetWalletV3 returns the value of WalletV3.
func (*DecodedMessageExtInMsgDecoded) GetWalletV4 ¶
func (s *DecodedMessageExtInMsgDecoded) GetWalletV4() OptDecodedMessageExtInMsgDecodedWalletV4
GetWalletV4 returns the value of WalletV4.
func (*DecodedMessageExtInMsgDecoded) MarshalJSON ¶
func (s *DecodedMessageExtInMsgDecoded) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedMessageExtInMsgDecoded) SetWalletHighloadV2 ¶
func (s *DecodedMessageExtInMsgDecoded) SetWalletHighloadV2(val OptDecodedMessageExtInMsgDecodedWalletHighloadV2)
SetWalletHighloadV2 sets the value of WalletHighloadV2.
func (*DecodedMessageExtInMsgDecoded) SetWalletV3 ¶
func (s *DecodedMessageExtInMsgDecoded) SetWalletV3(val OptDecodedMessageExtInMsgDecodedWalletV3)
SetWalletV3 sets the value of WalletV3.
func (*DecodedMessageExtInMsgDecoded) SetWalletV4 ¶
func (s *DecodedMessageExtInMsgDecoded) SetWalletV4(val OptDecodedMessageExtInMsgDecodedWalletV4)
SetWalletV4 sets the value of WalletV4.
func (*DecodedMessageExtInMsgDecoded) UnmarshalJSON ¶
func (s *DecodedMessageExtInMsgDecoded) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DecodedMessageExtInMsgDecoded) Validate ¶
func (s *DecodedMessageExtInMsgDecoded) Validate() error
type DecodedMessageExtInMsgDecodedWalletHighloadV2 ¶
type DecodedMessageExtInMsgDecodedWalletHighloadV2 struct { SubwalletID uint32 `json:"subwallet_id"` BoundedQueryID string `json:"bounded_query_id"` RawMessages []DecodedRawMessage `json:"raw_messages"` }
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) Decode ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletHighloadV2 from json.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) Encode ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) GetBoundedQueryID ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetBoundedQueryID() string
GetBoundedQueryID returns the value of BoundedQueryID.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) GetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetRawMessages() []DecodedRawMessage
GetRawMessages returns the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) GetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) GetSubwalletID() uint32
GetSubwalletID returns the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) SetBoundedQueryID ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetBoundedQueryID(val string)
SetBoundedQueryID sets the value of BoundedQueryID.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) SetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetRawMessages(val []DecodedRawMessage)
SetRawMessages sets the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) SetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) SetSubwalletID(val uint32)
SetSubwalletID sets the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DecodedMessageExtInMsgDecodedWalletHighloadV2) Validate ¶
func (s *DecodedMessageExtInMsgDecodedWalletHighloadV2) Validate() error
type DecodedMessageExtInMsgDecodedWalletV3 ¶
type DecodedMessageExtInMsgDecodedWalletV3 struct { SubwalletID uint32 `json:"subwallet_id"` ValidUntil uint32 `json:"valid_until"` Seqno uint32 `json:"seqno"` RawMessages []DecodedRawMessage `json:"raw_messages"` }
func (*DecodedMessageExtInMsgDecodedWalletV3) Decode ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletV3 from json.
func (*DecodedMessageExtInMsgDecodedWalletV3) Encode ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletV3) GetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) GetRawMessages() []DecodedRawMessage
GetRawMessages returns the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletV3) GetSeqno ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) GetSeqno() uint32
GetSeqno returns the value of Seqno.
func (*DecodedMessageExtInMsgDecodedWalletV3) GetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) GetSubwalletID() uint32
GetSubwalletID returns the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletV3) GetValidUntil ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) GetValidUntil() uint32
GetValidUntil returns the value of ValidUntil.
func (*DecodedMessageExtInMsgDecodedWalletV3) MarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletV3) SetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) SetRawMessages(val []DecodedRawMessage)
SetRawMessages sets the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletV3) SetSeqno ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) SetSeqno(val uint32)
SetSeqno sets the value of Seqno.
func (*DecodedMessageExtInMsgDecodedWalletV3) SetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) SetSubwalletID(val uint32)
SetSubwalletID sets the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletV3) SetValidUntil ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) SetValidUntil(val uint32)
SetValidUntil sets the value of ValidUntil.
func (*DecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DecodedMessageExtInMsgDecodedWalletV3) Validate ¶
func (s *DecodedMessageExtInMsgDecodedWalletV3) Validate() error
type DecodedMessageExtInMsgDecodedWalletV4 ¶
type DecodedMessageExtInMsgDecodedWalletV4 struct { SubwalletID uint32 `json:"subwallet_id"` ValidUntil uint32 `json:"valid_until"` Seqno uint32 `json:"seqno"` Op int8 `json:"op"` RawMessages []DecodedRawMessage `json:"raw_messages"` }
func (*DecodedMessageExtInMsgDecodedWalletV4) Decode ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletV4 from json.
func (*DecodedMessageExtInMsgDecodedWalletV4) Encode ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletV4) GetOp ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) GetOp() int8
GetOp returns the value of Op.
func (*DecodedMessageExtInMsgDecodedWalletV4) GetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) GetRawMessages() []DecodedRawMessage
GetRawMessages returns the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletV4) GetSeqno ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) GetSeqno() uint32
GetSeqno returns the value of Seqno.
func (*DecodedMessageExtInMsgDecodedWalletV4) GetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) GetSubwalletID() uint32
GetSubwalletID returns the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletV4) GetValidUntil ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) GetValidUntil() uint32
GetValidUntil returns the value of ValidUntil.
func (*DecodedMessageExtInMsgDecodedWalletV4) MarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedMessageExtInMsgDecodedWalletV4) SetOp ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) SetOp(val int8)
SetOp sets the value of Op.
func (*DecodedMessageExtInMsgDecodedWalletV4) SetRawMessages ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) SetRawMessages(val []DecodedRawMessage)
SetRawMessages sets the value of RawMessages.
func (*DecodedMessageExtInMsgDecodedWalletV4) SetSeqno ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) SetSeqno(val uint32)
SetSeqno sets the value of Seqno.
func (*DecodedMessageExtInMsgDecodedWalletV4) SetSubwalletID ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) SetSubwalletID(val uint32)
SetSubwalletID sets the value of SubwalletID.
func (*DecodedMessageExtInMsgDecodedWalletV4) SetValidUntil ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) SetValidUntil(val uint32)
SetValidUntil sets the value of ValidUntil.
func (*DecodedMessageExtInMsgDecodedWalletV4) UnmarshalJSON ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DecodedMessageExtInMsgDecodedWalletV4) Validate ¶
func (s *DecodedMessageExtInMsgDecodedWalletV4) Validate() error
type DecodedRawMessage ¶
type DecodedRawMessage struct { Message DecodedRawMessageMessage `json:"message"` Mode int `json:"mode"` }
Ref: #/components/schemas/DecodedRawMessage
func (*DecodedRawMessage) Decode ¶
func (s *DecodedRawMessage) Decode(d *jx.Decoder) error
Decode decodes DecodedRawMessage from json.
func (*DecodedRawMessage) Encode ¶
func (s *DecodedRawMessage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedRawMessage) GetMessage ¶
func (s *DecodedRawMessage) GetMessage() DecodedRawMessageMessage
GetMessage returns the value of Message.
func (*DecodedRawMessage) GetMode ¶
func (s *DecodedRawMessage) GetMode() int
GetMode returns the value of Mode.
func (*DecodedRawMessage) MarshalJSON ¶
func (s *DecodedRawMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedRawMessage) SetMessage ¶
func (s *DecodedRawMessage) SetMessage(val DecodedRawMessageMessage)
SetMessage sets the value of Message.
func (*DecodedRawMessage) SetMode ¶
func (s *DecodedRawMessage) SetMode(val int)
SetMode sets the value of Mode.
func (*DecodedRawMessage) UnmarshalJSON ¶
func (s *DecodedRawMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DecodedRawMessageMessage ¶
type DecodedRawMessageMessage struct { Boc string `json:"boc"` DecodedOpName OptString `json:"decoded_op_name"` OpCode OptString `json:"op_code"` DecodedBody jx.Raw `json:"decoded_body"` }
func (*DecodedRawMessageMessage) Decode ¶
func (s *DecodedRawMessageMessage) Decode(d *jx.Decoder) error
Decode decodes DecodedRawMessageMessage from json.
func (*DecodedRawMessageMessage) Encode ¶
func (s *DecodedRawMessageMessage) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DecodedRawMessageMessage) GetBoc ¶
func (s *DecodedRawMessageMessage) GetBoc() string
GetBoc returns the value of Boc.
func (*DecodedRawMessageMessage) GetDecodedBody ¶
func (s *DecodedRawMessageMessage) GetDecodedBody() jx.Raw
GetDecodedBody returns the value of DecodedBody.
func (*DecodedRawMessageMessage) GetDecodedOpName ¶
func (s *DecodedRawMessageMessage) GetDecodedOpName() OptString
GetDecodedOpName returns the value of DecodedOpName.
func (*DecodedRawMessageMessage) GetOpCode ¶
func (s *DecodedRawMessageMessage) GetOpCode() OptString
GetOpCode returns the value of OpCode.
func (*DecodedRawMessageMessage) MarshalJSON ¶
func (s *DecodedRawMessageMessage) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DecodedRawMessageMessage) SetBoc ¶
func (s *DecodedRawMessageMessage) SetBoc(val string)
SetBoc sets the value of Boc.
func (*DecodedRawMessageMessage) SetDecodedBody ¶
func (s *DecodedRawMessageMessage) SetDecodedBody(val jx.Raw)
SetDecodedBody sets the value of DecodedBody.
func (*DecodedRawMessageMessage) SetDecodedOpName ¶
func (s *DecodedRawMessageMessage) SetDecodedOpName(val OptString)
SetDecodedOpName sets the value of DecodedOpName.
func (*DecodedRawMessageMessage) SetOpCode ¶
func (s *DecodedRawMessageMessage) SetOpCode(val OptString)
SetOpCode sets the value of OpCode.
func (*DecodedRawMessageMessage) UnmarshalJSON ¶
func (s *DecodedRawMessageMessage) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type DepositStakeAction ¶
type DepositStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` Pool AccountAddress `json:"pool"` Implementation PoolImplementationType `json:"implementation"` }
Validator's participation in elections. Ref: #/components/schemas/DepositStakeAction
func (*DepositStakeAction) Decode ¶
func (s *DepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes DepositStakeAction from json.
func (*DepositStakeAction) Encode ¶
func (s *DepositStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DepositStakeAction) GetAmount ¶
func (s *DepositStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (*DepositStakeAction) GetImplementation ¶
func (s *DepositStakeAction) GetImplementation() PoolImplementationType
GetImplementation returns the value of Implementation.
func (*DepositStakeAction) GetPool ¶
func (s *DepositStakeAction) GetPool() AccountAddress
GetPool returns the value of Pool.
func (*DepositStakeAction) GetStaker ¶
func (s *DepositStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (*DepositStakeAction) MarshalJSON ¶
func (s *DepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DepositStakeAction) SetAmount ¶
func (s *DepositStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*DepositStakeAction) SetImplementation ¶
func (s *DepositStakeAction) SetImplementation(val PoolImplementationType)
SetImplementation sets the value of Implementation.
func (*DepositStakeAction) SetPool ¶
func (s *DepositStakeAction) SetPool(val AccountAddress)
SetPool sets the value of Pool.
func (*DepositStakeAction) SetStaker ¶
func (s *DepositStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*DepositStakeAction) UnmarshalJSON ¶
func (s *DepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*DepositStakeAction) Validate ¶
func (s *DepositStakeAction) Validate() error
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 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 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 OptInt64 `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() OptInt64
GetExpiringAt returns the value of ExpiringAt.
func (*DomainInfo) GetItem ¶
func (s *DomainInfo) GetItem() OptNftItem
GetItem returns the value of Item.
func (*DomainInfo) GetName ¶
func (s *DomainInfo) GetName() string
GetName returns the value of Name.
func (*DomainInfo) MarshalJSON ¶
func (s *DomainInfo) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DomainInfo) SetExpiringAt ¶
func (s *DomainInfo) SetExpiringAt(val OptInt64)
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 DomainRenewAction ¶
type DomainRenewAction struct { Domain string `json:"domain"` ContractAddress string `json:"contract_address"` Renewer AccountAddress `json:"renewer"` }
Ref: #/components/schemas/DomainRenewAction
func (*DomainRenewAction) Decode ¶
func (s *DomainRenewAction) Decode(d *jx.Decoder) error
Decode decodes DomainRenewAction from json.
func (*DomainRenewAction) Encode ¶
func (s *DomainRenewAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*DomainRenewAction) GetContractAddress ¶
func (s *DomainRenewAction) GetContractAddress() string
GetContractAddress returns the value of ContractAddress.
func (*DomainRenewAction) GetDomain ¶
func (s *DomainRenewAction) GetDomain() string
GetDomain returns the value of Domain.
func (*DomainRenewAction) GetRenewer ¶
func (s *DomainRenewAction) GetRenewer() AccountAddress
GetRenewer returns the value of Renewer.
func (*DomainRenewAction) MarshalJSON ¶
func (s *DomainRenewAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*DomainRenewAction) SetContractAddress ¶
func (s *DomainRenewAction) SetContractAddress(val string)
SetContractAddress sets the value of ContractAddress.
func (*DomainRenewAction) SetDomain ¶
func (s *DomainRenewAction) SetDomain(val string)
SetDomain sets the value of Domain.
func (*DomainRenewAction) SetRenewer ¶
func (s *DomainRenewAction) SetRenewer(val AccountAddress)
SetRenewer sets the value of Renewer.
func (*DomainRenewAction) UnmarshalJSON ¶
func (s *DomainRenewAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ElectionsDepositStakeAction ¶
type ElectionsDepositStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` }
Ref: #/components/schemas/ElectionsDepositStakeAction
func (*ElectionsDepositStakeAction) Decode ¶
func (s *ElectionsDepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes ElectionsDepositStakeAction from json.
func (*ElectionsDepositStakeAction) Encode ¶
func (s *ElectionsDepositStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ElectionsDepositStakeAction) GetAmount ¶
func (s *ElectionsDepositStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (*ElectionsDepositStakeAction) GetStaker ¶
func (s *ElectionsDepositStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (*ElectionsDepositStakeAction) MarshalJSON ¶
func (s *ElectionsDepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ElectionsDepositStakeAction) SetAmount ¶
func (s *ElectionsDepositStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*ElectionsDepositStakeAction) SetStaker ¶
func (s *ElectionsDepositStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*ElectionsDepositStakeAction) UnmarshalJSON ¶
func (s *ElectionsDepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type ElectionsRecoverStakeAction ¶
type ElectionsRecoverStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` }
Ref: #/components/schemas/ElectionsRecoverStakeAction
func (*ElectionsRecoverStakeAction) Decode ¶
func (s *ElectionsRecoverStakeAction) Decode(d *jx.Decoder) error
Decode decodes ElectionsRecoverStakeAction from json.
func (*ElectionsRecoverStakeAction) Encode ¶
func (s *ElectionsRecoverStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ElectionsRecoverStakeAction) GetAmount ¶
func (s *ElectionsRecoverStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (*ElectionsRecoverStakeAction) GetStaker ¶
func (s *ElectionsRecoverStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (*ElectionsRecoverStakeAction) MarshalJSON ¶
func (s *ElectionsRecoverStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ElectionsRecoverStakeAction) SetAmount ¶
func (s *ElectionsRecoverStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*ElectionsRecoverStakeAction) SetStaker ¶
func (s *ElectionsRecoverStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*ElectionsRecoverStakeAction) UnmarshalJSON ¶
func (s *ElectionsRecoverStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 EmulateMessageToEventParams ¶
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 EmulateMessageToTraceParams ¶
type EmulateMessageToTraceParams struct {
IgnoreSignatureCheck OptBool
}
EmulateMessageToTraceParams is parameters of emulateMessageToTrace operation.
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 EmulateMessageToWalletParams ¶
type EmulateMessageToWalletParams struct {
AcceptLanguage OptString
}
EmulateMessageToWalletParams is parameters of emulateMessageToWallet operation.
type EmulateMessageToWalletReq ¶
type EmulateMessageToWalletReq struct { Boc string `json:"boc"` // Additional per account configuration. Params []EmulateMessageToWalletReqParamsItem `json:"params"` }
func (*EmulateMessageToWalletReq) Decode ¶
func (s *EmulateMessageToWalletReq) Decode(d *jx.Decoder) error
Decode decodes EmulateMessageToWalletReq from json.
func (*EmulateMessageToWalletReq) Encode ¶
func (s *EmulateMessageToWalletReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EmulateMessageToWalletReq) GetBoc ¶
func (s *EmulateMessageToWalletReq) GetBoc() string
GetBoc returns the value of Boc.
func (*EmulateMessageToWalletReq) GetParams ¶
func (s *EmulateMessageToWalletReq) GetParams() []EmulateMessageToWalletReqParamsItem
GetParams returns the value of Params.
func (*EmulateMessageToWalletReq) MarshalJSON ¶
func (s *EmulateMessageToWalletReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateMessageToWalletReq) SetBoc ¶
func (s *EmulateMessageToWalletReq) SetBoc(val string)
SetBoc sets the value of Boc.
func (*EmulateMessageToWalletReq) SetParams ¶
func (s *EmulateMessageToWalletReq) SetParams(val []EmulateMessageToWalletReqParamsItem)
SetParams sets the value of Params.
func (*EmulateMessageToWalletReq) UnmarshalJSON ¶
func (s *EmulateMessageToWalletReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EmulateMessageToWalletReqParamsItem ¶
type EmulateMessageToWalletReqParamsItem struct { Address string `json:"address"` Balance OptInt64 `json:"balance"` }
func (*EmulateMessageToWalletReqParamsItem) Decode ¶
func (s *EmulateMessageToWalletReqParamsItem) Decode(d *jx.Decoder) error
Decode decodes EmulateMessageToWalletReqParamsItem from json.
func (*EmulateMessageToWalletReqParamsItem) Encode ¶
func (s *EmulateMessageToWalletReqParamsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EmulateMessageToWalletReqParamsItem) GetAddress ¶
func (s *EmulateMessageToWalletReqParamsItem) GetAddress() string
GetAddress returns the value of Address.
func (*EmulateMessageToWalletReqParamsItem) GetBalance ¶
func (s *EmulateMessageToWalletReqParamsItem) GetBalance() OptInt64
GetBalance returns the value of Balance.
func (*EmulateMessageToWalletReqParamsItem) MarshalJSON ¶
func (s *EmulateMessageToWalletReqParamsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EmulateMessageToWalletReqParamsItem) SetAddress ¶
func (s *EmulateMessageToWalletReqParamsItem) SetAddress(val string)
SetAddress sets the value of Address.
func (*EmulateMessageToWalletReqParamsItem) SetBalance ¶
func (s *EmulateMessageToWalletReqParamsItem) SetBalance(val OptInt64)
SetBalance sets the value of Balance.
func (*EmulateMessageToWalletReqParamsItem) UnmarshalJSON ¶
func (s *EmulateMessageToWalletReqParamsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type EncryptedComment ¶
type EncryptedComment struct { EncryptionType string `json:"encryption_type"` CipherText string `json:"cipher_text"` }
Ref: #/components/schemas/EncryptedComment
func (*EncryptedComment) Decode ¶
func (s *EncryptedComment) Decode(d *jx.Decoder) error
Decode decodes EncryptedComment from json.
func (*EncryptedComment) Encode ¶
func (s *EncryptedComment) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*EncryptedComment) GetCipherText ¶
func (s *EncryptedComment) GetCipherText() string
GetCipherText returns the value of CipherText.
func (*EncryptedComment) GetEncryptionType ¶
func (s *EncryptedComment) GetEncryptionType() string
GetEncryptionType returns the value of EncryptionType.
func (*EncryptedComment) MarshalJSON ¶
func (s *EncryptedComment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*EncryptedComment) SetCipherText ¶
func (s *EncryptedComment) SetCipherText(val string)
SetCipherText sets the value of CipherText.
func (*EncryptedComment) SetEncryptionType ¶
func (s *EncryptedComment) SetEncryptionType(val string)
SetEncryptionType sets the value of EncryptionType.
func (*EncryptedComment) UnmarshalJSON ¶
func (s *EncryptedComment) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Error ¶
type Error struct {
Error string `json:"error"`
}
func (*Error) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Error) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type ErrorStatusCode ¶
ErrorStatusCode wraps Error with StatusCode.
func (*ErrorStatusCode) Error ¶
func (s *ErrorStatusCode) Error() string
func (*ErrorStatusCode) GetResponse ¶
func (s *ErrorStatusCode) GetResponse() Error
GetResponse returns the value of Response.
func (*ErrorStatusCode) GetStatusCode ¶
func (s *ErrorStatusCode) GetStatusCode() int
GetStatusCode returns the value of StatusCode.
func (*ErrorStatusCode) SetResponse ¶
func (s *ErrorStatusCode) SetResponse(val Error)
SetResponse sets the value of Response.
func (*ErrorStatusCode) SetStatusCode ¶
func (s *ErrorStatusCode) SetStatusCode(val int)
SetStatusCode sets the value of StatusCode.
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 ExecGetMethodForBlockchainAccountParams ¶
type ExecGetMethodForBlockchainAccountParams struct { // Account ID. AccountID string // Contract get method name. MethodName string Args []string }
ExecGetMethodForBlockchainAccountParams is parameters of execGetMethodForBlockchainAccount operation.
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"` Preview string `json:"preview"` }
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) GetPreview ¶
func (s *FoundAccountsAddressesItem) GetPreview() string
GetPreview returns the value of Preview.
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) SetPreview ¶
func (s *FoundAccountsAddressesItem) SetPreview(val string)
SetPreview sets the value of Preview.
func (*FoundAccountsAddressesItem) UnmarshalJSON ¶
func (s *FoundAccountsAddressesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GasLimitPrices ¶
type GasLimitPrices struct { SpecialGasLimit OptInt64 `json:"special_gas_limit"` FlatGasLimit OptInt64 `json:"flat_gas_limit"` FlatGasPrice OptInt64 `json:"flat_gas_price"` GasPrice int64 `json:"gas_price"` GasLimit int64 `json:"gas_limit"` GasCredit int64 `json:"gas_credit"` BlockGasLimit int64 `json:"block_gas_limit"` FreezeDueLimit int64 `json:"freeze_due_limit"` DeleteDueLimit int64 `json:"delete_due_limit"` }
Ref: #/components/schemas/GasLimitPrices
func (*GasLimitPrices) Decode ¶
func (s *GasLimitPrices) Decode(d *jx.Decoder) error
Decode decodes GasLimitPrices from json.
func (*GasLimitPrices) Encode ¶
func (s *GasLimitPrices) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GasLimitPrices) GetBlockGasLimit ¶
func (s *GasLimitPrices) GetBlockGasLimit() int64
GetBlockGasLimit returns the value of BlockGasLimit.
func (*GasLimitPrices) GetDeleteDueLimit ¶
func (s *GasLimitPrices) GetDeleteDueLimit() int64
GetDeleteDueLimit returns the value of DeleteDueLimit.
func (*GasLimitPrices) GetFlatGasLimit ¶
func (s *GasLimitPrices) GetFlatGasLimit() OptInt64
GetFlatGasLimit returns the value of FlatGasLimit.
func (*GasLimitPrices) GetFlatGasPrice ¶
func (s *GasLimitPrices) GetFlatGasPrice() OptInt64
GetFlatGasPrice returns the value of FlatGasPrice.
func (*GasLimitPrices) GetFreezeDueLimit ¶
func (s *GasLimitPrices) GetFreezeDueLimit() int64
GetFreezeDueLimit returns the value of FreezeDueLimit.
func (*GasLimitPrices) GetGasCredit ¶
func (s *GasLimitPrices) GetGasCredit() int64
GetGasCredit returns the value of GasCredit.
func (*GasLimitPrices) GetGasLimit ¶
func (s *GasLimitPrices) GetGasLimit() int64
GetGasLimit returns the value of GasLimit.
func (*GasLimitPrices) GetGasPrice ¶
func (s *GasLimitPrices) GetGasPrice() int64
GetGasPrice returns the value of GasPrice.
func (*GasLimitPrices) GetSpecialGasLimit ¶
func (s *GasLimitPrices) GetSpecialGasLimit() OptInt64
GetSpecialGasLimit returns the value of SpecialGasLimit.
func (*GasLimitPrices) MarshalJSON ¶
func (s *GasLimitPrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GasLimitPrices) SetBlockGasLimit ¶
func (s *GasLimitPrices) SetBlockGasLimit(val int64)
SetBlockGasLimit sets the value of BlockGasLimit.
func (*GasLimitPrices) SetDeleteDueLimit ¶
func (s *GasLimitPrices) SetDeleteDueLimit(val int64)
SetDeleteDueLimit sets the value of DeleteDueLimit.
func (*GasLimitPrices) SetFlatGasLimit ¶
func (s *GasLimitPrices) SetFlatGasLimit(val OptInt64)
SetFlatGasLimit sets the value of FlatGasLimit.
func (*GasLimitPrices) SetFlatGasPrice ¶
func (s *GasLimitPrices) SetFlatGasPrice(val OptInt64)
SetFlatGasPrice sets the value of FlatGasPrice.
func (*GasLimitPrices) SetFreezeDueLimit ¶
func (s *GasLimitPrices) SetFreezeDueLimit(val int64)
SetFreezeDueLimit sets the value of FreezeDueLimit.
func (*GasLimitPrices) SetGasCredit ¶
func (s *GasLimitPrices) SetGasCredit(val int64)
SetGasCredit sets the value of GasCredit.
func (*GasLimitPrices) SetGasLimit ¶
func (s *GasLimitPrices) SetGasLimit(val int64)
SetGasLimit sets the value of GasLimit.
func (*GasLimitPrices) SetGasPrice ¶
func (s *GasLimitPrices) SetGasPrice(val int64)
SetGasPrice sets the value of GasPrice.
func (*GasLimitPrices) SetSpecialGasLimit ¶
func (s *GasLimitPrices) SetSpecialGasLimit(val OptInt64)
SetSpecialGasLimit sets the value of SpecialGasLimit.
func (*GasLimitPrices) UnmarshalJSON ¶
func (s *GasLimitPrices) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountDiffOK ¶
type GetAccountDiffOK struct {
BalanceChange int64 `json:"balance_change"`
}
func (*GetAccountDiffOK) Decode ¶
func (s *GetAccountDiffOK) Decode(d *jx.Decoder) error
Decode decodes GetAccountDiffOK from json.
func (*GetAccountDiffOK) Encode ¶
func (s *GetAccountDiffOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAccountDiffOK) GetBalanceChange ¶
func (s *GetAccountDiffOK) GetBalanceChange() int64
GetBalanceChange returns the value of BalanceChange.
func (*GetAccountDiffOK) MarshalJSON ¶
func (s *GetAccountDiffOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAccountDiffOK) SetBalanceChange ¶
func (s *GetAccountDiffOK) SetBalanceChange(val int64)
SetBalanceChange sets the value of BalanceChange.
func (*GetAccountDiffOK) UnmarshalJSON ¶
func (s *GetAccountDiffOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountDiffParams ¶
GetAccountDiffParams is parameters of getAccountDiff operation.
type GetAccountDnsExpiringParams ¶
type GetAccountDnsExpiringParams struct { // Account ID. AccountID string // Number of days before expiration. Period OptInt }
GetAccountDnsExpiringParams is parameters of getAccountDnsExpiring operation.
type GetAccountEventParams ¶
type GetAccountEventParams struct { // Account ID. AccountID string // Event ID or transaction hash in hex (without 0x) or base64url format. EventID string AcceptLanguage OptString // Filter actions where requested account is not real subject (for example sender or receiver jettons). SubjectOnly OptBool }
GetAccountEventParams is parameters of getAccountEvent operation.
type GetAccountEventsParams ¶
type GetAccountEventsParams struct { // Account ID. AccountID string AcceptLanguage OptString // Show only events that are initiated by this account. Initiator OptBool // Filter actions where requested account is not real subject (for example sender or receiver jettons). SubjectOnly OptBool // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetAccountEventsParams is parameters of getAccountEvents operation.
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 GetAccountJettonHistoryByIDParams ¶
type GetAccountJettonHistoryByIDParams 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 }
GetAccountJettonHistoryByIDParams is parameters of getAccountJettonHistoryByID operation.
type GetAccountJettonsBalancesParams ¶
type GetAccountJettonsBalancesParams struct { // Account ID. AccountID string // Accept ton and all possible fiat currencies, separated by commas. Currencies OptString }
GetAccountJettonsBalancesParams is parameters of getAccountJettonsBalances operation.
type GetAccountJettonsHistoryParams ¶
type GetAccountJettonsHistoryParams struct { // Account ID. AccountID string AcceptLanguage OptString // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetAccountJettonsHistoryParams is parameters of getAccountJettonsHistory operation.
type GetAccountNftHistoryParams ¶
type GetAccountNftHistoryParams struct { // Account ID. AccountID string AcceptLanguage OptString // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetAccountNftHistoryParams is parameters of getAccountNftHistory operation.
type GetAccountNftItemsParams ¶
type GetAccountNftItemsParams 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 }
GetAccountNftItemsParams is parameters of getAccountNftItems operation.
type GetAccountNominatorsPoolsParams ¶
type GetAccountNominatorsPoolsParams struct { // Account ID. AccountID string }
GetAccountNominatorsPoolsParams is parameters of getAccountNominatorsPools operation.
type GetAccountParams ¶
type GetAccountParams struct { // Account ID. AccountID string }
GetAccountParams is parameters of getAccount operation.
type GetAccountPublicKeyOK ¶
type GetAccountPublicKeyOK struct {
PublicKey string `json:"public_key"`
}
func (*GetAccountPublicKeyOK) Decode ¶
func (s *GetAccountPublicKeyOK) Decode(d *jx.Decoder) error
Decode decodes GetAccountPublicKeyOK from json.
func (*GetAccountPublicKeyOK) Encode ¶
func (s *GetAccountPublicKeyOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAccountPublicKeyOK) GetPublicKey ¶
func (s *GetAccountPublicKeyOK) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (*GetAccountPublicKeyOK) MarshalJSON ¶
func (s *GetAccountPublicKeyOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAccountPublicKeyOK) SetPublicKey ¶
func (s *GetAccountPublicKeyOK) SetPublicKey(val string)
SetPublicKey sets the value of PublicKey.
func (*GetAccountPublicKeyOK) UnmarshalJSON ¶
func (s *GetAccountPublicKeyOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAccountPublicKeyParams ¶
type GetAccountPublicKeyParams struct { // Account ID. AccountID string }
GetAccountPublicKeyParams is parameters of getAccountPublicKey operation.
type GetAccountSeqnoParams ¶
type GetAccountSeqnoParams struct { // Account ID. AccountID string }
GetAccountSeqnoParams is parameters of getAccountSeqno operation.
type GetAccountSubscriptionsParams ¶
type GetAccountSubscriptionsParams struct { // Account ID. AccountID string }
GetAccountSubscriptionsParams is parameters of getAccountSubscriptions operation.
type GetAccountTracesParams ¶
GetAccountTracesParams is parameters of getAccountTraces operation.
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 GetAllAuctionsParams ¶
type GetAllAuctionsParams struct { // Domain filter for current auctions "ton" or "t.me". Tld OptString }
GetAllAuctionsParams is parameters of getAllAuctions operation.
type GetAllRawShardsInfoOK ¶
type GetAllRawShardsInfoOK struct { ID BlockRaw `json:"id"` Proof string `json:"proof"` Data string `json:"data"` }
func (*GetAllRawShardsInfoOK) Decode ¶
func (s *GetAllRawShardsInfoOK) Decode(d *jx.Decoder) error
Decode decodes GetAllRawShardsInfoOK from json.
func (*GetAllRawShardsInfoOK) Encode ¶
func (s *GetAllRawShardsInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetAllRawShardsInfoOK) GetData ¶
func (s *GetAllRawShardsInfoOK) GetData() string
GetData returns the value of Data.
func (*GetAllRawShardsInfoOK) GetID ¶
func (s *GetAllRawShardsInfoOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetAllRawShardsInfoOK) GetProof ¶
func (s *GetAllRawShardsInfoOK) GetProof() string
GetProof returns the value of Proof.
func (*GetAllRawShardsInfoOK) MarshalJSON ¶
func (s *GetAllRawShardsInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetAllRawShardsInfoOK) SetData ¶
func (s *GetAllRawShardsInfoOK) SetData(val string)
SetData sets the value of Data.
func (*GetAllRawShardsInfoOK) SetID ¶
func (s *GetAllRawShardsInfoOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetAllRawShardsInfoOK) SetProof ¶
func (s *GetAllRawShardsInfoOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetAllRawShardsInfoOK) UnmarshalJSON ¶
func (s *GetAllRawShardsInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetAllRawShardsInfoParams ¶
type GetAllRawShardsInfoParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetAllRawShardsInfoParams is parameters of getAllRawShardsInfo operation.
type GetBlockchainAccountTransactionsParams ¶
type GetBlockchainAccountTransactionsParams 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 }
GetBlockchainAccountTransactionsParams is parameters of getBlockchainAccountTransactions operation.
type GetBlockchainBlockParams ¶
type GetBlockchainBlockParams struct { // Block ID. BlockID string }
GetBlockchainBlockParams is parameters of getBlockchainBlock operation.
type GetBlockchainBlockTransactionsParams ¶
type GetBlockchainBlockTransactionsParams struct { // Block ID. BlockID string }
GetBlockchainBlockTransactionsParams is parameters of getBlockchainBlockTransactions operation.
type GetBlockchainConfigFromBlockParams ¶
type GetBlockchainConfigFromBlockParams struct { // Masterchain block seqno. MasterchainSeqno int32 }
GetBlockchainConfigFromBlockParams is parameters of getBlockchainConfigFromBlock operation.
type GetBlockchainMasterchainShardsParams ¶
type GetBlockchainMasterchainShardsParams struct { // Masterchain block seqno. MasterchainSeqno int32 }
GetBlockchainMasterchainShardsParams is parameters of getBlockchainMasterchainShards operation.
type GetBlockchainRawAccountParams ¶
type GetBlockchainRawAccountParams struct { // Account ID. AccountID string }
GetBlockchainRawAccountParams is parameters of getBlockchainRawAccount operation.
type GetBlockchainTransactionByMessageHashParams ¶
type GetBlockchainTransactionByMessageHashParams struct { // Message ID. MsgID string }
GetBlockchainTransactionByMessageHashParams is parameters of getBlockchainTransactionByMessageHash operation.
type GetBlockchainTransactionParams ¶
type GetBlockchainTransactionParams struct { // Transaction ID. TransactionID string }
GetBlockchainTransactionParams is parameters of getBlockchainTransaction operation.
type GetChartRatesOK ¶
func (*GetChartRatesOK) Decode ¶
func (s *GetChartRatesOK) Decode(d *jx.Decoder) error
Decode decodes GetChartRatesOK from json.
func (*GetChartRatesOK) Encode ¶
func (s *GetChartRatesOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetChartRatesOK) GetPoints ¶
func (s *GetChartRatesOK) GetPoints() jx.Raw
GetPoints returns the value of Points.
func (*GetChartRatesOK) MarshalJSON ¶
func (s *GetChartRatesOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetChartRatesOK) SetPoints ¶
func (s *GetChartRatesOK) SetPoints(val jx.Raw)
SetPoints sets the value of Points.
func (*GetChartRatesOK) UnmarshalJSON ¶
func (s *GetChartRatesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetChartRatesParams ¶
type GetChartRatesParams struct { // Accept jetton master address. Token string Currency OptString StartDate OptInt64 EndDate OptInt64 }
GetChartRatesParams is parameters of getChartRates operation.
type GetDnsInfoParams ¶
type GetDnsInfoParams struct { // Domain name with .ton or .t.me. DomainName string }
GetDnsInfoParams is parameters of getDnsInfo operation.
type GetDomainBidsParams ¶
type GetDomainBidsParams struct { // Domain name with .ton or .t.me. DomainName string }
GetDomainBidsParams is parameters of getDomainBids operation.
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 GetItemsFromCollectionParams ¶
type GetItemsFromCollectionParams struct { // Account ID. AccountID string Limit OptInt Offset OptInt }
GetItemsFromCollectionParams is parameters of getItemsFromCollection operation.
type GetJettonHoldersParams ¶
GetJettonHoldersParams is parameters of getJettonHolders operation.
type GetJettonInfoParams ¶
type GetJettonInfoParams struct { // Account ID. AccountID string }
GetJettonInfoParams is parameters of getJettonInfo operation.
type GetJettonsEventsParams ¶
type GetJettonsEventsParams struct { // Event ID or transaction hash in hex (without 0x) or base64url format. EventID string AcceptLanguage OptString }
GetJettonsEventsParams is parameters of getJettonsEvents operation.
type GetJettonsParams ¶
GetJettonsParams is parameters of getJettons operation.
type GetNftCollectionParams ¶
type GetNftCollectionParams struct { // Account ID. AccountID string }
GetNftCollectionParams is parameters of getNftCollection operation.
type GetNftCollectionsParams ¶
GetNftCollectionsParams is parameters of getNftCollections operation.
type GetNftHistoryByIDParams ¶
type GetNftHistoryByIDParams struct { // Account ID. AccountID string AcceptLanguage OptString // Omit this parameter to get last events. BeforeLt OptInt64 Limit int StartDate OptInt64 EndDate OptInt64 }
GetNftHistoryByIDParams is parameters of getNftHistoryByID operation.
type GetNftItemByAddressParams ¶
type GetNftItemByAddressParams struct { // Account ID. AccountID string }
GetNftItemByAddressParams is parameters of getNftItemByAddress operation.
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 GetRatesOK ¶
type GetRatesOK struct {
Rates GetRatesOKRates `json:"rates"`
}
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() GetRatesOKRates
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 GetRatesOKRates)
SetRates sets the value of Rates.
func (*GetRatesOK) UnmarshalJSON ¶
func (s *GetRatesOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRatesOK) Validate ¶
func (s *GetRatesOK) Validate() error
type GetRatesOKRates ¶
type GetRatesOKRates map[string]TokenRates
func (*GetRatesOKRates) Decode ¶
func (s *GetRatesOKRates) Decode(d *jx.Decoder) error
Decode decodes GetRatesOKRates from json.
func (GetRatesOKRates) Encode ¶
func (s GetRatesOKRates) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetRatesOKRates) MarshalJSON ¶
func (s GetRatesOKRates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRatesOKRates) UnmarshalJSON ¶
func (s *GetRatesOKRates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetRatesOKRates) Validate ¶
func (s GetRatesOKRates) Validate() error
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 GetRawAccountStateOK ¶
type GetRawAccountStateOK struct { ID BlockRaw `json:"id"` Shardblk BlockRaw `json:"shardblk"` ShardProof string `json:"shard_proof"` Proof string `json:"proof"` State string `json:"state"` }
func (*GetRawAccountStateOK) Decode ¶
func (s *GetRawAccountStateOK) Decode(d *jx.Decoder) error
Decode decodes GetRawAccountStateOK from json.
func (*GetRawAccountStateOK) Encode ¶
func (s *GetRawAccountStateOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawAccountStateOK) GetID ¶
func (s *GetRawAccountStateOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawAccountStateOK) GetProof ¶
func (s *GetRawAccountStateOK) GetProof() string
GetProof returns the value of Proof.
func (*GetRawAccountStateOK) GetShardProof ¶
func (s *GetRawAccountStateOK) GetShardProof() string
GetShardProof returns the value of ShardProof.
func (*GetRawAccountStateOK) GetShardblk ¶
func (s *GetRawAccountStateOK) GetShardblk() BlockRaw
GetShardblk returns the value of Shardblk.
func (*GetRawAccountStateOK) GetState ¶
func (s *GetRawAccountStateOK) GetState() string
GetState returns the value of State.
func (*GetRawAccountStateOK) MarshalJSON ¶
func (s *GetRawAccountStateOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawAccountStateOK) SetID ¶
func (s *GetRawAccountStateOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawAccountStateOK) SetProof ¶
func (s *GetRawAccountStateOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetRawAccountStateOK) SetShardProof ¶
func (s *GetRawAccountStateOK) SetShardProof(val string)
SetShardProof sets the value of ShardProof.
func (*GetRawAccountStateOK) SetShardblk ¶
func (s *GetRawAccountStateOK) SetShardblk(val BlockRaw)
SetShardblk sets the value of Shardblk.
func (*GetRawAccountStateOK) SetState ¶
func (s *GetRawAccountStateOK) SetState(val string)
SetState sets the value of State.
func (*GetRawAccountStateOK) UnmarshalJSON ¶
func (s *GetRawAccountStateOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawAccountStateParams ¶
type GetRawAccountStateParams struct { // Account ID. AccountID string // Target block: (workchain,shard,seqno,root_hash,file_hash). TargetBlock OptString }
GetRawAccountStateParams is parameters of getRawAccountState operation.
type GetRawBlockProofOK ¶
type GetRawBlockProofOK struct { Complete bool `json:"complete"` From BlockRaw `json:"from"` To BlockRaw `json:"to"` Steps []GetRawBlockProofOKStepsItem `json:"steps"` }
func (*GetRawBlockProofOK) Decode ¶
func (s *GetRawBlockProofOK) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOK from json.
func (*GetRawBlockProofOK) Encode ¶
func (s *GetRawBlockProofOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOK) GetComplete ¶
func (s *GetRawBlockProofOK) GetComplete() bool
GetComplete returns the value of Complete.
func (*GetRawBlockProofOK) GetFrom ¶
func (s *GetRawBlockProofOK) GetFrom() BlockRaw
GetFrom returns the value of From.
func (*GetRawBlockProofOK) GetSteps ¶
func (s *GetRawBlockProofOK) GetSteps() []GetRawBlockProofOKStepsItem
GetSteps returns the value of Steps.
func (*GetRawBlockProofOK) GetTo ¶
func (s *GetRawBlockProofOK) GetTo() BlockRaw
GetTo returns the value of To.
func (*GetRawBlockProofOK) MarshalJSON ¶
func (s *GetRawBlockProofOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOK) SetComplete ¶
func (s *GetRawBlockProofOK) SetComplete(val bool)
SetComplete sets the value of Complete.
func (*GetRawBlockProofOK) SetFrom ¶
func (s *GetRawBlockProofOK) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetRawBlockProofOK) SetSteps ¶
func (s *GetRawBlockProofOK) SetSteps(val []GetRawBlockProofOKStepsItem)
SetSteps sets the value of Steps.
func (*GetRawBlockProofOK) SetTo ¶
func (s *GetRawBlockProofOK) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetRawBlockProofOK) UnmarshalJSON ¶
func (s *GetRawBlockProofOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawBlockProofOK) Validate ¶
func (s *GetRawBlockProofOK) Validate() error
type GetRawBlockProofOKStepsItem ¶
type GetRawBlockProofOKStepsItem struct { LiteServerBlockLinkBack GetRawBlockProofOKStepsItemLiteServerBlockLinkBack `json:"lite_server_block_link_back"` LiteServerBlockLinkForward GetRawBlockProofOKStepsItemLiteServerBlockLinkForward `json:"lite_server_block_link_forward"` }
func (*GetRawBlockProofOKStepsItem) Decode ¶
func (s *GetRawBlockProofOKStepsItem) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOKStepsItem from json.
func (*GetRawBlockProofOKStepsItem) Encode ¶
func (s *GetRawBlockProofOKStepsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkBack ¶
func (s *GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkBack() GetRawBlockProofOKStepsItemLiteServerBlockLinkBack
GetLiteServerBlockLinkBack returns the value of LiteServerBlockLinkBack.
func (*GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkForward ¶
func (s *GetRawBlockProofOKStepsItem) GetLiteServerBlockLinkForward() GetRawBlockProofOKStepsItemLiteServerBlockLinkForward
GetLiteServerBlockLinkForward returns the value of LiteServerBlockLinkForward.
func (*GetRawBlockProofOKStepsItem) MarshalJSON ¶
func (s *GetRawBlockProofOKStepsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkBack ¶
func (s *GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkBack(val GetRawBlockProofOKStepsItemLiteServerBlockLinkBack)
SetLiteServerBlockLinkBack sets the value of LiteServerBlockLinkBack.
func (*GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkForward ¶
func (s *GetRawBlockProofOKStepsItem) SetLiteServerBlockLinkForward(val GetRawBlockProofOKStepsItemLiteServerBlockLinkForward)
SetLiteServerBlockLinkForward sets the value of LiteServerBlockLinkForward.
func (*GetRawBlockProofOKStepsItem) UnmarshalJSON ¶
func (s *GetRawBlockProofOKStepsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawBlockProofOKStepsItem) Validate ¶
func (s *GetRawBlockProofOKStepsItem) Validate() error
type GetRawBlockProofOKStepsItemLiteServerBlockLinkBack ¶
type GetRawBlockProofOKStepsItemLiteServerBlockLinkBack 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 (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Decode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOKStepsItemLiteServerBlockLinkBack from json.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Encode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetDestProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetDestProof() string
GetDestProof returns the value of DestProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetFrom ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetFrom() BlockRaw
GetFrom returns the value of From.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetProof() string
GetProof returns the value of Proof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetStateProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetStateProof() string
GetStateProof returns the value of StateProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetTo ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetTo() BlockRaw
GetTo returns the value of To.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) GetToKeyBlock() bool
GetToKeyBlock returns the value of ToKeyBlock.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) MarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetDestProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetDestProof(val string)
SetDestProof sets the value of DestProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetFrom ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetProof(val string)
SetProof sets the value of Proof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetStateProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetStateProof(val string)
SetStateProof sets the value of StateProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetTo ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) SetToKeyBlock(val bool)
SetToKeyBlock sets the value of ToKeyBlock.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkBack) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForward ¶
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForward 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 GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures `json:"signatures"` }
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Decode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOKStepsItemLiteServerBlockLinkForward from json.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Encode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetConfigProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetConfigProof() string
GetConfigProof returns the value of ConfigProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetDestProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetDestProof() string
GetDestProof returns the value of DestProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetFrom ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetFrom() BlockRaw
GetFrom returns the value of From.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetSignatures ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetSignatures() GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures
GetSignatures returns the value of Signatures.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetTo ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetTo() BlockRaw
GetTo returns the value of To.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) GetToKeyBlock() bool
GetToKeyBlock returns the value of ToKeyBlock.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) MarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetConfigProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetConfigProof(val string)
SetConfigProof sets the value of ConfigProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetDestProof ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetDestProof(val string)
SetDestProof sets the value of DestProof.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetFrom ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetFrom(val BlockRaw)
SetFrom sets the value of From.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetSignatures ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetSignatures(val GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures)
SetSignatures sets the value of Signatures.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetTo ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetTo(val BlockRaw)
SetTo sets the value of To.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) SetToKeyBlock(val bool)
SetToKeyBlock sets the value of ToKeyBlock.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Validate ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForward) Validate() error
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures ¶
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures struct { ValidatorSetHash uint32 `json:"validator_set_hash"` CatchainSeqno uint32 `json:"catchain_seqno"` Signatures []GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem `json:"signatures"` }
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Decode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures from json.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Encode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetCatchainSeqno() uint32
GetCatchainSeqno returns the value of CatchainSeqno.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetSignatures() []GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem
GetSignatures returns the value of Signatures.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) GetValidatorSetHash() uint32
GetValidatorSetHash returns the value of ValidatorSetHash.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetCatchainSeqno(val uint32)
SetCatchainSeqno sets the value of CatchainSeqno.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetSignatures(val []GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem)
SetSignatures sets the value of Signatures.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) SetValidatorSetHash(val uint32)
SetValidatorSetHash sets the value of ValidatorSetHash.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Validate ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignatures) Validate() error
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem ¶
type GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem struct { NodeIDShort string `json:"node_id_short"` Signature string `json:"signature"` }
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem from json.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetNodeIDShort() string
GetNodeIDShort returns the value of NodeIDShort.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) GetSignature() string
GetSignature returns the value of Signature.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetNodeIDShort(val string)
SetNodeIDShort sets the value of NodeIDShort.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) SetSignature(val string)
SetSignature sets the value of Signature.
func (*GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON ¶
func (s *GetRawBlockProofOKStepsItemLiteServerBlockLinkForwardSignaturesSignaturesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawBlockProofParams ¶
type GetRawBlockProofParams 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 }
GetRawBlockProofParams is parameters of getRawBlockProof operation.
type GetRawBlockchainBlockHeaderOK ¶
type GetRawBlockchainBlockHeaderOK struct { ID BlockRaw `json:"id"` Mode uint32 `json:"mode"` HeaderProof string `json:"header_proof"` }
func (*GetRawBlockchainBlockHeaderOK) Decode ¶
func (s *GetRawBlockchainBlockHeaderOK) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockchainBlockHeaderOK from json.
func (*GetRawBlockchainBlockHeaderOK) Encode ¶
func (s *GetRawBlockchainBlockHeaderOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockchainBlockHeaderOK) GetHeaderProof ¶
func (s *GetRawBlockchainBlockHeaderOK) GetHeaderProof() string
GetHeaderProof returns the value of HeaderProof.
func (*GetRawBlockchainBlockHeaderOK) GetID ¶
func (s *GetRawBlockchainBlockHeaderOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawBlockchainBlockHeaderOK) GetMode ¶
func (s *GetRawBlockchainBlockHeaderOK) GetMode() uint32
GetMode returns the value of Mode.
func (*GetRawBlockchainBlockHeaderOK) MarshalJSON ¶
func (s *GetRawBlockchainBlockHeaderOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockchainBlockHeaderOK) SetHeaderProof ¶
func (s *GetRawBlockchainBlockHeaderOK) SetHeaderProof(val string)
SetHeaderProof sets the value of HeaderProof.
func (*GetRawBlockchainBlockHeaderOK) SetID ¶
func (s *GetRawBlockchainBlockHeaderOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawBlockchainBlockHeaderOK) SetMode ¶
func (s *GetRawBlockchainBlockHeaderOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetRawBlockchainBlockHeaderOK) UnmarshalJSON ¶
func (s *GetRawBlockchainBlockHeaderOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawBlockchainBlockHeaderParams ¶
type GetRawBlockchainBlockHeaderParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Mode. Mode uint32 }
GetRawBlockchainBlockHeaderParams is parameters of getRawBlockchainBlockHeader operation.
type GetRawBlockchainBlockOK ¶
func (*GetRawBlockchainBlockOK) Decode ¶
func (s *GetRawBlockchainBlockOK) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockchainBlockOK from json.
func (*GetRawBlockchainBlockOK) Encode ¶
func (s *GetRawBlockchainBlockOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockchainBlockOK) GetData ¶
func (s *GetRawBlockchainBlockOK) GetData() string
GetData returns the value of Data.
func (*GetRawBlockchainBlockOK) GetID ¶
func (s *GetRawBlockchainBlockOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawBlockchainBlockOK) MarshalJSON ¶
func (s *GetRawBlockchainBlockOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockchainBlockOK) SetData ¶
func (s *GetRawBlockchainBlockOK) SetData(val string)
SetData sets the value of Data.
func (*GetRawBlockchainBlockOK) SetID ¶
func (s *GetRawBlockchainBlockOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawBlockchainBlockOK) UnmarshalJSON ¶
func (s *GetRawBlockchainBlockOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawBlockchainBlockParams ¶
type GetRawBlockchainBlockParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetRawBlockchainBlockParams is parameters of getRawBlockchainBlock operation.
type GetRawBlockchainBlockStateOK ¶
type GetRawBlockchainBlockStateOK struct { ID BlockRaw `json:"id"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` Data string `json:"data"` }
func (*GetRawBlockchainBlockStateOK) Decode ¶
func (s *GetRawBlockchainBlockStateOK) Decode(d *jx.Decoder) error
Decode decodes GetRawBlockchainBlockStateOK from json.
func (*GetRawBlockchainBlockStateOK) Encode ¶
func (s *GetRawBlockchainBlockStateOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawBlockchainBlockStateOK) GetData ¶
func (s *GetRawBlockchainBlockStateOK) GetData() string
GetData returns the value of Data.
func (*GetRawBlockchainBlockStateOK) GetFileHash ¶
func (s *GetRawBlockchainBlockStateOK) GetFileHash() string
GetFileHash returns the value of FileHash.
func (*GetRawBlockchainBlockStateOK) GetID ¶
func (s *GetRawBlockchainBlockStateOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawBlockchainBlockStateOK) GetRootHash ¶
func (s *GetRawBlockchainBlockStateOK) GetRootHash() string
GetRootHash returns the value of RootHash.
func (*GetRawBlockchainBlockStateOK) MarshalJSON ¶
func (s *GetRawBlockchainBlockStateOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawBlockchainBlockStateOK) SetData ¶
func (s *GetRawBlockchainBlockStateOK) SetData(val string)
SetData sets the value of Data.
func (*GetRawBlockchainBlockStateOK) SetFileHash ¶
func (s *GetRawBlockchainBlockStateOK) SetFileHash(val string)
SetFileHash sets the value of FileHash.
func (*GetRawBlockchainBlockStateOK) SetID ¶
func (s *GetRawBlockchainBlockStateOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawBlockchainBlockStateOK) SetRootHash ¶
func (s *GetRawBlockchainBlockStateOK) SetRootHash(val string)
SetRootHash sets the value of RootHash.
func (*GetRawBlockchainBlockStateOK) UnmarshalJSON ¶
func (s *GetRawBlockchainBlockStateOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawBlockchainBlockStateParams ¶
type GetRawBlockchainBlockStateParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetRawBlockchainBlockStateParams is parameters of getRawBlockchainBlockState operation.
type GetRawBlockchainConfigFromBlockParams ¶
type GetRawBlockchainConfigFromBlockParams struct { // Masterchain block seqno. MasterchainSeqno int32 }
GetRawBlockchainConfigFromBlockParams is parameters of getRawBlockchainConfigFromBlock operation.
type GetRawConfigOK ¶
type GetRawConfigOK struct { Mode uint32 `json:"mode"` ID BlockRaw `json:"id"` StateProof string `json:"state_proof"` ConfigProof string `json:"config_proof"` }
func (*GetRawConfigOK) Decode ¶
func (s *GetRawConfigOK) Decode(d *jx.Decoder) error
Decode decodes GetRawConfigOK from json.
func (*GetRawConfigOK) Encode ¶
func (s *GetRawConfigOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawConfigOK) GetConfigProof ¶
func (s *GetRawConfigOK) GetConfigProof() string
GetConfigProof returns the value of ConfigProof.
func (*GetRawConfigOK) GetID ¶
func (s *GetRawConfigOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawConfigOK) GetMode ¶
func (s *GetRawConfigOK) GetMode() uint32
GetMode returns the value of Mode.
func (*GetRawConfigOK) GetStateProof ¶
func (s *GetRawConfigOK) GetStateProof() string
GetStateProof returns the value of StateProof.
func (*GetRawConfigOK) MarshalJSON ¶
func (s *GetRawConfigOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawConfigOK) SetConfigProof ¶
func (s *GetRawConfigOK) SetConfigProof(val string)
SetConfigProof sets the value of ConfigProof.
func (*GetRawConfigOK) SetID ¶
func (s *GetRawConfigOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawConfigOK) SetMode ¶
func (s *GetRawConfigOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetRawConfigOK) SetStateProof ¶
func (s *GetRawConfigOK) SetStateProof(val string)
SetStateProof sets the value of StateProof.
func (*GetRawConfigOK) UnmarshalJSON ¶
func (s *GetRawConfigOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawConfigParams ¶
type GetRawConfigParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Mode. Mode uint32 }
GetRawConfigParams is parameters of getRawConfig operation.
type GetRawListBlockTransactionsOK ¶
type GetRawListBlockTransactionsOK struct { ID BlockRaw `json:"id"` ReqCount uint32 `json:"req_count"` Incomplete bool `json:"incomplete"` Ids []GetRawListBlockTransactionsOKIdsItem `json:"ids"` Proof string `json:"proof"` }
func (*GetRawListBlockTransactionsOK) Decode ¶
func (s *GetRawListBlockTransactionsOK) Decode(d *jx.Decoder) error
Decode decodes GetRawListBlockTransactionsOK from json.
func (*GetRawListBlockTransactionsOK) Encode ¶
func (s *GetRawListBlockTransactionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawListBlockTransactionsOK) GetID ¶
func (s *GetRawListBlockTransactionsOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawListBlockTransactionsOK) GetIds ¶
func (s *GetRawListBlockTransactionsOK) GetIds() []GetRawListBlockTransactionsOKIdsItem
GetIds returns the value of Ids.
func (*GetRawListBlockTransactionsOK) GetIncomplete ¶
func (s *GetRawListBlockTransactionsOK) GetIncomplete() bool
GetIncomplete returns the value of Incomplete.
func (*GetRawListBlockTransactionsOK) GetProof ¶
func (s *GetRawListBlockTransactionsOK) GetProof() string
GetProof returns the value of Proof.
func (*GetRawListBlockTransactionsOK) GetReqCount ¶
func (s *GetRawListBlockTransactionsOK) GetReqCount() uint32
GetReqCount returns the value of ReqCount.
func (*GetRawListBlockTransactionsOK) MarshalJSON ¶
func (s *GetRawListBlockTransactionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawListBlockTransactionsOK) SetID ¶
func (s *GetRawListBlockTransactionsOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawListBlockTransactionsOK) SetIds ¶
func (s *GetRawListBlockTransactionsOK) SetIds(val []GetRawListBlockTransactionsOKIdsItem)
SetIds sets the value of Ids.
func (*GetRawListBlockTransactionsOK) SetIncomplete ¶
func (s *GetRawListBlockTransactionsOK) SetIncomplete(val bool)
SetIncomplete sets the value of Incomplete.
func (*GetRawListBlockTransactionsOK) SetProof ¶
func (s *GetRawListBlockTransactionsOK) SetProof(val string)
SetProof sets the value of Proof.
func (*GetRawListBlockTransactionsOK) SetReqCount ¶
func (s *GetRawListBlockTransactionsOK) SetReqCount(val uint32)
SetReqCount sets the value of ReqCount.
func (*GetRawListBlockTransactionsOK) UnmarshalJSON ¶
func (s *GetRawListBlockTransactionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawListBlockTransactionsOK) Validate ¶
func (s *GetRawListBlockTransactionsOK) Validate() error
type GetRawListBlockTransactionsOKIdsItem ¶
type GetRawListBlockTransactionsOKIdsItem struct { Mode uint32 `json:"mode"` Account OptString `json:"account"` Lt OptUint64 `json:"lt"` Hash OptString `json:"hash"` }
func (*GetRawListBlockTransactionsOKIdsItem) Decode ¶
func (s *GetRawListBlockTransactionsOKIdsItem) Decode(d *jx.Decoder) error
Decode decodes GetRawListBlockTransactionsOKIdsItem from json.
func (*GetRawListBlockTransactionsOKIdsItem) Encode ¶
func (s *GetRawListBlockTransactionsOKIdsItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawListBlockTransactionsOKIdsItem) GetAccount ¶
func (s *GetRawListBlockTransactionsOKIdsItem) GetAccount() OptString
GetAccount returns the value of Account.
func (*GetRawListBlockTransactionsOKIdsItem) GetHash ¶
func (s *GetRawListBlockTransactionsOKIdsItem) GetHash() OptString
GetHash returns the value of Hash.
func (*GetRawListBlockTransactionsOKIdsItem) GetLt ¶
func (s *GetRawListBlockTransactionsOKIdsItem) GetLt() OptUint64
GetLt returns the value of Lt.
func (*GetRawListBlockTransactionsOKIdsItem) GetMode ¶
func (s *GetRawListBlockTransactionsOKIdsItem) GetMode() uint32
GetMode returns the value of Mode.
func (*GetRawListBlockTransactionsOKIdsItem) MarshalJSON ¶
func (s *GetRawListBlockTransactionsOKIdsItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawListBlockTransactionsOKIdsItem) SetAccount ¶
func (s *GetRawListBlockTransactionsOKIdsItem) SetAccount(val OptString)
SetAccount sets the value of Account.
func (*GetRawListBlockTransactionsOKIdsItem) SetHash ¶
func (s *GetRawListBlockTransactionsOKIdsItem) SetHash(val OptString)
SetHash sets the value of Hash.
func (*GetRawListBlockTransactionsOKIdsItem) SetLt ¶
func (s *GetRawListBlockTransactionsOKIdsItem) SetLt(val OptUint64)
SetLt sets the value of Lt.
func (*GetRawListBlockTransactionsOKIdsItem) SetMode ¶
func (s *GetRawListBlockTransactionsOKIdsItem) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetRawListBlockTransactionsOKIdsItem) UnmarshalJSON ¶
func (s *GetRawListBlockTransactionsOKIdsItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawListBlockTransactionsParams ¶
type GetRawListBlockTransactionsParams 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 }
GetRawListBlockTransactionsParams is parameters of getRawListBlockTransactions operation.
type GetRawMasterchainInfoExtOK ¶
type GetRawMasterchainInfoExtOK 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 (*GetRawMasterchainInfoExtOK) Decode ¶
func (s *GetRawMasterchainInfoExtOK) Decode(d *jx.Decoder) error
Decode decodes GetRawMasterchainInfoExtOK from json.
func (*GetRawMasterchainInfoExtOK) Encode ¶
func (s *GetRawMasterchainInfoExtOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawMasterchainInfoExtOK) GetCapabilities ¶
func (s *GetRawMasterchainInfoExtOK) GetCapabilities() uint64
GetCapabilities returns the value of Capabilities.
func (*GetRawMasterchainInfoExtOK) GetInit ¶
func (s *GetRawMasterchainInfoExtOK) GetInit() InitStateRaw
GetInit returns the value of Init.
func (*GetRawMasterchainInfoExtOK) GetLast ¶
func (s *GetRawMasterchainInfoExtOK) GetLast() BlockRaw
GetLast returns the value of Last.
func (*GetRawMasterchainInfoExtOK) GetLastUtime ¶
func (s *GetRawMasterchainInfoExtOK) GetLastUtime() uint32
GetLastUtime returns the value of LastUtime.
func (*GetRawMasterchainInfoExtOK) GetMode ¶
func (s *GetRawMasterchainInfoExtOK) GetMode() uint32
GetMode returns the value of Mode.
func (*GetRawMasterchainInfoExtOK) GetNow ¶
func (s *GetRawMasterchainInfoExtOK) GetNow() uint32
GetNow returns the value of Now.
func (*GetRawMasterchainInfoExtOK) GetStateRootHash ¶
func (s *GetRawMasterchainInfoExtOK) GetStateRootHash() string
GetStateRootHash returns the value of StateRootHash.
func (*GetRawMasterchainInfoExtOK) GetVersion ¶
func (s *GetRawMasterchainInfoExtOK) GetVersion() uint32
GetVersion returns the value of Version.
func (*GetRawMasterchainInfoExtOK) MarshalJSON ¶
func (s *GetRawMasterchainInfoExtOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawMasterchainInfoExtOK) SetCapabilities ¶
func (s *GetRawMasterchainInfoExtOK) SetCapabilities(val uint64)
SetCapabilities sets the value of Capabilities.
func (*GetRawMasterchainInfoExtOK) SetInit ¶
func (s *GetRawMasterchainInfoExtOK) SetInit(val InitStateRaw)
SetInit sets the value of Init.
func (*GetRawMasterchainInfoExtOK) SetLast ¶
func (s *GetRawMasterchainInfoExtOK) SetLast(val BlockRaw)
SetLast sets the value of Last.
func (*GetRawMasterchainInfoExtOK) SetLastUtime ¶
func (s *GetRawMasterchainInfoExtOK) SetLastUtime(val uint32)
SetLastUtime sets the value of LastUtime.
func (*GetRawMasterchainInfoExtOK) SetMode ¶
func (s *GetRawMasterchainInfoExtOK) SetMode(val uint32)
SetMode sets the value of Mode.
func (*GetRawMasterchainInfoExtOK) SetNow ¶
func (s *GetRawMasterchainInfoExtOK) SetNow(val uint32)
SetNow sets the value of Now.
func (*GetRawMasterchainInfoExtOK) SetStateRootHash ¶
func (s *GetRawMasterchainInfoExtOK) SetStateRootHash(val string)
SetStateRootHash sets the value of StateRootHash.
func (*GetRawMasterchainInfoExtOK) SetVersion ¶
func (s *GetRawMasterchainInfoExtOK) SetVersion(val uint32)
SetVersion sets the value of Version.
func (*GetRawMasterchainInfoExtOK) UnmarshalJSON ¶
func (s *GetRawMasterchainInfoExtOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawMasterchainInfoExtParams ¶
type GetRawMasterchainInfoExtParams struct { // Mode. Mode uint32 }
GetRawMasterchainInfoExtParams is parameters of getRawMasterchainInfoExt operation.
type GetRawMasterchainInfoOK ¶
type GetRawMasterchainInfoOK struct { Last BlockRaw `json:"last"` StateRootHash string `json:"state_root_hash"` Init InitStateRaw `json:"init"` }
func (*GetRawMasterchainInfoOK) Decode ¶
func (s *GetRawMasterchainInfoOK) Decode(d *jx.Decoder) error
Decode decodes GetRawMasterchainInfoOK from json.
func (*GetRawMasterchainInfoOK) Encode ¶
func (s *GetRawMasterchainInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawMasterchainInfoOK) GetInit ¶
func (s *GetRawMasterchainInfoOK) GetInit() InitStateRaw
GetInit returns the value of Init.
func (*GetRawMasterchainInfoOK) GetLast ¶
func (s *GetRawMasterchainInfoOK) GetLast() BlockRaw
GetLast returns the value of Last.
func (*GetRawMasterchainInfoOK) GetStateRootHash ¶
func (s *GetRawMasterchainInfoOK) GetStateRootHash() string
GetStateRootHash returns the value of StateRootHash.
func (*GetRawMasterchainInfoOK) MarshalJSON ¶
func (s *GetRawMasterchainInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawMasterchainInfoOK) SetInit ¶
func (s *GetRawMasterchainInfoOK) SetInit(val InitStateRaw)
SetInit sets the value of Init.
func (*GetRawMasterchainInfoOK) SetLast ¶
func (s *GetRawMasterchainInfoOK) SetLast(val BlockRaw)
SetLast sets the value of Last.
func (*GetRawMasterchainInfoOK) SetStateRootHash ¶
func (s *GetRawMasterchainInfoOK) SetStateRootHash(val string)
SetStateRootHash sets the value of StateRootHash.
func (*GetRawMasterchainInfoOK) UnmarshalJSON ¶
func (s *GetRawMasterchainInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawShardBlockProofOK ¶
type GetRawShardBlockProofOK struct { MasterchainID BlockRaw `json:"masterchain_id"` Links []GetRawShardBlockProofOKLinksItem `json:"links"` }
func (*GetRawShardBlockProofOK) Decode ¶
func (s *GetRawShardBlockProofOK) Decode(d *jx.Decoder) error
Decode decodes GetRawShardBlockProofOK from json.
func (*GetRawShardBlockProofOK) Encode ¶
func (s *GetRawShardBlockProofOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawShardBlockProofOK) GetLinks ¶
func (s *GetRawShardBlockProofOK) GetLinks() []GetRawShardBlockProofOKLinksItem
GetLinks returns the value of Links.
func (*GetRawShardBlockProofOK) GetMasterchainID ¶
func (s *GetRawShardBlockProofOK) GetMasterchainID() BlockRaw
GetMasterchainID returns the value of MasterchainID.
func (*GetRawShardBlockProofOK) MarshalJSON ¶
func (s *GetRawShardBlockProofOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawShardBlockProofOK) SetLinks ¶
func (s *GetRawShardBlockProofOK) SetLinks(val []GetRawShardBlockProofOKLinksItem)
SetLinks sets the value of Links.
func (*GetRawShardBlockProofOK) SetMasterchainID ¶
func (s *GetRawShardBlockProofOK) SetMasterchainID(val BlockRaw)
SetMasterchainID sets the value of MasterchainID.
func (*GetRawShardBlockProofOK) UnmarshalJSON ¶
func (s *GetRawShardBlockProofOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawShardBlockProofOK) Validate ¶
func (s *GetRawShardBlockProofOK) Validate() error
type GetRawShardBlockProofOKLinksItem ¶
type GetRawShardBlockProofOKLinksItem struct { ID BlockRaw `json:"id"` Proof string `json:"proof"` }
func (*GetRawShardBlockProofOKLinksItem) Decode ¶
func (s *GetRawShardBlockProofOKLinksItem) Decode(d *jx.Decoder) error
Decode decodes GetRawShardBlockProofOKLinksItem from json.
func (*GetRawShardBlockProofOKLinksItem) Encode ¶
func (s *GetRawShardBlockProofOKLinksItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawShardBlockProofOKLinksItem) GetID ¶
func (s *GetRawShardBlockProofOKLinksItem) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawShardBlockProofOKLinksItem) GetProof ¶
func (s *GetRawShardBlockProofOKLinksItem) GetProof() string
GetProof returns the value of Proof.
func (*GetRawShardBlockProofOKLinksItem) MarshalJSON ¶
func (s *GetRawShardBlockProofOKLinksItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawShardBlockProofOKLinksItem) SetID ¶
func (s *GetRawShardBlockProofOKLinksItem) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawShardBlockProofOKLinksItem) SetProof ¶
func (s *GetRawShardBlockProofOKLinksItem) SetProof(val string)
SetProof sets the value of Proof.
func (*GetRawShardBlockProofOKLinksItem) UnmarshalJSON ¶
func (s *GetRawShardBlockProofOKLinksItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawShardBlockProofParams ¶
type GetRawShardBlockProofParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string }
GetRawShardBlockProofParams is parameters of getRawShardBlockProof operation.
type GetRawShardInfoOK ¶
type GetRawShardInfoOK struct { ID BlockRaw `json:"id"` Shardblk BlockRaw `json:"shardblk"` ShardProof string `json:"shard_proof"` ShardDescr string `json:"shard_descr"` }
func (*GetRawShardInfoOK) Decode ¶
func (s *GetRawShardInfoOK) Decode(d *jx.Decoder) error
Decode decodes GetRawShardInfoOK from json.
func (*GetRawShardInfoOK) Encode ¶
func (s *GetRawShardInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawShardInfoOK) GetID ¶
func (s *GetRawShardInfoOK) GetID() BlockRaw
GetID returns the value of ID.
func (*GetRawShardInfoOK) GetShardDescr ¶
func (s *GetRawShardInfoOK) GetShardDescr() string
GetShardDescr returns the value of ShardDescr.
func (*GetRawShardInfoOK) GetShardProof ¶
func (s *GetRawShardInfoOK) GetShardProof() string
GetShardProof returns the value of ShardProof.
func (*GetRawShardInfoOK) GetShardblk ¶
func (s *GetRawShardInfoOK) GetShardblk() BlockRaw
GetShardblk returns the value of Shardblk.
func (*GetRawShardInfoOK) MarshalJSON ¶
func (s *GetRawShardInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawShardInfoOK) SetID ¶
func (s *GetRawShardInfoOK) SetID(val BlockRaw)
SetID sets the value of ID.
func (*GetRawShardInfoOK) SetShardDescr ¶
func (s *GetRawShardInfoOK) SetShardDescr(val string)
SetShardDescr sets the value of ShardDescr.
func (*GetRawShardInfoOK) SetShardProof ¶
func (s *GetRawShardInfoOK) SetShardProof(val string)
SetShardProof sets the value of ShardProof.
func (*GetRawShardInfoOK) SetShardblk ¶
func (s *GetRawShardInfoOK) SetShardblk(val BlockRaw)
SetShardblk sets the value of Shardblk.
func (*GetRawShardInfoOK) UnmarshalJSON ¶
func (s *GetRawShardInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawShardInfoParams ¶
type GetRawShardInfoParams struct { // Block ID: (workchain,shard,seqno,root_hash,file_hash). BlockID string // Workchain. Workchain uint32 // Shard. Shard uint64 // Exact. Exact bool }
GetRawShardInfoParams is parameters of getRawShardInfo operation.
type GetRawTimeOK ¶
type GetRawTimeOK struct {
Time uint32 `json:"time"`
}
func (*GetRawTimeOK) Decode ¶
func (s *GetRawTimeOK) Decode(d *jx.Decoder) error
Decode decodes GetRawTimeOK from json.
func (*GetRawTimeOK) Encode ¶
func (s *GetRawTimeOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawTimeOK) GetTime ¶
func (s *GetRawTimeOK) GetTime() uint32
GetTime returns the value of Time.
func (*GetRawTimeOK) MarshalJSON ¶
func (s *GetRawTimeOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawTimeOK) SetTime ¶
func (s *GetRawTimeOK) SetTime(val uint32)
SetTime sets the value of Time.
func (*GetRawTimeOK) UnmarshalJSON ¶
func (s *GetRawTimeOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type GetRawTransactionsOK ¶
type GetRawTransactionsOK struct { Ids []BlockRaw `json:"ids"` Transactions string `json:"transactions"` }
func (*GetRawTransactionsOK) Decode ¶
func (s *GetRawTransactionsOK) Decode(d *jx.Decoder) error
Decode decodes GetRawTransactionsOK from json.
func (*GetRawTransactionsOK) Encode ¶
func (s *GetRawTransactionsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetRawTransactionsOK) GetIds ¶
func (s *GetRawTransactionsOK) GetIds() []BlockRaw
GetIds returns the value of Ids.
func (*GetRawTransactionsOK) GetTransactions ¶
func (s *GetRawTransactionsOK) GetTransactions() string
GetTransactions returns the value of Transactions.
func (*GetRawTransactionsOK) MarshalJSON ¶
func (s *GetRawTransactionsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetRawTransactionsOK) SetIds ¶
func (s *GetRawTransactionsOK) SetIds(val []BlockRaw)
SetIds sets the value of Ids.
func (*GetRawTransactionsOK) SetTransactions ¶
func (s *GetRawTransactionsOK) SetTransactions(val string)
SetTransactions sets the value of Transactions.
func (*GetRawTransactionsOK) UnmarshalJSON ¶
func (s *GetRawTransactionsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetRawTransactionsOK) Validate ¶
func (s *GetRawTransactionsOK) Validate() error
type GetRawTransactionsParams ¶
type GetRawTransactionsParams struct { // Account ID. AccountID string // Count. Count uint32 // Lt. Lt uint64 // Hash. Hash string }
GetRawTransactionsParams is parameters of getRawTransactions operation.
type GetStakingPoolHistoryOK ¶
type GetStakingPoolHistoryOK struct {
Apy []ApyHistory `json:"apy"`
}
func (*GetStakingPoolHistoryOK) Decode ¶
func (s *GetStakingPoolHistoryOK) Decode(d *jx.Decoder) error
Decode decodes GetStakingPoolHistoryOK from json.
func (*GetStakingPoolHistoryOK) Encode ¶
func (s *GetStakingPoolHistoryOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStakingPoolHistoryOK) GetApy ¶
func (s *GetStakingPoolHistoryOK) GetApy() []ApyHistory
GetApy returns the value of Apy.
func (*GetStakingPoolHistoryOK) MarshalJSON ¶
func (s *GetStakingPoolHistoryOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStakingPoolHistoryOK) SetApy ¶
func (s *GetStakingPoolHistoryOK) SetApy(val []ApyHistory)
SetApy sets the value of Apy.
func (*GetStakingPoolHistoryOK) UnmarshalJSON ¶
func (s *GetStakingPoolHistoryOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStakingPoolHistoryOK) Validate ¶
func (s *GetStakingPoolHistoryOK) Validate() error
type GetStakingPoolHistoryParams ¶
type GetStakingPoolHistoryParams struct { // Account ID. AccountID string }
GetStakingPoolHistoryParams is parameters of getStakingPoolHistory operation.
type GetStakingPoolInfoOK ¶
type GetStakingPoolInfoOK struct { Implementation PoolImplementation `json:"implementation"` Pool PoolInfo `json:"pool"` }
func (*GetStakingPoolInfoOK) Decode ¶
func (s *GetStakingPoolInfoOK) Decode(d *jx.Decoder) error
Decode decodes GetStakingPoolInfoOK from json.
func (*GetStakingPoolInfoOK) Encode ¶
func (s *GetStakingPoolInfoOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStakingPoolInfoOK) GetImplementation ¶
func (s *GetStakingPoolInfoOK) GetImplementation() PoolImplementation
GetImplementation returns the value of Implementation.
func (*GetStakingPoolInfoOK) GetPool ¶
func (s *GetStakingPoolInfoOK) GetPool() PoolInfo
GetPool returns the value of Pool.
func (*GetStakingPoolInfoOK) MarshalJSON ¶
func (s *GetStakingPoolInfoOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStakingPoolInfoOK) SetImplementation ¶
func (s *GetStakingPoolInfoOK) SetImplementation(val PoolImplementation)
SetImplementation sets the value of Implementation.
func (*GetStakingPoolInfoOK) SetPool ¶
func (s *GetStakingPoolInfoOK) SetPool(val PoolInfo)
SetPool sets the value of Pool.
func (*GetStakingPoolInfoOK) UnmarshalJSON ¶
func (s *GetStakingPoolInfoOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStakingPoolInfoOK) Validate ¶
func (s *GetStakingPoolInfoOK) Validate() error
type GetStakingPoolInfoParams ¶
GetStakingPoolInfoParams is parameters of getStakingPoolInfo operation.
type GetStakingPoolsOK ¶
type GetStakingPoolsOK struct { Pools []PoolInfo `json:"pools"` Implementations GetStakingPoolsOKImplementations `json:"implementations"` }
func (*GetStakingPoolsOK) Decode ¶
func (s *GetStakingPoolsOK) Decode(d *jx.Decoder) error
Decode decodes GetStakingPoolsOK from json.
func (*GetStakingPoolsOK) Encode ¶
func (s *GetStakingPoolsOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*GetStakingPoolsOK) GetImplementations ¶
func (s *GetStakingPoolsOK) GetImplementations() GetStakingPoolsOKImplementations
GetImplementations returns the value of Implementations.
func (*GetStakingPoolsOK) GetPools ¶
func (s *GetStakingPoolsOK) GetPools() []PoolInfo
GetPools returns the value of Pools.
func (*GetStakingPoolsOK) MarshalJSON ¶
func (s *GetStakingPoolsOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStakingPoolsOK) SetImplementations ¶
func (s *GetStakingPoolsOK) SetImplementations(val GetStakingPoolsOKImplementations)
SetImplementations sets the value of Implementations.
func (*GetStakingPoolsOK) SetPools ¶
func (s *GetStakingPoolsOK) SetPools(val []PoolInfo)
SetPools sets the value of Pools.
func (*GetStakingPoolsOK) UnmarshalJSON ¶
func (s *GetStakingPoolsOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*GetStakingPoolsOK) Validate ¶
func (s *GetStakingPoolsOK) Validate() error
type GetStakingPoolsOKImplementations ¶
type GetStakingPoolsOKImplementations map[string]PoolImplementation
func (*GetStakingPoolsOKImplementations) Decode ¶
func (s *GetStakingPoolsOKImplementations) Decode(d *jx.Decoder) error
Decode decodes GetStakingPoolsOKImplementations from json.
func (GetStakingPoolsOKImplementations) Encode ¶
func (s GetStakingPoolsOKImplementations) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (GetStakingPoolsOKImplementations) MarshalJSON ¶
func (s GetStakingPoolsOKImplementations) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*GetStakingPoolsOKImplementations) UnmarshalJSON ¶
func (s *GetStakingPoolsOKImplementations) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (GetStakingPoolsOKImplementations) Validate ¶
func (s GetStakingPoolsOKImplementations) Validate() error
type GetStakingPoolsParams ¶
type GetStakingPoolsParams struct { // Account ID. AvailableFor OptString // Return also pools not from white list - just compatible by interfaces (maybe dangerous!). IncludeUnverified OptBool AcceptLanguage OptString }
GetStakingPoolsParams is parameters of getStakingPools operation.
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 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 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 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 GetWalletsByPublicKeyParams ¶
type GetWalletsByPublicKeyParams struct {
PublicKey string
}
GetWalletsByPublicKeyParams is parameters of getWalletsByPublicKey operation.
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) GetURL ¶
func (s *ImagePreview) GetURL() string
GetURL returns the value of URL.
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 ¶
type InitStateRaw struct { Workchain uint32 `json:"workchain"` RootHash string `json:"root_hash"` FileHash string `json:"file_hash"` }
Ref: #/components/schemas/InitStateRaw
func (*InitStateRaw) Decode ¶
func (s *InitStateRaw) Decode(d *jx.Decoder) error
Decode decodes InitStateRaw from json.
func (*InitStateRaw) Encode ¶
func (s *InitStateRaw) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*InitStateRaw) GetFileHash ¶
func (s *InitStateRaw) GetFileHash() string
GetFileHash returns the value of FileHash.
func (*InitStateRaw) GetRootHash ¶
func (s *InitStateRaw) GetRootHash() string
GetRootHash returns the value of RootHash.
func (*InitStateRaw) GetWorkchain ¶
func (s *InitStateRaw) GetWorkchain() uint32
GetWorkchain returns the value of Workchain.
func (*InitStateRaw) MarshalJSON ¶
func (s *InitStateRaw) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*InitStateRaw) SetFileHash ¶
func (s *InitStateRaw) SetFileHash(val string)
SetFileHash sets the value of FileHash.
func (*InitStateRaw) SetRootHash ¶
func (s *InitStateRaw) SetRootHash(val string)
SetRootHash sets the value of RootHash.
func (*InitStateRaw) SetWorkchain ¶
func (s *InitStateRaw) SetWorkchain(val uint32)
SetWorkchain sets the value of Workchain.
func (*InitStateRaw) UnmarshalJSON ¶
func (s *InitStateRaw) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Invoker ¶
type Invoker interface { // AccountDnsBackResolve invokes accountDnsBackResolve operation. // // Get account's domains. // // GET /v2/accounts/{account_id}/dns/backresolve AccountDnsBackResolve(ctx context.Context, params AccountDnsBackResolveParams) (*DomainNames, error) // AddressParse invokes addressParse operation. // // Parse address and display in all formats. // // GET /v2/address/{account_id}/parse AddressParse(ctx context.Context, params AddressParseParams) (*AddressParseOK, error) // BlockchainAccountInspect invokes blockchainAccountInspect operation. // // Blockchain account inspect. // // GET /v2/blockchain/accounts/{account_id}/inspect BlockchainAccountInspect(ctx context.Context, params BlockchainAccountInspectParams) (*BlockchainAccountInspect, error) // DecodeMessage invokes decodeMessage operation. // // Decode a given message. Only external incoming messages can be decoded currently. // // POST /v2/message/decode DecodeMessage(ctx context.Context, request *DecodeMessageReq) (*DecodedMessage, error) // DnsResolve invokes dnsResolve operation. // // DNS resolve for domain name. // // GET /v2/dns/{domain_name}/resolve DnsResolve(ctx context.Context, params DnsResolveParams) (*DnsRecord, error) // EmulateMessageToAccountEvent invokes emulateMessageToAccountEvent operation. // // Emulate sending message to blockchain. // // POST /v2/accounts/{account_id}/events/emulate EmulateMessageToAccountEvent(ctx context.Context, request *EmulateMessageToAccountEventReq, params EmulateMessageToAccountEventParams) (*AccountEvent, error) // EmulateMessageToEvent invokes emulateMessageToEvent operation. // // Emulate sending message to blockchain. // // POST /v2/events/emulate EmulateMessageToEvent(ctx context.Context, request *EmulateMessageToEventReq, params EmulateMessageToEventParams) (*Event, error) // EmulateMessageToTrace invokes emulateMessageToTrace operation. // // Emulate sending message to blockchain. // // POST /v2/traces/emulate EmulateMessageToTrace(ctx context.Context, request *EmulateMessageToTraceReq, params EmulateMessageToTraceParams) (*Trace, error) // EmulateMessageToWallet invokes emulateMessageToWallet operation. // // Emulate sending message to blockchain. // // POST /v2/wallet/emulate EmulateMessageToWallet(ctx context.Context, request *EmulateMessageToWalletReq, params EmulateMessageToWalletParams) (*MessageConsequences, error) // ExecGetMethodForBlockchainAccount invokes execGetMethodForBlockchainAccount operation. // // Execute get method for account. // // GET /v2/blockchain/accounts/{account_id}/methods/{method_name} ExecGetMethodForBlockchainAccount(ctx context.Context, params ExecGetMethodForBlockchainAccountParams) (*MethodExecutionResult, error) // GetAccount invokes getAccount operation. // // Get human-friendly information about an account without low-level details. // // GET /v2/accounts/{account_id} GetAccount(ctx context.Context, params GetAccountParams) (*Account, error) // GetAccountDiff invokes getAccountDiff operation. // // Get account's balance change. // // GET /v2/accounts/{account_id}/diff GetAccountDiff(ctx context.Context, params GetAccountDiffParams) (*GetAccountDiffOK, error) // GetAccountDnsExpiring invokes getAccountDnsExpiring operation. // // Get expiring account .ton dns. // // GET /v2/accounts/{account_id}/dns/expiring GetAccountDnsExpiring(ctx context.Context, params GetAccountDnsExpiringParams) (*DnsExpiring, error) // GetAccountEvent invokes getAccountEvent operation. // // Get event for an account by event_id. // // GET /v2/accounts/{account_id}/events/{event_id} GetAccountEvent(ctx context.Context, params GetAccountEventParams) (*AccountEvent, error) // GetAccountEvents invokes getAccountEvents 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 GetAccountEvents(ctx context.Context, params GetAccountEventsParams) (*AccountEvents, error) // GetAccountInfoByStateInit invokes getAccountInfoByStateInit operation. // // Get account info by state init. // // POST /v2/tonconnect/stateinit GetAccountInfoByStateInit(ctx context.Context, request *GetAccountInfoByStateInitReq) (*AccountInfoByStateInit, error) // GetAccountJettonHistoryByID invokes getAccountJettonHistoryByID operation. // // Get the transfer jetton history for account and jetton. // // GET /v2/accounts/{account_id}/jettons/{jetton_id}/history GetAccountJettonHistoryByID(ctx context.Context, params GetAccountJettonHistoryByIDParams) (*AccountEvents, error) // GetAccountJettonsBalances invokes getAccountJettonsBalances operation. // // Get all Jettons balances by owner address. // // GET /v2/accounts/{account_id}/jettons GetAccountJettonsBalances(ctx context.Context, params GetAccountJettonsBalancesParams) (*JettonsBalances, error) // GetAccountJettonsHistory invokes getAccountJettonsHistory operation. // // Get the transfer jettons history for account. // // GET /v2/accounts/{account_id}/jettons/history GetAccountJettonsHistory(ctx context.Context, params GetAccountJettonsHistoryParams) (*AccountEvents, error) // GetAccountNftHistory invokes getAccountNftHistory operation. // // Get the transfer nft history. // // GET /v2/accounts/{account_id}/nfts/history GetAccountNftHistory(ctx context.Context, params GetAccountNftHistoryParams) (*AccountEvents, error) // GetAccountNftItems invokes getAccountNftItems operation. // // Get all NFT items by owner address. // // GET /v2/accounts/{account_id}/nfts GetAccountNftItems(ctx context.Context, params GetAccountNftItemsParams) (*NftItems, error) // GetAccountNominatorsPools invokes getAccountNominatorsPools operation. // // All pools where account participates. // // GET /v2/staking/nominator/{account_id}/pools GetAccountNominatorsPools(ctx context.Context, params GetAccountNominatorsPoolsParams) (*AccountStaking, error) // GetAccountPublicKey invokes getAccountPublicKey operation. // // Get public key by account id. // // GET /v2/accounts/{account_id}/publickey GetAccountPublicKey(ctx context.Context, params GetAccountPublicKeyParams) (*GetAccountPublicKeyOK, error) // GetAccountSeqno invokes getAccountSeqno operation. // // Get account seqno. // // GET /v2/wallet/{account_id}/seqno GetAccountSeqno(ctx context.Context, params GetAccountSeqnoParams) (*Seqno, error) // GetAccountSubscriptions invokes getAccountSubscriptions operation. // // Get all subscriptions by wallet address. // // GET /v2/accounts/{account_id}/subscriptions GetAccountSubscriptions(ctx context.Context, params GetAccountSubscriptionsParams) (*Subscriptions, error) // GetAccountTraces invokes getAccountTraces operation. // // Get traces for account. // // GET /v2/accounts/{account_id}/traces GetAccountTraces(ctx context.Context, params GetAccountTracesParams) (*TraceIDs, error) // GetAccounts invokes getAccounts operation. // // Get human-friendly information about several accounts without low-level details. // // POST /v2/accounts/_bulk GetAccounts(ctx context.Context, request OptGetAccountsReq) (*Accounts, error) // GetAllAuctions invokes getAllAuctions operation. // // Get all auctions. // // GET /v2/dns/auctions GetAllAuctions(ctx context.Context, params GetAllAuctionsParams) (*Auctions, error) // GetAllRawShardsInfo invokes getAllRawShardsInfo operation. // // Get all raw shards info. // // GET /v2/liteserver/get_all_shards_info/{block_id} GetAllRawShardsInfo(ctx context.Context, params GetAllRawShardsInfoParams) (*GetAllRawShardsInfoOK, error) // GetBlockchainAccountTransactions invokes getBlockchainAccountTransactions operation. // // Get account transactions. // // GET /v2/blockchain/accounts/{account_id}/transactions GetBlockchainAccountTransactions(ctx context.Context, params GetBlockchainAccountTransactionsParams) (*Transactions, error) // GetBlockchainBlock invokes getBlockchainBlock operation. // // Get blockchain block data. // // GET /v2/blockchain/blocks/{block_id} GetBlockchainBlock(ctx context.Context, params GetBlockchainBlockParams) (*BlockchainBlock, error) // GetBlockchainBlockTransactions invokes getBlockchainBlockTransactions operation. // // Get transactions from block. // // GET /v2/blockchain/blocks/{block_id}/transactions GetBlockchainBlockTransactions(ctx context.Context, params GetBlockchainBlockTransactionsParams) (*Transactions, error) // GetBlockchainConfig invokes getBlockchainConfig operation. // // Get blockchain config. // // GET /v2/blockchain/config GetBlockchainConfig(ctx context.Context) (*BlockchainConfig, error) // GetBlockchainConfigFromBlock invokes getBlockchainConfigFromBlock operation. // // Get blockchain config from a specific block, if present. // // GET /v2/blockchain/masterchain/{masterchain_seqno}/config GetBlockchainConfigFromBlock(ctx context.Context, params GetBlockchainConfigFromBlockParams) (*BlockchainConfig, error) // GetBlockchainMasterchainHead invokes getBlockchainMasterchainHead operation. // // Get last known masterchain block. // // GET /v2/blockchain/masterchain-head GetBlockchainMasterchainHead(ctx context.Context) (*BlockchainBlock, error) // GetBlockchainMasterchainShards invokes getBlockchainMasterchainShards operation. // // Get blockchain block shards. // // GET /v2/blockchain/masterchain/{masterchain_seqno}/shards GetBlockchainMasterchainShards(ctx context.Context, params GetBlockchainMasterchainShardsParams) (*BlockchainBlockShards, error) // GetBlockchainRawAccount invokes getBlockchainRawAccount operation. // // Get low-level information about an account taken directly from the blockchain. // // GET /v2/blockchain/accounts/{account_id} GetBlockchainRawAccount(ctx context.Context, params GetBlockchainRawAccountParams) (*BlockchainRawAccount, error) // GetBlockchainTransaction invokes getBlockchainTransaction operation. // // Get transaction data. // // GET /v2/blockchain/transactions/{transaction_id} GetBlockchainTransaction(ctx context.Context, params GetBlockchainTransactionParams) (*Transaction, error) // GetBlockchainTransactionByMessageHash invokes getBlockchainTransactionByMessageHash operation. // // Get transaction data by message hash. // // GET /v2/blockchain/messages/{msg_id}/transaction GetBlockchainTransactionByMessageHash(ctx context.Context, params GetBlockchainTransactionByMessageHashParams) (*Transaction, error) // GetBlockchainValidators invokes getBlockchainValidators operation. // // Get blockchain validators. // // GET /v2/blockchain/validators GetBlockchainValidators(ctx context.Context) (*Validators, error) // GetChartRates invokes getChartRates operation. // // Get chart by token. // // GET /v2/rates/chart GetChartRates(ctx context.Context, params GetChartRatesParams) (*GetChartRatesOK, error) // GetDnsInfo invokes getDnsInfo operation. // // Get full information about domain name. // // GET /v2/dns/{domain_name} GetDnsInfo(ctx context.Context, params GetDnsInfoParams) (*DomainInfo, error) // GetDomainBids invokes getDomainBids operation. // // Get domain bids. // // GET /v2/dns/{domain_name}/bids GetDomainBids(ctx context.Context, params GetDomainBidsParams) (*DomainBids, 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} GetEvent(ctx context.Context, params GetEventParams) (*Event, error) // GetItemsFromCollection invokes getItemsFromCollection operation. // // Get NFT items from collection by collection address. // // GET /v2/nfts/collections/{account_id}/items GetItemsFromCollection(ctx context.Context, params GetItemsFromCollectionParams) (*NftItems, error) // GetJettonHolders invokes getJettonHolders operation. // // Get jetton's holders. // // GET /v2/jettons/{account_id}/holders GetJettonHolders(ctx context.Context, params GetJettonHoldersParams) (*JettonHolders, error) // GetJettonInfo invokes getJettonInfo operation. // // Get jetton metadata by jetton master address. // // GET /v2/jettons/{account_id} GetJettonInfo(ctx context.Context, params GetJettonInfoParams) (*JettonInfo, error) // GetJettons invokes getJettons operation. // // Get a list of all indexed jetton masters in the blockchain. // // GET /v2/jettons GetJettons(ctx context.Context, params GetJettonsParams) (*Jettons, error) // GetJettonsEvents invokes getJettonsEvents operation. // // Get only jetton transfers in the event. // // GET /v2/events/{event_id}/jettons GetJettonsEvents(ctx context.Context, params GetJettonsEventsParams) (*Event, error) // GetNftCollection invokes getNftCollection operation. // // Get NFT collection by collection address. // // GET /v2/nfts/collections/{account_id} GetNftCollection(ctx context.Context, params GetNftCollectionParams) (*NftCollection, error) // GetNftCollections invokes getNftCollections operation. // // Get NFT collections. // // GET /v2/nfts/collections GetNftCollections(ctx context.Context, params GetNftCollectionsParams) (*NftCollections, error) // GetNftHistoryByID invokes getNftHistoryByID operation. // // Get the transfer nfts history for account. // // GET /v2/nfts/{account_id}/history GetNftHistoryByID(ctx context.Context, params GetNftHistoryByIDParams) (*AccountEvents, error) // GetNftItemByAddress invokes getNftItemByAddress operation. // // Get NFT item by its address. // // GET /v2/nfts/{account_id} GetNftItemByAddress(ctx context.Context, params GetNftItemByAddressParams) (*NftItem, error) // GetNftItemsByAddresses invokes getNftItemsByAddresses operation. // // Get NFT items by their addresses. // // POST /v2/nfts/_bulk GetNftItemsByAddresses(ctx context.Context, request OptGetNftItemsByAddressesReq) (*NftItems, error) // GetRates invokes getRates operation. // // Get the token price to the currency. // // GET /v2/rates GetRates(ctx context.Context, params GetRatesParams) (*GetRatesOK, error) // GetRawAccountState invokes getRawAccountState operation. // // Get raw account state. // // GET /v2/liteserver/get_account_state/{account_id} GetRawAccountState(ctx context.Context, params GetRawAccountStateParams) (*GetRawAccountStateOK, error) // GetRawBlockProof invokes getRawBlockProof operation. // // Get raw block proof. // // GET /v2/liteserver/get_block_proof GetRawBlockProof(ctx context.Context, params GetRawBlockProofParams) (*GetRawBlockProofOK, error) // GetRawBlockchainBlock invokes getRawBlockchainBlock operation. // // Get raw blockchain block. // // GET /v2/liteserver/get_block/{block_id} GetRawBlockchainBlock(ctx context.Context, params GetRawBlockchainBlockParams) (*GetRawBlockchainBlockOK, error) // GetRawBlockchainBlockHeader invokes getRawBlockchainBlockHeader operation. // // Get raw blockchain block header. // // GET /v2/liteserver/get_block_header/{block_id} GetRawBlockchainBlockHeader(ctx context.Context, params GetRawBlockchainBlockHeaderParams) (*GetRawBlockchainBlockHeaderOK, error) // GetRawBlockchainBlockState invokes getRawBlockchainBlockState operation. // // Get raw blockchain block state. // // GET /v2/liteserver/get_state/{block_id} GetRawBlockchainBlockState(ctx context.Context, params GetRawBlockchainBlockStateParams) (*GetRawBlockchainBlockStateOK, error) // GetRawBlockchainConfig invokes getRawBlockchainConfig operation. // // Get raw blockchain config. // // GET /v2/blockchain/config/raw GetRawBlockchainConfig(ctx context.Context) (*RawBlockchainConfig, error) // GetRawBlockchainConfigFromBlock invokes getRawBlockchainConfigFromBlock operation. // // Get raw blockchain config from a specific block, if present. // // GET /v2/blockchain/masterchain/{masterchain_seqno}/config/raw GetRawBlockchainConfigFromBlock(ctx context.Context, params GetRawBlockchainConfigFromBlockParams) (*RawBlockchainConfig, error) // GetRawConfig invokes getRawConfig operation. // // Get raw config. // // GET /v2/liteserver/get_config_all/{block_id} GetRawConfig(ctx context.Context, params GetRawConfigParams) (*GetRawConfigOK, error) // GetRawListBlockTransactions invokes getRawListBlockTransactions operation. // // Get raw list block transactions. // // GET /v2/liteserver/list_block_transactions/{block_id} GetRawListBlockTransactions(ctx context.Context, params GetRawListBlockTransactionsParams) (*GetRawListBlockTransactionsOK, error) // GetRawMasterchainInfo invokes getRawMasterchainInfo operation. // // Get raw masterchain info. // // GET /v2/liteserver/get_masterchain_info GetRawMasterchainInfo(ctx context.Context) (*GetRawMasterchainInfoOK, error) // GetRawMasterchainInfoExt invokes getRawMasterchainInfoExt operation. // // Get raw masterchain info ext. // // GET /v2/liteserver/get_masterchain_info_ext GetRawMasterchainInfoExt(ctx context.Context, params GetRawMasterchainInfoExtParams) (*GetRawMasterchainInfoExtOK, error) // GetRawShardBlockProof invokes getRawShardBlockProof operation. // // Get raw shard block proof. // // GET /v2/liteserver/get_shard_block_proof/{block_id} GetRawShardBlockProof(ctx context.Context, params GetRawShardBlockProofParams) (*GetRawShardBlockProofOK, error) // GetRawShardInfo invokes getRawShardInfo operation. // // Get raw shard info. // // GET /v2/liteserver/get_shard_info/{block_id} GetRawShardInfo(ctx context.Context, params GetRawShardInfoParams) (*GetRawShardInfoOK, error) // GetRawTime invokes getRawTime operation. // // Get raw time. // // GET /v2/liteserver/get_time GetRawTime(ctx context.Context) (*GetRawTimeOK, error) // GetRawTransactions invokes getRawTransactions operation. // // Get raw transactions. // // GET /v2/liteserver/get_transactions/{account_id} GetRawTransactions(ctx context.Context, params GetRawTransactionsParams) (*GetRawTransactionsOK, error) // GetStakingPoolHistory invokes getStakingPoolHistory operation. // // Pool history. // // GET /v2/staking/pool/{account_id}/history GetStakingPoolHistory(ctx context.Context, params GetStakingPoolHistoryParams) (*GetStakingPoolHistoryOK, error) // GetStakingPoolInfo invokes getStakingPoolInfo operation. // // Stacking pool info. // // GET /v2/staking/pool/{account_id} GetStakingPoolInfo(ctx context.Context, params GetStakingPoolInfoParams) (*GetStakingPoolInfoOK, error) // GetStakingPools invokes getStakingPools operation. // // All pools available in network. // // GET /v2/staking/pools GetStakingPools(ctx context.Context, params GetStakingPoolsParams) (*GetStakingPoolsOK, error) // GetStorageProviders invokes getStorageProviders operation. // // Get TON storage providers deployed to the blockchain. // // GET /v2/storage/providers GetStorageProviders(ctx context.Context) (*GetStorageProvidersOK, error) // GetTonConnectPayload invokes getTonConnectPayload operation. // // Get a payload for further token receipt. // // GET /v2/tonconnect/payload GetTonConnectPayload(ctx context.Context) (*GetTonConnectPayloadOK, error) // GetTrace invokes 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) (*Trace, error) // GetWalletBackup invokes getWalletBackup operation. // // Get backup info. // // GET /v2/wallet/backup GetWalletBackup(ctx context.Context, params GetWalletBackupParams) (*GetWalletBackupOK, error) // GetWalletsByPublicKey invokes getWalletsByPublicKey operation. // // Get wallets by public key. // // GET /v2/pubkeys/{public_key}/wallets GetWalletsByPublicKey(ctx context.Context, params GetWalletsByPublicKeyParams) (*Accounts, error) // ReindexAccount invokes reindexAccount operation. // // Update internal cache for a particular account. // // POST /v2/accounts/{account_id}/reindex ReindexAccount(ctx context.Context, params ReindexAccountParams) error // SearchAccounts invokes searchAccounts operation. // // Search by account domain name. // // GET /v2/accounts/search SearchAccounts(ctx context.Context, params SearchAccountsParams) (*FoundAccounts, error) // SendBlockchainMessage invokes sendBlockchainMessage operation. // // Send message to blockchain. // // POST /v2/blockchain/message SendBlockchainMessage(ctx context.Context, request *SendBlockchainMessageReq) error // SendRawMessage invokes sendRawMessage operation. // // Send raw message to blockchain. // // POST /v2/liteserver/send_message SendRawMessage(ctx context.Context, request *SendRawMessageReq) (*SendRawMessageOK, error) // SetWalletBackup invokes setWalletBackup operation. // // Set backup info. // // PUT /v2/wallet/backup SetWalletBackup(ctx context.Context, request SetWalletBackupReq, params SetWalletBackupParams) error // TonConnectProof invokes tonConnectProof operation. // // Account verification and token issuance. // // POST /v2/wallet/auth/proof TonConnectProof(ctx context.Context, request *TonConnectProofReq) (*TonConnectProofOK, error) }
Invoker invokes operations described by OpenAPI v3 specification.
type JettonBalance ¶
type JettonBalance struct { Balance string `json:"balance"` Price OptTokenRates `json:"price"` 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) GetPrice ¶
func (s *JettonBalance) GetPrice() OptTokenRates
GetPrice returns the value of Price.
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) SetPrice ¶
func (s *JettonBalance) SetPrice(val OptTokenRates)
SetPrice sets the value of Price.
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 JettonBridgeParams ¶
type JettonBridgeParams struct { BridgeAddress string `json:"bridge_address"` OraclesAddress string `json:"oracles_address"` StateFlags int `json:"state_flags"` BurnBridgeFee OptInt64 `json:"burn_bridge_fee"` Oracles []Oracle `json:"oracles"` ExternalChainAddress OptString `json:"external_chain_address"` Prices OptJettonBridgePrices `json:"prices"` }
Ref: #/components/schemas/JettonBridgeParams
func (*JettonBridgeParams) Decode ¶
func (s *JettonBridgeParams) Decode(d *jx.Decoder) error
Decode decodes JettonBridgeParams from json.
func (*JettonBridgeParams) Encode ¶
func (s *JettonBridgeParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonBridgeParams) GetBridgeAddress ¶
func (s *JettonBridgeParams) GetBridgeAddress() string
GetBridgeAddress returns the value of BridgeAddress.
func (*JettonBridgeParams) GetBurnBridgeFee ¶
func (s *JettonBridgeParams) GetBurnBridgeFee() OptInt64
GetBurnBridgeFee returns the value of BurnBridgeFee.
func (*JettonBridgeParams) GetExternalChainAddress ¶
func (s *JettonBridgeParams) GetExternalChainAddress() OptString
GetExternalChainAddress returns the value of ExternalChainAddress.
func (*JettonBridgeParams) GetOracles ¶
func (s *JettonBridgeParams) GetOracles() []Oracle
GetOracles returns the value of Oracles.
func (*JettonBridgeParams) GetOraclesAddress ¶
func (s *JettonBridgeParams) GetOraclesAddress() string
GetOraclesAddress returns the value of OraclesAddress.
func (*JettonBridgeParams) GetPrices ¶
func (s *JettonBridgeParams) GetPrices() OptJettonBridgePrices
GetPrices returns the value of Prices.
func (*JettonBridgeParams) GetStateFlags ¶
func (s *JettonBridgeParams) GetStateFlags() int
GetStateFlags returns the value of StateFlags.
func (*JettonBridgeParams) MarshalJSON ¶
func (s *JettonBridgeParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonBridgeParams) SetBridgeAddress ¶
func (s *JettonBridgeParams) SetBridgeAddress(val string)
SetBridgeAddress sets the value of BridgeAddress.
func (*JettonBridgeParams) SetBurnBridgeFee ¶
func (s *JettonBridgeParams) SetBurnBridgeFee(val OptInt64)
SetBurnBridgeFee sets the value of BurnBridgeFee.
func (*JettonBridgeParams) SetExternalChainAddress ¶
func (s *JettonBridgeParams) SetExternalChainAddress(val OptString)
SetExternalChainAddress sets the value of ExternalChainAddress.
func (*JettonBridgeParams) SetOracles ¶
func (s *JettonBridgeParams) SetOracles(val []Oracle)
SetOracles sets the value of Oracles.
func (*JettonBridgeParams) SetOraclesAddress ¶
func (s *JettonBridgeParams) SetOraclesAddress(val string)
SetOraclesAddress sets the value of OraclesAddress.
func (*JettonBridgeParams) SetPrices ¶
func (s *JettonBridgeParams) SetPrices(val OptJettonBridgePrices)
SetPrices sets the value of Prices.
func (*JettonBridgeParams) SetStateFlags ¶
func (s *JettonBridgeParams) SetStateFlags(val int)
SetStateFlags sets the value of StateFlags.
func (*JettonBridgeParams) UnmarshalJSON ¶
func (s *JettonBridgeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonBridgeParams) Validate ¶
func (s *JettonBridgeParams) Validate() error
type JettonBridgePrices ¶
type JettonBridgePrices struct { BridgeBurnFee int64 `json:"bridge_burn_fee"` BridgeMintFee int64 `json:"bridge_mint_fee"` WalletMinTonsForStorage int64 `json:"wallet_min_tons_for_storage"` WalletGasConsumption int64 `json:"wallet_gas_consumption"` MinterMinTonsForStorage int64 `json:"minter_min_tons_for_storage"` DiscoverGasConsumption int64 `json:"discover_gas_consumption"` }
Ref: #/components/schemas/JettonBridgePrices
func (*JettonBridgePrices) Decode ¶
func (s *JettonBridgePrices) Decode(d *jx.Decoder) error
Decode decodes JettonBridgePrices from json.
func (*JettonBridgePrices) Encode ¶
func (s *JettonBridgePrices) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonBridgePrices) GetBridgeBurnFee ¶
func (s *JettonBridgePrices) GetBridgeBurnFee() int64
GetBridgeBurnFee returns the value of BridgeBurnFee.
func (*JettonBridgePrices) GetBridgeMintFee ¶
func (s *JettonBridgePrices) GetBridgeMintFee() int64
GetBridgeMintFee returns the value of BridgeMintFee.
func (*JettonBridgePrices) GetDiscoverGasConsumption ¶
func (s *JettonBridgePrices) GetDiscoverGasConsumption() int64
GetDiscoverGasConsumption returns the value of DiscoverGasConsumption.
func (*JettonBridgePrices) GetMinterMinTonsForStorage ¶
func (s *JettonBridgePrices) GetMinterMinTonsForStorage() int64
GetMinterMinTonsForStorage returns the value of MinterMinTonsForStorage.
func (*JettonBridgePrices) GetWalletGasConsumption ¶
func (s *JettonBridgePrices) GetWalletGasConsumption() int64
GetWalletGasConsumption returns the value of WalletGasConsumption.
func (*JettonBridgePrices) GetWalletMinTonsForStorage ¶
func (s *JettonBridgePrices) GetWalletMinTonsForStorage() int64
GetWalletMinTonsForStorage returns the value of WalletMinTonsForStorage.
func (*JettonBridgePrices) MarshalJSON ¶
func (s *JettonBridgePrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonBridgePrices) SetBridgeBurnFee ¶
func (s *JettonBridgePrices) SetBridgeBurnFee(val int64)
SetBridgeBurnFee sets the value of BridgeBurnFee.
func (*JettonBridgePrices) SetBridgeMintFee ¶
func (s *JettonBridgePrices) SetBridgeMintFee(val int64)
SetBridgeMintFee sets the value of BridgeMintFee.
func (*JettonBridgePrices) SetDiscoverGasConsumption ¶
func (s *JettonBridgePrices) SetDiscoverGasConsumption(val int64)
SetDiscoverGasConsumption sets the value of DiscoverGasConsumption.
func (*JettonBridgePrices) SetMinterMinTonsForStorage ¶
func (s *JettonBridgePrices) SetMinterMinTonsForStorage(val int64)
SetMinterMinTonsForStorage sets the value of MinterMinTonsForStorage.
func (*JettonBridgePrices) SetWalletGasConsumption ¶
func (s *JettonBridgePrices) SetWalletGasConsumption(val int64)
SetWalletGasConsumption sets the value of WalletGasConsumption.
func (*JettonBridgePrices) SetWalletMinTonsForStorage ¶
func (s *JettonBridgePrices) SetWalletMinTonsForStorage(val int64)
SetWalletMinTonsForStorage sets the value of WalletMinTonsForStorage.
func (*JettonBridgePrices) UnmarshalJSON ¶
func (s *JettonBridgePrices) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type JettonBurnAction ¶
type JettonBurnAction struct { Sender AccountAddress `json:"sender"` SendersWallet string `json:"senders_wallet"` // Amount in quanta of tokens. Amount string `json:"amount"` Jetton JettonPreview `json:"jetton"` }
Ref: #/components/schemas/JettonBurnAction
func (*JettonBurnAction) Decode ¶
func (s *JettonBurnAction) Decode(d *jx.Decoder) error
Decode decodes JettonBurnAction from json.
func (*JettonBurnAction) Encode ¶
func (s *JettonBurnAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonBurnAction) GetAmount ¶
func (s *JettonBurnAction) GetAmount() string
GetAmount returns the value of Amount.
func (*JettonBurnAction) GetJetton ¶
func (s *JettonBurnAction) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
func (*JettonBurnAction) GetSender ¶
func (s *JettonBurnAction) GetSender() AccountAddress
GetSender returns the value of Sender.
func (*JettonBurnAction) GetSendersWallet ¶
func (s *JettonBurnAction) GetSendersWallet() string
GetSendersWallet returns the value of SendersWallet.
func (*JettonBurnAction) MarshalJSON ¶
func (s *JettonBurnAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonBurnAction) SetAmount ¶
func (s *JettonBurnAction) SetAmount(val string)
SetAmount sets the value of Amount.
func (*JettonBurnAction) SetJetton ¶
func (s *JettonBurnAction) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
func (*JettonBurnAction) SetSender ¶
func (s *JettonBurnAction) SetSender(val AccountAddress)
SetSender sets the value of Sender.
func (*JettonBurnAction) SetSendersWallet ¶
func (s *JettonBurnAction) SetSendersWallet(val string)
SetSendersWallet sets the value of SendersWallet.
func (*JettonBurnAction) UnmarshalJSON ¶
func (s *JettonBurnAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonBurnAction) Validate ¶
func (s *JettonBurnAction) Validate() error
type JettonHolders ¶
type JettonHolders struct {
Addresses []JettonHoldersAddressesItem `json:"addresses"`
}
Ref: #/components/schemas/JettonHolders
func (*JettonHolders) Decode ¶
func (s *JettonHolders) Decode(d *jx.Decoder) error
Decode decodes JettonHolders from json.
func (*JettonHolders) Encode ¶
func (s *JettonHolders) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonHolders) GetAddresses ¶
func (s *JettonHolders) GetAddresses() []JettonHoldersAddressesItem
GetAddresses returns the value of Addresses.
func (*JettonHolders) MarshalJSON ¶
func (s *JettonHolders) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonHolders) SetAddresses ¶
func (s *JettonHolders) SetAddresses(val []JettonHoldersAddressesItem)
SetAddresses sets the value of Addresses.
func (*JettonHolders) UnmarshalJSON ¶
func (s *JettonHolders) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonHolders) Validate ¶
func (s *JettonHolders) Validate() error
type JettonHoldersAddressesItem ¶
type JettonHoldersAddressesItem struct { Address string `json:"address"` Owner AccountAddress `json:"owner"` Balance string `json:"balance"` }
func (*JettonHoldersAddressesItem) Decode ¶
func (s *JettonHoldersAddressesItem) Decode(d *jx.Decoder) error
Decode decodes JettonHoldersAddressesItem from json.
func (*JettonHoldersAddressesItem) Encode ¶
func (s *JettonHoldersAddressesItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonHoldersAddressesItem) GetAddress ¶
func (s *JettonHoldersAddressesItem) GetAddress() string
GetAddress returns the value of Address.
func (*JettonHoldersAddressesItem) GetBalance ¶
func (s *JettonHoldersAddressesItem) GetBalance() string
GetBalance returns the value of Balance.
func (*JettonHoldersAddressesItem) GetOwner ¶
func (s *JettonHoldersAddressesItem) GetOwner() AccountAddress
GetOwner returns the value of Owner.
func (*JettonHoldersAddressesItem) MarshalJSON ¶
func (s *JettonHoldersAddressesItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonHoldersAddressesItem) SetAddress ¶
func (s *JettonHoldersAddressesItem) SetAddress(val string)
SetAddress sets the value of Address.
func (*JettonHoldersAddressesItem) SetBalance ¶
func (s *JettonHoldersAddressesItem) SetBalance(val string)
SetBalance sets the value of Balance.
func (*JettonHoldersAddressesItem) SetOwner ¶
func (s *JettonHoldersAddressesItem) SetOwner(val AccountAddress)
SetOwner sets the value of Owner.
func (*JettonHoldersAddressesItem) UnmarshalJSON ¶
func (s *JettonHoldersAddressesItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type JettonInfo ¶
type JettonInfo struct { Mintable bool `json:"mintable"` TotalSupply string `json:"total_supply"` Metadata JettonMetadata `json:"metadata"` Verification JettonVerificationType `json:"verification"` HoldersCount int32 `json:"holders_count"` }
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) GetHoldersCount ¶
func (s *JettonInfo) GetHoldersCount() int32
GetHoldersCount returns the value of HoldersCount.
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) SetHoldersCount ¶
func (s *JettonInfo) SetHoldersCount(val int32)
SetHoldersCount sets the value of HoldersCount.
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 JettonMintAction ¶
type JettonMintAction struct { Recipient AccountAddress `json:"recipient"` RecipientsWallet string `json:"recipients_wallet"` // Amount in quanta of tokens. Amount string `json:"amount"` Jetton JettonPreview `json:"jetton"` }
Ref: #/components/schemas/JettonMintAction
func (*JettonMintAction) Decode ¶
func (s *JettonMintAction) Decode(d *jx.Decoder) error
Decode decodes JettonMintAction from json.
func (*JettonMintAction) Encode ¶
func (s *JettonMintAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonMintAction) GetAmount ¶
func (s *JettonMintAction) GetAmount() string
GetAmount returns the value of Amount.
func (*JettonMintAction) GetJetton ¶
func (s *JettonMintAction) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
func (*JettonMintAction) GetRecipient ¶
func (s *JettonMintAction) GetRecipient() AccountAddress
GetRecipient returns the value of Recipient.
func (*JettonMintAction) GetRecipientsWallet ¶
func (s *JettonMintAction) GetRecipientsWallet() string
GetRecipientsWallet returns the value of RecipientsWallet.
func (*JettonMintAction) MarshalJSON ¶
func (s *JettonMintAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonMintAction) SetAmount ¶
func (s *JettonMintAction) SetAmount(val string)
SetAmount sets the value of Amount.
func (*JettonMintAction) SetJetton ¶
func (s *JettonMintAction) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
func (*JettonMintAction) SetRecipient ¶
func (s *JettonMintAction) SetRecipient(val AccountAddress)
SetRecipient sets the value of Recipient.
func (*JettonMintAction) SetRecipientsWallet ¶
func (s *JettonMintAction) SetRecipientsWallet(val string)
SetRecipientsWallet sets the value of RecipientsWallet.
func (*JettonMintAction) UnmarshalJSON ¶
func (s *JettonMintAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonMintAction) Validate ¶
func (s *JettonMintAction) Validate() error
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 JettonSwapAction ¶
type JettonSwapAction struct { Dex JettonSwapActionDex `json:"dex"` AmountIn string `json:"amount_in"` AmountOut string `json:"amount_out"` TonIn OptInt64 `json:"ton_in"` TonOut OptInt64 `json:"ton_out"` UserWallet AccountAddress `json:"user_wallet"` Router AccountAddress `json:"router"` JettonMasterIn OptJettonPreview `json:"jetton_master_in"` JettonMasterOut OptJettonPreview `json:"jetton_master_out"` }
Ref: #/components/schemas/JettonSwapAction
func (*JettonSwapAction) Decode ¶
func (s *JettonSwapAction) Decode(d *jx.Decoder) error
Decode decodes JettonSwapAction from json.
func (*JettonSwapAction) Encode ¶
func (s *JettonSwapAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*JettonSwapAction) GetAmountIn ¶
func (s *JettonSwapAction) GetAmountIn() string
GetAmountIn returns the value of AmountIn.
func (*JettonSwapAction) GetAmountOut ¶
func (s *JettonSwapAction) GetAmountOut() string
GetAmountOut returns the value of AmountOut.
func (*JettonSwapAction) GetDex ¶
func (s *JettonSwapAction) GetDex() JettonSwapActionDex
GetDex returns the value of Dex.
func (*JettonSwapAction) GetJettonMasterIn ¶
func (s *JettonSwapAction) GetJettonMasterIn() OptJettonPreview
GetJettonMasterIn returns the value of JettonMasterIn.
func (*JettonSwapAction) GetJettonMasterOut ¶
func (s *JettonSwapAction) GetJettonMasterOut() OptJettonPreview
GetJettonMasterOut returns the value of JettonMasterOut.
func (*JettonSwapAction) GetRouter ¶
func (s *JettonSwapAction) GetRouter() AccountAddress
GetRouter returns the value of Router.
func (*JettonSwapAction) GetTonIn ¶
func (s *JettonSwapAction) GetTonIn() OptInt64
GetTonIn returns the value of TonIn.
func (*JettonSwapAction) GetTonOut ¶
func (s *JettonSwapAction) GetTonOut() OptInt64
GetTonOut returns the value of TonOut.
func (*JettonSwapAction) GetUserWallet ¶
func (s *JettonSwapAction) GetUserWallet() AccountAddress
GetUserWallet returns the value of UserWallet.
func (*JettonSwapAction) MarshalJSON ¶
func (s *JettonSwapAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*JettonSwapAction) SetAmountIn ¶
func (s *JettonSwapAction) SetAmountIn(val string)
SetAmountIn sets the value of AmountIn.
func (*JettonSwapAction) SetAmountOut ¶
func (s *JettonSwapAction) SetAmountOut(val string)
SetAmountOut sets the value of AmountOut.
func (*JettonSwapAction) SetDex ¶
func (s *JettonSwapAction) SetDex(val JettonSwapActionDex)
SetDex sets the value of Dex.
func (*JettonSwapAction) SetJettonMasterIn ¶
func (s *JettonSwapAction) SetJettonMasterIn(val OptJettonPreview)
SetJettonMasterIn sets the value of JettonMasterIn.
func (*JettonSwapAction) SetJettonMasterOut ¶
func (s *JettonSwapAction) SetJettonMasterOut(val OptJettonPreview)
SetJettonMasterOut sets the value of JettonMasterOut.
func (*JettonSwapAction) SetRouter ¶
func (s *JettonSwapAction) SetRouter(val AccountAddress)
SetRouter sets the value of Router.
func (*JettonSwapAction) SetTonIn ¶
func (s *JettonSwapAction) SetTonIn(val OptInt64)
SetTonIn sets the value of TonIn.
func (*JettonSwapAction) SetTonOut ¶
func (s *JettonSwapAction) SetTonOut(val OptInt64)
SetTonOut sets the value of TonOut.
func (*JettonSwapAction) SetUserWallet ¶
func (s *JettonSwapAction) SetUserWallet(val AccountAddress)
SetUserWallet sets the value of UserWallet.
func (*JettonSwapAction) UnmarshalJSON ¶
func (s *JettonSwapAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonSwapAction) Validate ¶
func (s *JettonSwapAction) Validate() error
type JettonSwapActionDex ¶
type JettonSwapActionDex string
const ( JettonSwapActionDexStonfi JettonSwapActionDex = "stonfi" JettonSwapActionDexDedust JettonSwapActionDex = "dedust" JettonSwapActionDexMegatonfi JettonSwapActionDex = "megatonfi" )
func (JettonSwapActionDex) AllValues ¶
func (JettonSwapActionDex) AllValues() []JettonSwapActionDex
AllValues returns all JettonSwapActionDex values.
func (*JettonSwapActionDex) Decode ¶
func (s *JettonSwapActionDex) Decode(d *jx.Decoder) error
Decode decodes JettonSwapActionDex from json.
func (JettonSwapActionDex) Encode ¶
func (s JettonSwapActionDex) Encode(e *jx.Encoder)
Encode encodes JettonSwapActionDex as json.
func (JettonSwapActionDex) MarshalJSON ¶
func (s JettonSwapActionDex) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (JettonSwapActionDex) MarshalText ¶
func (s JettonSwapActionDex) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*JettonSwapActionDex) UnmarshalJSON ¶
func (s *JettonSwapActionDex) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonSwapActionDex) UnmarshalText ¶
func (s *JettonSwapActionDex) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (JettonSwapActionDex) Validate ¶
func (s JettonSwapActionDex) 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 ¶
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 ¶
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) AllValues ¶
func (JettonVerificationType) AllValues() []JettonVerificationType
AllValues returns all JettonVerificationType values.
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) MarshalText ¶
func (s JettonVerificationType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*JettonVerificationType) UnmarshalJSON ¶
func (s *JettonVerificationType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*JettonVerificationType) UnmarshalText ¶
func (s *JettonVerificationType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (JettonVerificationType) Validate ¶
func (s JettonVerificationType) Validate() error
type Jettons ¶
type Jettons struct {
Jettons []JettonInfo `json:"jettons"`
}
Ref: #/components/schemas/Jettons
func (*Jettons) GetJettons ¶
func (s *Jettons) GetJettons() []JettonInfo
GetJettons returns the value of Jettons.
func (*Jettons) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Jettons) SetJettons ¶
func (s *Jettons) SetJettons(val []JettonInfo)
SetJettons sets the value of Jettons.
func (*Jettons) UnmarshalJSON ¶
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 JsonRPCRequest ¶
type JsonRPCRequest struct { ID uint64 `json:"id,omitempty"` JSONRPC string `json:"jsonrpc,omitempty"` Method string `json:"method,omitempty"` Params []string `json:"params,omitempty"` }
JsonRPCRequest represents a request in the JSON-RPC protocol supported by "/v2/websocket" endpoint.
type JsonRPCResponse ¶
type JsonRPCResponse struct { ID uint64 `json:"id,omitempty"` JSONRPC string `json:"jsonrpc,omitempty"` Method string `json:"method,omitempty"` Result json.RawMessage `json:"result,omitempty"` Params json.RawMessage `json:"params,omitempty"` }
JsonRPCResponse represents a response in the JSON-RPC protocol supported by "/v2/websocket" endpoint.
type MempoolEventData ¶
type MempoolEventData struct {
BOC []byte `json:"boc"`
}
MempoolEventData represents the data part of a new-pending-message event.
type MempoolHandler ¶
type MempoolHandler func(data MempoolEventData)
MempoolHandler is a callback that handles a new mempool event.
type Message ¶
type Message struct { MsgType MessageMsgType `json:"msg_type"` Hash string `json:"hash"` 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) GetInit ¶
func (s *Message) GetInit() OptStateInit
GetInit returns the value of Init.
func (*Message) GetMsgType ¶
func (s *Message) GetMsgType() MessageMsgType
GetMsgType returns the value of MsgType.
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) SetMsgType ¶
func (s *Message) SetMsgType(val MessageMsgType)
SetMsgType sets the value of MsgType.
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 MessageMsgType ¶
type MessageMsgType string
const ( MessageMsgTypeIntMsg MessageMsgType = "int_msg" MessageMsgTypeExtInMsg MessageMsgType = "ext_in_msg" MessageMsgTypeExtOutMsg MessageMsgType = "ext_out_msg" )
func (MessageMsgType) AllValues ¶
func (MessageMsgType) AllValues() []MessageMsgType
AllValues returns all MessageMsgType values.
func (*MessageMsgType) Decode ¶
func (s *MessageMsgType) Decode(d *jx.Decoder) error
Decode decodes MessageMsgType from json.
func (MessageMsgType) Encode ¶
func (s MessageMsgType) Encode(e *jx.Encoder)
Encode encodes MessageMsgType as json.
func (MessageMsgType) MarshalJSON ¶
func (s MessageMsgType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (MessageMsgType) MarshalText ¶
func (s MessageMsgType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*MessageMsgType) UnmarshalJSON ¶
func (s *MessageMsgType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*MessageMsgType) UnmarshalText ¶
func (s *MessageMsgType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (MessageMsgType) Validate ¶
func (s MessageMsgType) 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 MisbehaviourPunishmentConfig ¶
type MisbehaviourPunishmentConfig struct { DefaultFlatFine int64 `json:"default_flat_fine"` DefaultProportionalFine int64 `json:"default_proportional_fine"` SeverityFlatMult int `json:"severity_flat_mult"` SeverityProportionalMult int `json:"severity_proportional_mult"` UnpunishableInterval int `json:"unpunishable_interval"` LongInterval int `json:"long_interval"` LongFlatMult int `json:"long_flat_mult"` LongProportionalMult int `json:"long_proportional_mult"` MediumInterval int `json:"medium_interval"` MediumFlatMult int `json:"medium_flat_mult"` MediumProportionalMult int `json:"medium_proportional_mult"` }
Ref: #/components/schemas/MisbehaviourPunishmentConfig
func (*MisbehaviourPunishmentConfig) Decode ¶
func (s *MisbehaviourPunishmentConfig) Decode(d *jx.Decoder) error
Decode decodes MisbehaviourPunishmentConfig from json.
func (*MisbehaviourPunishmentConfig) Encode ¶
func (s *MisbehaviourPunishmentConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MisbehaviourPunishmentConfig) GetDefaultFlatFine ¶
func (s *MisbehaviourPunishmentConfig) GetDefaultFlatFine() int64
GetDefaultFlatFine returns the value of DefaultFlatFine.
func (*MisbehaviourPunishmentConfig) GetDefaultProportionalFine ¶
func (s *MisbehaviourPunishmentConfig) GetDefaultProportionalFine() int64
GetDefaultProportionalFine returns the value of DefaultProportionalFine.
func (*MisbehaviourPunishmentConfig) GetLongFlatMult ¶
func (s *MisbehaviourPunishmentConfig) GetLongFlatMult() int
GetLongFlatMult returns the value of LongFlatMult.
func (*MisbehaviourPunishmentConfig) GetLongInterval ¶
func (s *MisbehaviourPunishmentConfig) GetLongInterval() int
GetLongInterval returns the value of LongInterval.
func (*MisbehaviourPunishmentConfig) GetLongProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) GetLongProportionalMult() int
GetLongProportionalMult returns the value of LongProportionalMult.
func (*MisbehaviourPunishmentConfig) GetMediumFlatMult ¶
func (s *MisbehaviourPunishmentConfig) GetMediumFlatMult() int
GetMediumFlatMult returns the value of MediumFlatMult.
func (*MisbehaviourPunishmentConfig) GetMediumInterval ¶
func (s *MisbehaviourPunishmentConfig) GetMediumInterval() int
GetMediumInterval returns the value of MediumInterval.
func (*MisbehaviourPunishmentConfig) GetMediumProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) GetMediumProportionalMult() int
GetMediumProportionalMult returns the value of MediumProportionalMult.
func (*MisbehaviourPunishmentConfig) GetSeverityFlatMult ¶
func (s *MisbehaviourPunishmentConfig) GetSeverityFlatMult() int
GetSeverityFlatMult returns the value of SeverityFlatMult.
func (*MisbehaviourPunishmentConfig) GetSeverityProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) GetSeverityProportionalMult() int
GetSeverityProportionalMult returns the value of SeverityProportionalMult.
func (*MisbehaviourPunishmentConfig) GetUnpunishableInterval ¶
func (s *MisbehaviourPunishmentConfig) GetUnpunishableInterval() int
GetUnpunishableInterval returns the value of UnpunishableInterval.
func (*MisbehaviourPunishmentConfig) MarshalJSON ¶
func (s *MisbehaviourPunishmentConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MisbehaviourPunishmentConfig) SetDefaultFlatFine ¶
func (s *MisbehaviourPunishmentConfig) SetDefaultFlatFine(val int64)
SetDefaultFlatFine sets the value of DefaultFlatFine.
func (*MisbehaviourPunishmentConfig) SetDefaultProportionalFine ¶
func (s *MisbehaviourPunishmentConfig) SetDefaultProportionalFine(val int64)
SetDefaultProportionalFine sets the value of DefaultProportionalFine.
func (*MisbehaviourPunishmentConfig) SetLongFlatMult ¶
func (s *MisbehaviourPunishmentConfig) SetLongFlatMult(val int)
SetLongFlatMult sets the value of LongFlatMult.
func (*MisbehaviourPunishmentConfig) SetLongInterval ¶
func (s *MisbehaviourPunishmentConfig) SetLongInterval(val int)
SetLongInterval sets the value of LongInterval.
func (*MisbehaviourPunishmentConfig) SetLongProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) SetLongProportionalMult(val int)
SetLongProportionalMult sets the value of LongProportionalMult.
func (*MisbehaviourPunishmentConfig) SetMediumFlatMult ¶
func (s *MisbehaviourPunishmentConfig) SetMediumFlatMult(val int)
SetMediumFlatMult sets the value of MediumFlatMult.
func (*MisbehaviourPunishmentConfig) SetMediumInterval ¶
func (s *MisbehaviourPunishmentConfig) SetMediumInterval(val int)
SetMediumInterval sets the value of MediumInterval.
func (*MisbehaviourPunishmentConfig) SetMediumProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) SetMediumProportionalMult(val int)
SetMediumProportionalMult sets the value of MediumProportionalMult.
func (*MisbehaviourPunishmentConfig) SetSeverityFlatMult ¶
func (s *MisbehaviourPunishmentConfig) SetSeverityFlatMult(val int)
SetSeverityFlatMult sets the value of SeverityFlatMult.
func (*MisbehaviourPunishmentConfig) SetSeverityProportionalMult ¶
func (s *MisbehaviourPunishmentConfig) SetSeverityProportionalMult(val int)
SetSeverityProportionalMult sets the value of SeverityProportionalMult.
func (*MisbehaviourPunishmentConfig) SetUnpunishableInterval ¶
func (s *MisbehaviourPunishmentConfig) SetUnpunishableInterval(val int)
SetUnpunishableInterval sets the value of UnpunishableInterval.
func (*MisbehaviourPunishmentConfig) UnmarshalJSON ¶
func (s *MisbehaviourPunishmentConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type MsgForwardPrices ¶
type MsgForwardPrices struct { LumpPrice int64 `json:"lump_price"` BitPrice int64 `json:"bit_price"` CellPrice int64 `json:"cell_price"` IhrPriceFactor int64 `json:"ihr_price_factor"` FirstFrac int64 `json:"first_frac"` NextFrac int64 `json:"next_frac"` }
Ref: #/components/schemas/MsgForwardPrices
func (*MsgForwardPrices) Decode ¶
func (s *MsgForwardPrices) Decode(d *jx.Decoder) error
Decode decodes MsgForwardPrices from json.
func (*MsgForwardPrices) Encode ¶
func (s *MsgForwardPrices) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*MsgForwardPrices) GetBitPrice ¶
func (s *MsgForwardPrices) GetBitPrice() int64
GetBitPrice returns the value of BitPrice.
func (*MsgForwardPrices) GetCellPrice ¶
func (s *MsgForwardPrices) GetCellPrice() int64
GetCellPrice returns the value of CellPrice.
func (*MsgForwardPrices) GetFirstFrac ¶
func (s *MsgForwardPrices) GetFirstFrac() int64
GetFirstFrac returns the value of FirstFrac.
func (*MsgForwardPrices) GetIhrPriceFactor ¶
func (s *MsgForwardPrices) GetIhrPriceFactor() int64
GetIhrPriceFactor returns the value of IhrPriceFactor.
func (*MsgForwardPrices) GetLumpPrice ¶
func (s *MsgForwardPrices) GetLumpPrice() int64
GetLumpPrice returns the value of LumpPrice.
func (*MsgForwardPrices) GetNextFrac ¶
func (s *MsgForwardPrices) GetNextFrac() int64
GetNextFrac returns the value of NextFrac.
func (*MsgForwardPrices) MarshalJSON ¶
func (s *MsgForwardPrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*MsgForwardPrices) SetBitPrice ¶
func (s *MsgForwardPrices) SetBitPrice(val int64)
SetBitPrice sets the value of BitPrice.
func (*MsgForwardPrices) SetCellPrice ¶
func (s *MsgForwardPrices) SetCellPrice(val int64)
SetCellPrice sets the value of CellPrice.
func (*MsgForwardPrices) SetFirstFrac ¶
func (s *MsgForwardPrices) SetFirstFrac(val int64)
SetFirstFrac sets the value of FirstFrac.
func (*MsgForwardPrices) SetIhrPriceFactor ¶
func (s *MsgForwardPrices) SetIhrPriceFactor(val int64)
SetIhrPriceFactor sets the value of IhrPriceFactor.
func (*MsgForwardPrices) SetLumpPrice ¶
func (s *MsgForwardPrices) SetLumpPrice(val int64)
SetLumpPrice sets the value of LumpPrice.
func (*MsgForwardPrices) SetNextFrac ¶
func (s *MsgForwardPrices) SetNextFrac(val int64)
SetNextFrac sets the value of NextFrac.
func (*MsgForwardPrices) UnmarshalJSON ¶
func (s *MsgForwardPrices) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type NftApprovedBy ¶
type NftApprovedBy []NftApprovedByItem
func (*NftApprovedBy) Decode ¶
func (s *NftApprovedBy) Decode(d *jx.Decoder) error
Decode decodes NftApprovedBy from json.
func (NftApprovedBy) Encode ¶
func (s NftApprovedBy) Encode(e *jx.Encoder)
Encode encodes NftApprovedBy as json.
func (NftApprovedBy) MarshalJSON ¶
func (s NftApprovedBy) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*NftApprovedBy) UnmarshalJSON ¶
func (s *NftApprovedBy) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (NftApprovedBy) Validate ¶
func (s NftApprovedBy) Validate() error
type NftApprovedByItem ¶
type NftApprovedByItem string
const ( NftApprovedByItemGetgems NftApprovedByItem = "getgems" NftApprovedByItemTonkeeper NftApprovedByItem = "tonkeeper" NftApprovedByItemTonDiamonds NftApprovedByItem = "ton.diamonds" )
func (NftApprovedByItem) AllValues ¶
func (NftApprovedByItem) AllValues() []NftApprovedByItem
AllValues returns all NftApprovedByItem values.
func (*NftApprovedByItem) Decode ¶
func (s *NftApprovedByItem) Decode(d *jx.Decoder) error
Decode decodes NftApprovedByItem from json.
func (NftApprovedByItem) Encode ¶
func (s NftApprovedByItem) Encode(e *jx.Encoder)
Encode encodes NftApprovedByItem as json.
func (NftApprovedByItem) MarshalJSON ¶
func (s NftApprovedByItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NftApprovedByItem) MarshalText ¶
func (s NftApprovedByItem) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NftApprovedByItem) UnmarshalJSON ¶
func (s *NftApprovedByItem) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NftApprovedByItem) UnmarshalText ¶
func (s *NftApprovedByItem) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NftApprovedByItem) Validate ¶
func (s NftApprovedByItem) 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"` Previews []ImagePreview `json:"previews"` ApprovedBy NftApprovedBy `json:"approved_by"` }
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) GetApprovedBy ¶
func (s *NftCollection) GetApprovedBy() NftApprovedBy
GetApprovedBy returns the value of ApprovedBy.
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) GetPreviews ¶
func (s *NftCollection) GetPreviews() []ImagePreview
GetPreviews returns the value of Previews.
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) SetApprovedBy ¶
func (s *NftCollection) SetApprovedBy(val NftApprovedBy)
SetApprovedBy sets the value of ApprovedBy.
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) SetPreviews ¶
func (s *NftCollection) SetPreviews(val []ImagePreview)
SetPreviews sets the value of Previews.
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.
func (*NftCollection) Validate ¶
func (s *NftCollection) Validate() error
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 NftApprovedBy `json:"approved_by"` }
Ref: #/components/schemas/NftItem
func (*NftItem) GetAddress ¶
GetAddress returns the value of Address.
func (*NftItem) GetApprovedBy ¶
func (s *NftItem) GetApprovedBy() NftApprovedBy
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 NftApprovedBy)
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 NftItemCollection ¶
type NftItemCollection struct { Address string `json:"address"` Name string `json:"name"` Description string `json:"description"` }
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) GetDescription ¶
func (s *NftItemCollection) GetDescription() string
GetDescription returns the value of Description.
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) SetDescription ¶
func (s *NftItemCollection) SetDescription(val string)
SetDescription sets the value of Description.
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 ¶
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 ¶
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 ¶
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 ¶
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 ¶
type NftPurchaseActionAuctionType string
const ( NftPurchaseActionAuctionTypeDNSTg NftPurchaseActionAuctionType = "DNS.tg" NftPurchaseActionAuctionTypeGetgems NftPurchaseActionAuctionType = "getgems" NftPurchaseActionAuctionTypeBasic NftPurchaseActionAuctionType = "basic" )
func (NftPurchaseActionAuctionType) AllValues ¶
func (NftPurchaseActionAuctionType) AllValues() []NftPurchaseActionAuctionType
AllValues returns all NftPurchaseActionAuctionType values.
func (*NftPurchaseActionAuctionType) Decode ¶
func (s *NftPurchaseActionAuctionType) Decode(d *jx.Decoder) error
Decode decodes NftPurchaseActionAuctionType from json.
func (NftPurchaseActionAuctionType) Encode ¶
func (s NftPurchaseActionAuctionType) Encode(e *jx.Encoder)
Encode encodes NftPurchaseActionAuctionType as json.
func (NftPurchaseActionAuctionType) MarshalJSON ¶
func (s NftPurchaseActionAuctionType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (NftPurchaseActionAuctionType) MarshalText ¶
func (s NftPurchaseActionAuctionType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*NftPurchaseActionAuctionType) UnmarshalJSON ¶
func (s *NftPurchaseActionAuctionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*NftPurchaseActionAuctionType) UnmarshalText ¶
func (s *NftPurchaseActionAuctionType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (NftPurchaseActionAuctionType) Validate ¶
func (s NftPurchaseActionAuctionType) Validate() error
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 OptBlockCurrencyCollection ¶
type OptBlockCurrencyCollection struct { Value BlockCurrencyCollection Set bool }
OptBlockCurrencyCollection is optional BlockCurrencyCollection.
func NewOptBlockCurrencyCollection ¶
func NewOptBlockCurrencyCollection(v BlockCurrencyCollection) OptBlockCurrencyCollection
NewOptBlockCurrencyCollection returns new OptBlockCurrencyCollection with value set to v.
func (*OptBlockCurrencyCollection) Decode ¶
func (o *OptBlockCurrencyCollection) Decode(d *jx.Decoder) error
Decode decodes BlockCurrencyCollection from json.
func (OptBlockCurrencyCollection) Encode ¶
func (o OptBlockCurrencyCollection) Encode(e *jx.Encoder)
Encode encodes BlockCurrencyCollection as json.
func (OptBlockCurrencyCollection) Get ¶
func (o OptBlockCurrencyCollection) Get() (v BlockCurrencyCollection, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockCurrencyCollection) IsSet ¶
func (o OptBlockCurrencyCollection) IsSet() bool
IsSet returns true if OptBlockCurrencyCollection was set.
func (OptBlockCurrencyCollection) MarshalJSON ¶
func (s OptBlockCurrencyCollection) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptBlockCurrencyCollection) Reset ¶
func (o *OptBlockCurrencyCollection) Reset()
Reset unsets value.
func (*OptBlockCurrencyCollection) SetTo ¶
func (o *OptBlockCurrencyCollection) SetTo(v BlockCurrencyCollection)
SetTo sets value to v.
func (*OptBlockCurrencyCollection) UnmarshalJSON ¶
func (s *OptBlockCurrencyCollection) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainAccountInspectCompiler ¶
type OptBlockchainAccountInspectCompiler struct { Value BlockchainAccountInspectCompiler Set bool }
OptBlockchainAccountInspectCompiler is optional BlockchainAccountInspectCompiler.
func NewOptBlockchainAccountInspectCompiler ¶
func NewOptBlockchainAccountInspectCompiler(v BlockchainAccountInspectCompiler) OptBlockchainAccountInspectCompiler
NewOptBlockchainAccountInspectCompiler returns new OptBlockchainAccountInspectCompiler with value set to v.
func (*OptBlockchainAccountInspectCompiler) Decode ¶
func (o *OptBlockchainAccountInspectCompiler) Decode(d *jx.Decoder) error
Decode decodes BlockchainAccountInspectCompiler from json.
func (OptBlockchainAccountInspectCompiler) Encode ¶
func (o OptBlockchainAccountInspectCompiler) Encode(e *jx.Encoder)
Encode encodes BlockchainAccountInspectCompiler as json.
func (OptBlockchainAccountInspectCompiler) Get ¶
func (o OptBlockchainAccountInspectCompiler) Get() (v BlockchainAccountInspectCompiler, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainAccountInspectCompiler) IsSet ¶
func (o OptBlockchainAccountInspectCompiler) IsSet() bool
IsSet returns true if OptBlockchainAccountInspectCompiler was set.
func (OptBlockchainAccountInspectCompiler) MarshalJSON ¶
func (s OptBlockchainAccountInspectCompiler) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainAccountInspectCompiler) Or ¶
func (o OptBlockchainAccountInspectCompiler) Or(d BlockchainAccountInspectCompiler) BlockchainAccountInspectCompiler
Or returns value if set, or given parameter if does not.
func (*OptBlockchainAccountInspectCompiler) Reset ¶
func (o *OptBlockchainAccountInspectCompiler) Reset()
Reset unsets value.
func (*OptBlockchainAccountInspectCompiler) SetTo ¶
func (o *OptBlockchainAccountInspectCompiler) SetTo(v BlockchainAccountInspectCompiler)
SetTo sets value to v.
func (*OptBlockchainAccountInspectCompiler) UnmarshalJSON ¶
func (s *OptBlockchainAccountInspectCompiler) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig10 ¶
type OptBlockchainConfig10 struct { Value BlockchainConfig10 Set bool }
OptBlockchainConfig10 is optional BlockchainConfig10.
func NewOptBlockchainConfig10 ¶
func NewOptBlockchainConfig10(v BlockchainConfig10) OptBlockchainConfig10
NewOptBlockchainConfig10 returns new OptBlockchainConfig10 with value set to v.
func (*OptBlockchainConfig10) Decode ¶
func (o *OptBlockchainConfig10) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig10 from json.
func (OptBlockchainConfig10) Encode ¶
func (o OptBlockchainConfig10) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig10 as json.
func (OptBlockchainConfig10) Get ¶
func (o OptBlockchainConfig10) Get() (v BlockchainConfig10, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig10) IsSet ¶
func (o OptBlockchainConfig10) IsSet() bool
IsSet returns true if OptBlockchainConfig10 was set.
func (OptBlockchainConfig10) MarshalJSON ¶
func (s OptBlockchainConfig10) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig10) Or ¶
func (o OptBlockchainConfig10) Or(d BlockchainConfig10) BlockchainConfig10
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig10) SetTo ¶
func (o *OptBlockchainConfig10) SetTo(v BlockchainConfig10)
SetTo sets value to v.
func (*OptBlockchainConfig10) UnmarshalJSON ¶
func (s *OptBlockchainConfig10) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig11 ¶
type OptBlockchainConfig11 struct { Value BlockchainConfig11 Set bool }
OptBlockchainConfig11 is optional BlockchainConfig11.
func NewOptBlockchainConfig11 ¶
func NewOptBlockchainConfig11(v BlockchainConfig11) OptBlockchainConfig11
NewOptBlockchainConfig11 returns new OptBlockchainConfig11 with value set to v.
func (*OptBlockchainConfig11) Decode ¶
func (o *OptBlockchainConfig11) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig11 from json.
func (OptBlockchainConfig11) Encode ¶
func (o OptBlockchainConfig11) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig11 as json.
func (OptBlockchainConfig11) Get ¶
func (o OptBlockchainConfig11) Get() (v BlockchainConfig11, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig11) IsSet ¶
func (o OptBlockchainConfig11) IsSet() bool
IsSet returns true if OptBlockchainConfig11 was set.
func (OptBlockchainConfig11) MarshalJSON ¶
func (s OptBlockchainConfig11) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig11) Or ¶
func (o OptBlockchainConfig11) Or(d BlockchainConfig11) BlockchainConfig11
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig11) SetTo ¶
func (o *OptBlockchainConfig11) SetTo(v BlockchainConfig11)
SetTo sets value to v.
func (*OptBlockchainConfig11) UnmarshalJSON ¶
func (s *OptBlockchainConfig11) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig12 ¶
type OptBlockchainConfig12 struct { Value BlockchainConfig12 Set bool }
OptBlockchainConfig12 is optional BlockchainConfig12.
func NewOptBlockchainConfig12 ¶
func NewOptBlockchainConfig12(v BlockchainConfig12) OptBlockchainConfig12
NewOptBlockchainConfig12 returns new OptBlockchainConfig12 with value set to v.
func (*OptBlockchainConfig12) Decode ¶
func (o *OptBlockchainConfig12) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig12 from json.
func (OptBlockchainConfig12) Encode ¶
func (o OptBlockchainConfig12) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig12 as json.
func (OptBlockchainConfig12) Get ¶
func (o OptBlockchainConfig12) Get() (v BlockchainConfig12, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig12) IsSet ¶
func (o OptBlockchainConfig12) IsSet() bool
IsSet returns true if OptBlockchainConfig12 was set.
func (OptBlockchainConfig12) MarshalJSON ¶
func (s OptBlockchainConfig12) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig12) Or ¶
func (o OptBlockchainConfig12) Or(d BlockchainConfig12) BlockchainConfig12
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig12) SetTo ¶
func (o *OptBlockchainConfig12) SetTo(v BlockchainConfig12)
SetTo sets value to v.
func (*OptBlockchainConfig12) UnmarshalJSON ¶
func (s *OptBlockchainConfig12) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig13 ¶
type OptBlockchainConfig13 struct { Value BlockchainConfig13 Set bool }
OptBlockchainConfig13 is optional BlockchainConfig13.
func NewOptBlockchainConfig13 ¶
func NewOptBlockchainConfig13(v BlockchainConfig13) OptBlockchainConfig13
NewOptBlockchainConfig13 returns new OptBlockchainConfig13 with value set to v.
func (*OptBlockchainConfig13) Decode ¶
func (o *OptBlockchainConfig13) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig13 from json.
func (OptBlockchainConfig13) Encode ¶
func (o OptBlockchainConfig13) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig13 as json.
func (OptBlockchainConfig13) Get ¶
func (o OptBlockchainConfig13) Get() (v BlockchainConfig13, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig13) IsSet ¶
func (o OptBlockchainConfig13) IsSet() bool
IsSet returns true if OptBlockchainConfig13 was set.
func (OptBlockchainConfig13) MarshalJSON ¶
func (s OptBlockchainConfig13) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig13) Or ¶
func (o OptBlockchainConfig13) Or(d BlockchainConfig13) BlockchainConfig13
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig13) SetTo ¶
func (o *OptBlockchainConfig13) SetTo(v BlockchainConfig13)
SetTo sets value to v.
func (*OptBlockchainConfig13) UnmarshalJSON ¶
func (s *OptBlockchainConfig13) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig14 ¶
type OptBlockchainConfig14 struct { Value BlockchainConfig14 Set bool }
OptBlockchainConfig14 is optional BlockchainConfig14.
func NewOptBlockchainConfig14 ¶
func NewOptBlockchainConfig14(v BlockchainConfig14) OptBlockchainConfig14
NewOptBlockchainConfig14 returns new OptBlockchainConfig14 with value set to v.
func (*OptBlockchainConfig14) Decode ¶
func (o *OptBlockchainConfig14) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig14 from json.
func (OptBlockchainConfig14) Encode ¶
func (o OptBlockchainConfig14) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig14 as json.
func (OptBlockchainConfig14) Get ¶
func (o OptBlockchainConfig14) Get() (v BlockchainConfig14, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig14) IsSet ¶
func (o OptBlockchainConfig14) IsSet() bool
IsSet returns true if OptBlockchainConfig14 was set.
func (OptBlockchainConfig14) MarshalJSON ¶
func (s OptBlockchainConfig14) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig14) Or ¶
func (o OptBlockchainConfig14) Or(d BlockchainConfig14) BlockchainConfig14
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig14) SetTo ¶
func (o *OptBlockchainConfig14) SetTo(v BlockchainConfig14)
SetTo sets value to v.
func (*OptBlockchainConfig14) UnmarshalJSON ¶
func (s *OptBlockchainConfig14) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig15 ¶
type OptBlockchainConfig15 struct { Value BlockchainConfig15 Set bool }
OptBlockchainConfig15 is optional BlockchainConfig15.
func NewOptBlockchainConfig15 ¶
func NewOptBlockchainConfig15(v BlockchainConfig15) OptBlockchainConfig15
NewOptBlockchainConfig15 returns new OptBlockchainConfig15 with value set to v.
func (*OptBlockchainConfig15) Decode ¶
func (o *OptBlockchainConfig15) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig15 from json.
func (OptBlockchainConfig15) Encode ¶
func (o OptBlockchainConfig15) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig15 as json.
func (OptBlockchainConfig15) Get ¶
func (o OptBlockchainConfig15) Get() (v BlockchainConfig15, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig15) IsSet ¶
func (o OptBlockchainConfig15) IsSet() bool
IsSet returns true if OptBlockchainConfig15 was set.
func (OptBlockchainConfig15) MarshalJSON ¶
func (s OptBlockchainConfig15) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig15) Or ¶
func (o OptBlockchainConfig15) Or(d BlockchainConfig15) BlockchainConfig15
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig15) SetTo ¶
func (o *OptBlockchainConfig15) SetTo(v BlockchainConfig15)
SetTo sets value to v.
func (*OptBlockchainConfig15) UnmarshalJSON ¶
func (s *OptBlockchainConfig15) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig16 ¶
type OptBlockchainConfig16 struct { Value BlockchainConfig16 Set bool }
OptBlockchainConfig16 is optional BlockchainConfig16.
func NewOptBlockchainConfig16 ¶
func NewOptBlockchainConfig16(v BlockchainConfig16) OptBlockchainConfig16
NewOptBlockchainConfig16 returns new OptBlockchainConfig16 with value set to v.
func (*OptBlockchainConfig16) Decode ¶
func (o *OptBlockchainConfig16) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig16 from json.
func (OptBlockchainConfig16) Encode ¶
func (o OptBlockchainConfig16) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig16 as json.
func (OptBlockchainConfig16) Get ¶
func (o OptBlockchainConfig16) Get() (v BlockchainConfig16, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig16) IsSet ¶
func (o OptBlockchainConfig16) IsSet() bool
IsSet returns true if OptBlockchainConfig16 was set.
func (OptBlockchainConfig16) MarshalJSON ¶
func (s OptBlockchainConfig16) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig16) Or ¶
func (o OptBlockchainConfig16) Or(d BlockchainConfig16) BlockchainConfig16
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig16) SetTo ¶
func (o *OptBlockchainConfig16) SetTo(v BlockchainConfig16)
SetTo sets value to v.
func (*OptBlockchainConfig16) UnmarshalJSON ¶
func (s *OptBlockchainConfig16) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig17 ¶
type OptBlockchainConfig17 struct { Value BlockchainConfig17 Set bool }
OptBlockchainConfig17 is optional BlockchainConfig17.
func NewOptBlockchainConfig17 ¶
func NewOptBlockchainConfig17(v BlockchainConfig17) OptBlockchainConfig17
NewOptBlockchainConfig17 returns new OptBlockchainConfig17 with value set to v.
func (*OptBlockchainConfig17) Decode ¶
func (o *OptBlockchainConfig17) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig17 from json.
func (OptBlockchainConfig17) Encode ¶
func (o OptBlockchainConfig17) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig17 as json.
func (OptBlockchainConfig17) Get ¶
func (o OptBlockchainConfig17) Get() (v BlockchainConfig17, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig17) IsSet ¶
func (o OptBlockchainConfig17) IsSet() bool
IsSet returns true if OptBlockchainConfig17 was set.
func (OptBlockchainConfig17) MarshalJSON ¶
func (s OptBlockchainConfig17) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig17) Or ¶
func (o OptBlockchainConfig17) Or(d BlockchainConfig17) BlockchainConfig17
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig17) SetTo ¶
func (o *OptBlockchainConfig17) SetTo(v BlockchainConfig17)
SetTo sets value to v.
func (*OptBlockchainConfig17) UnmarshalJSON ¶
func (s *OptBlockchainConfig17) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig18 ¶
type OptBlockchainConfig18 struct { Value BlockchainConfig18 Set bool }
OptBlockchainConfig18 is optional BlockchainConfig18.
func NewOptBlockchainConfig18 ¶
func NewOptBlockchainConfig18(v BlockchainConfig18) OptBlockchainConfig18
NewOptBlockchainConfig18 returns new OptBlockchainConfig18 with value set to v.
func (*OptBlockchainConfig18) Decode ¶
func (o *OptBlockchainConfig18) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig18 from json.
func (OptBlockchainConfig18) Encode ¶
func (o OptBlockchainConfig18) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig18 as json.
func (OptBlockchainConfig18) Get ¶
func (o OptBlockchainConfig18) Get() (v BlockchainConfig18, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig18) IsSet ¶
func (o OptBlockchainConfig18) IsSet() bool
IsSet returns true if OptBlockchainConfig18 was set.
func (OptBlockchainConfig18) MarshalJSON ¶
func (s OptBlockchainConfig18) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig18) Or ¶
func (o OptBlockchainConfig18) Or(d BlockchainConfig18) BlockchainConfig18
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig18) SetTo ¶
func (o *OptBlockchainConfig18) SetTo(v BlockchainConfig18)
SetTo sets value to v.
func (*OptBlockchainConfig18) UnmarshalJSON ¶
func (s *OptBlockchainConfig18) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig20 ¶
type OptBlockchainConfig20 struct { Value BlockchainConfig20 Set bool }
OptBlockchainConfig20 is optional BlockchainConfig20.
func NewOptBlockchainConfig20 ¶
func NewOptBlockchainConfig20(v BlockchainConfig20) OptBlockchainConfig20
NewOptBlockchainConfig20 returns new OptBlockchainConfig20 with value set to v.
func (*OptBlockchainConfig20) Decode ¶
func (o *OptBlockchainConfig20) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig20 from json.
func (OptBlockchainConfig20) Encode ¶
func (o OptBlockchainConfig20) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig20 as json.
func (OptBlockchainConfig20) Get ¶
func (o OptBlockchainConfig20) Get() (v BlockchainConfig20, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig20) IsSet ¶
func (o OptBlockchainConfig20) IsSet() bool
IsSet returns true if OptBlockchainConfig20 was set.
func (OptBlockchainConfig20) MarshalJSON ¶
func (s OptBlockchainConfig20) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig20) Or ¶
func (o OptBlockchainConfig20) Or(d BlockchainConfig20) BlockchainConfig20
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig20) SetTo ¶
func (o *OptBlockchainConfig20) SetTo(v BlockchainConfig20)
SetTo sets value to v.
func (*OptBlockchainConfig20) UnmarshalJSON ¶
func (s *OptBlockchainConfig20) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig21 ¶
type OptBlockchainConfig21 struct { Value BlockchainConfig21 Set bool }
OptBlockchainConfig21 is optional BlockchainConfig21.
func NewOptBlockchainConfig21 ¶
func NewOptBlockchainConfig21(v BlockchainConfig21) OptBlockchainConfig21
NewOptBlockchainConfig21 returns new OptBlockchainConfig21 with value set to v.
func (*OptBlockchainConfig21) Decode ¶
func (o *OptBlockchainConfig21) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig21 from json.
func (OptBlockchainConfig21) Encode ¶
func (o OptBlockchainConfig21) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig21 as json.
func (OptBlockchainConfig21) Get ¶
func (o OptBlockchainConfig21) Get() (v BlockchainConfig21, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig21) IsSet ¶
func (o OptBlockchainConfig21) IsSet() bool
IsSet returns true if OptBlockchainConfig21 was set.
func (OptBlockchainConfig21) MarshalJSON ¶
func (s OptBlockchainConfig21) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig21) Or ¶
func (o OptBlockchainConfig21) Or(d BlockchainConfig21) BlockchainConfig21
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig21) SetTo ¶
func (o *OptBlockchainConfig21) SetTo(v BlockchainConfig21)
SetTo sets value to v.
func (*OptBlockchainConfig21) UnmarshalJSON ¶
func (s *OptBlockchainConfig21) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig22 ¶
type OptBlockchainConfig22 struct { Value BlockchainConfig22 Set bool }
OptBlockchainConfig22 is optional BlockchainConfig22.
func NewOptBlockchainConfig22 ¶
func NewOptBlockchainConfig22(v BlockchainConfig22) OptBlockchainConfig22
NewOptBlockchainConfig22 returns new OptBlockchainConfig22 with value set to v.
func (*OptBlockchainConfig22) Decode ¶
func (o *OptBlockchainConfig22) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig22 from json.
func (OptBlockchainConfig22) Encode ¶
func (o OptBlockchainConfig22) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig22 as json.
func (OptBlockchainConfig22) Get ¶
func (o OptBlockchainConfig22) Get() (v BlockchainConfig22, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig22) IsSet ¶
func (o OptBlockchainConfig22) IsSet() bool
IsSet returns true if OptBlockchainConfig22 was set.
func (OptBlockchainConfig22) MarshalJSON ¶
func (s OptBlockchainConfig22) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig22) Or ¶
func (o OptBlockchainConfig22) Or(d BlockchainConfig22) BlockchainConfig22
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig22) SetTo ¶
func (o *OptBlockchainConfig22) SetTo(v BlockchainConfig22)
SetTo sets value to v.
func (*OptBlockchainConfig22) UnmarshalJSON ¶
func (s *OptBlockchainConfig22) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig23 ¶
type OptBlockchainConfig23 struct { Value BlockchainConfig23 Set bool }
OptBlockchainConfig23 is optional BlockchainConfig23.
func NewOptBlockchainConfig23 ¶
func NewOptBlockchainConfig23(v BlockchainConfig23) OptBlockchainConfig23
NewOptBlockchainConfig23 returns new OptBlockchainConfig23 with value set to v.
func (*OptBlockchainConfig23) Decode ¶
func (o *OptBlockchainConfig23) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig23 from json.
func (OptBlockchainConfig23) Encode ¶
func (o OptBlockchainConfig23) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig23 as json.
func (OptBlockchainConfig23) Get ¶
func (o OptBlockchainConfig23) Get() (v BlockchainConfig23, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig23) IsSet ¶
func (o OptBlockchainConfig23) IsSet() bool
IsSet returns true if OptBlockchainConfig23 was set.
func (OptBlockchainConfig23) MarshalJSON ¶
func (s OptBlockchainConfig23) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig23) Or ¶
func (o OptBlockchainConfig23) Or(d BlockchainConfig23) BlockchainConfig23
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig23) SetTo ¶
func (o *OptBlockchainConfig23) SetTo(v BlockchainConfig23)
SetTo sets value to v.
func (*OptBlockchainConfig23) UnmarshalJSON ¶
func (s *OptBlockchainConfig23) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig24 ¶
type OptBlockchainConfig24 struct { Value BlockchainConfig24 Set bool }
OptBlockchainConfig24 is optional BlockchainConfig24.
func NewOptBlockchainConfig24 ¶
func NewOptBlockchainConfig24(v BlockchainConfig24) OptBlockchainConfig24
NewOptBlockchainConfig24 returns new OptBlockchainConfig24 with value set to v.
func (*OptBlockchainConfig24) Decode ¶
func (o *OptBlockchainConfig24) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig24 from json.
func (OptBlockchainConfig24) Encode ¶
func (o OptBlockchainConfig24) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig24 as json.
func (OptBlockchainConfig24) Get ¶
func (o OptBlockchainConfig24) Get() (v BlockchainConfig24, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig24) IsSet ¶
func (o OptBlockchainConfig24) IsSet() bool
IsSet returns true if OptBlockchainConfig24 was set.
func (OptBlockchainConfig24) MarshalJSON ¶
func (s OptBlockchainConfig24) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig24) Or ¶
func (o OptBlockchainConfig24) Or(d BlockchainConfig24) BlockchainConfig24
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig24) SetTo ¶
func (o *OptBlockchainConfig24) SetTo(v BlockchainConfig24)
SetTo sets value to v.
func (*OptBlockchainConfig24) UnmarshalJSON ¶
func (s *OptBlockchainConfig24) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig25 ¶
type OptBlockchainConfig25 struct { Value BlockchainConfig25 Set bool }
OptBlockchainConfig25 is optional BlockchainConfig25.
func NewOptBlockchainConfig25 ¶
func NewOptBlockchainConfig25(v BlockchainConfig25) OptBlockchainConfig25
NewOptBlockchainConfig25 returns new OptBlockchainConfig25 with value set to v.
func (*OptBlockchainConfig25) Decode ¶
func (o *OptBlockchainConfig25) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig25 from json.
func (OptBlockchainConfig25) Encode ¶
func (o OptBlockchainConfig25) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig25 as json.
func (OptBlockchainConfig25) Get ¶
func (o OptBlockchainConfig25) Get() (v BlockchainConfig25, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig25) IsSet ¶
func (o OptBlockchainConfig25) IsSet() bool
IsSet returns true if OptBlockchainConfig25 was set.
func (OptBlockchainConfig25) MarshalJSON ¶
func (s OptBlockchainConfig25) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig25) Or ¶
func (o OptBlockchainConfig25) Or(d BlockchainConfig25) BlockchainConfig25
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig25) SetTo ¶
func (o *OptBlockchainConfig25) SetTo(v BlockchainConfig25)
SetTo sets value to v.
func (*OptBlockchainConfig25) UnmarshalJSON ¶
func (s *OptBlockchainConfig25) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig28 ¶
type OptBlockchainConfig28 struct { Value BlockchainConfig28 Set bool }
OptBlockchainConfig28 is optional BlockchainConfig28.
func NewOptBlockchainConfig28 ¶
func NewOptBlockchainConfig28(v BlockchainConfig28) OptBlockchainConfig28
NewOptBlockchainConfig28 returns new OptBlockchainConfig28 with value set to v.
func (*OptBlockchainConfig28) Decode ¶
func (o *OptBlockchainConfig28) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig28 from json.
func (OptBlockchainConfig28) Encode ¶
func (o OptBlockchainConfig28) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig28 as json.
func (OptBlockchainConfig28) Get ¶
func (o OptBlockchainConfig28) Get() (v BlockchainConfig28, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig28) IsSet ¶
func (o OptBlockchainConfig28) IsSet() bool
IsSet returns true if OptBlockchainConfig28 was set.
func (OptBlockchainConfig28) MarshalJSON ¶
func (s OptBlockchainConfig28) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig28) Or ¶
func (o OptBlockchainConfig28) Or(d BlockchainConfig28) BlockchainConfig28
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig28) SetTo ¶
func (o *OptBlockchainConfig28) SetTo(v BlockchainConfig28)
SetTo sets value to v.
func (*OptBlockchainConfig28) UnmarshalJSON ¶
func (s *OptBlockchainConfig28) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig29 ¶
type OptBlockchainConfig29 struct { Value BlockchainConfig29 Set bool }
OptBlockchainConfig29 is optional BlockchainConfig29.
func NewOptBlockchainConfig29 ¶
func NewOptBlockchainConfig29(v BlockchainConfig29) OptBlockchainConfig29
NewOptBlockchainConfig29 returns new OptBlockchainConfig29 with value set to v.
func (*OptBlockchainConfig29) Decode ¶
func (o *OptBlockchainConfig29) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig29 from json.
func (OptBlockchainConfig29) Encode ¶
func (o OptBlockchainConfig29) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig29 as json.
func (OptBlockchainConfig29) Get ¶
func (o OptBlockchainConfig29) Get() (v BlockchainConfig29, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig29) IsSet ¶
func (o OptBlockchainConfig29) IsSet() bool
IsSet returns true if OptBlockchainConfig29 was set.
func (OptBlockchainConfig29) MarshalJSON ¶
func (s OptBlockchainConfig29) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig29) Or ¶
func (o OptBlockchainConfig29) Or(d BlockchainConfig29) BlockchainConfig29
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig29) SetTo ¶
func (o *OptBlockchainConfig29) SetTo(v BlockchainConfig29)
SetTo sets value to v.
func (*OptBlockchainConfig29) UnmarshalJSON ¶
func (s *OptBlockchainConfig29) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig31 ¶
type OptBlockchainConfig31 struct { Value BlockchainConfig31 Set bool }
OptBlockchainConfig31 is optional BlockchainConfig31.
func NewOptBlockchainConfig31 ¶
func NewOptBlockchainConfig31(v BlockchainConfig31) OptBlockchainConfig31
NewOptBlockchainConfig31 returns new OptBlockchainConfig31 with value set to v.
func (*OptBlockchainConfig31) Decode ¶
func (o *OptBlockchainConfig31) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig31 from json.
func (OptBlockchainConfig31) Encode ¶
func (o OptBlockchainConfig31) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig31 as json.
func (OptBlockchainConfig31) Get ¶
func (o OptBlockchainConfig31) Get() (v BlockchainConfig31, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig31) IsSet ¶
func (o OptBlockchainConfig31) IsSet() bool
IsSet returns true if OptBlockchainConfig31 was set.
func (OptBlockchainConfig31) MarshalJSON ¶
func (s OptBlockchainConfig31) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig31) Or ¶
func (o OptBlockchainConfig31) Or(d BlockchainConfig31) BlockchainConfig31
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig31) SetTo ¶
func (o *OptBlockchainConfig31) SetTo(v BlockchainConfig31)
SetTo sets value to v.
func (*OptBlockchainConfig31) UnmarshalJSON ¶
func (s *OptBlockchainConfig31) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig40 ¶
type OptBlockchainConfig40 struct { Value BlockchainConfig40 Set bool }
OptBlockchainConfig40 is optional BlockchainConfig40.
func NewOptBlockchainConfig40 ¶
func NewOptBlockchainConfig40(v BlockchainConfig40) OptBlockchainConfig40
NewOptBlockchainConfig40 returns new OptBlockchainConfig40 with value set to v.
func (*OptBlockchainConfig40) Decode ¶
func (o *OptBlockchainConfig40) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig40 from json.
func (OptBlockchainConfig40) Encode ¶
func (o OptBlockchainConfig40) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig40 as json.
func (OptBlockchainConfig40) Get ¶
func (o OptBlockchainConfig40) Get() (v BlockchainConfig40, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig40) IsSet ¶
func (o OptBlockchainConfig40) IsSet() bool
IsSet returns true if OptBlockchainConfig40 was set.
func (OptBlockchainConfig40) MarshalJSON ¶
func (s OptBlockchainConfig40) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig40) Or ¶
func (o OptBlockchainConfig40) Or(d BlockchainConfig40) BlockchainConfig40
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig40) SetTo ¶
func (o *OptBlockchainConfig40) SetTo(v BlockchainConfig40)
SetTo sets value to v.
func (*OptBlockchainConfig40) UnmarshalJSON ¶
func (s *OptBlockchainConfig40) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig43 ¶
type OptBlockchainConfig43 struct { Value BlockchainConfig43 Set bool }
OptBlockchainConfig43 is optional BlockchainConfig43.
func NewOptBlockchainConfig43 ¶
func NewOptBlockchainConfig43(v BlockchainConfig43) OptBlockchainConfig43
NewOptBlockchainConfig43 returns new OptBlockchainConfig43 with value set to v.
func (*OptBlockchainConfig43) Decode ¶
func (o *OptBlockchainConfig43) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig43 from json.
func (OptBlockchainConfig43) Encode ¶
func (o OptBlockchainConfig43) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig43 as json.
func (OptBlockchainConfig43) Get ¶
func (o OptBlockchainConfig43) Get() (v BlockchainConfig43, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig43) IsSet ¶
func (o OptBlockchainConfig43) IsSet() bool
IsSet returns true if OptBlockchainConfig43 was set.
func (OptBlockchainConfig43) MarshalJSON ¶
func (s OptBlockchainConfig43) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig43) Or ¶
func (o OptBlockchainConfig43) Or(d BlockchainConfig43) BlockchainConfig43
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig43) SetTo ¶
func (o *OptBlockchainConfig43) SetTo(v BlockchainConfig43)
SetTo sets value to v.
func (*OptBlockchainConfig43) UnmarshalJSON ¶
func (s *OptBlockchainConfig43) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig5 ¶
type OptBlockchainConfig5 struct { Value BlockchainConfig5 Set bool }
OptBlockchainConfig5 is optional BlockchainConfig5.
func NewOptBlockchainConfig5 ¶
func NewOptBlockchainConfig5(v BlockchainConfig5) OptBlockchainConfig5
NewOptBlockchainConfig5 returns new OptBlockchainConfig5 with value set to v.
func (*OptBlockchainConfig5) Decode ¶
func (o *OptBlockchainConfig5) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig5 from json.
func (OptBlockchainConfig5) Encode ¶
func (o OptBlockchainConfig5) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig5 as json.
func (OptBlockchainConfig5) Get ¶
func (o OptBlockchainConfig5) Get() (v BlockchainConfig5, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig5) IsSet ¶
func (o OptBlockchainConfig5) IsSet() bool
IsSet returns true if OptBlockchainConfig5 was set.
func (OptBlockchainConfig5) MarshalJSON ¶
func (s OptBlockchainConfig5) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig5) Or ¶
func (o OptBlockchainConfig5) Or(d BlockchainConfig5) BlockchainConfig5
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig5) SetTo ¶
func (o *OptBlockchainConfig5) SetTo(v BlockchainConfig5)
SetTo sets value to v.
func (*OptBlockchainConfig5) UnmarshalJSON ¶
func (s *OptBlockchainConfig5) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig6 ¶
type OptBlockchainConfig6 struct { Value BlockchainConfig6 Set bool }
OptBlockchainConfig6 is optional BlockchainConfig6.
func NewOptBlockchainConfig6 ¶
func NewOptBlockchainConfig6(v BlockchainConfig6) OptBlockchainConfig6
NewOptBlockchainConfig6 returns new OptBlockchainConfig6 with value set to v.
func (*OptBlockchainConfig6) Decode ¶
func (o *OptBlockchainConfig6) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig6 from json.
func (OptBlockchainConfig6) Encode ¶
func (o OptBlockchainConfig6) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig6 as json.
func (OptBlockchainConfig6) Get ¶
func (o OptBlockchainConfig6) Get() (v BlockchainConfig6, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig6) IsSet ¶
func (o OptBlockchainConfig6) IsSet() bool
IsSet returns true if OptBlockchainConfig6 was set.
func (OptBlockchainConfig6) MarshalJSON ¶
func (s OptBlockchainConfig6) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig6) Or ¶
func (o OptBlockchainConfig6) Or(d BlockchainConfig6) BlockchainConfig6
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig6) SetTo ¶
func (o *OptBlockchainConfig6) SetTo(v BlockchainConfig6)
SetTo sets value to v.
func (*OptBlockchainConfig6) UnmarshalJSON ¶
func (s *OptBlockchainConfig6) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig7 ¶
type OptBlockchainConfig7 struct { Value BlockchainConfig7 Set bool }
OptBlockchainConfig7 is optional BlockchainConfig7.
func NewOptBlockchainConfig7 ¶
func NewOptBlockchainConfig7(v BlockchainConfig7) OptBlockchainConfig7
NewOptBlockchainConfig7 returns new OptBlockchainConfig7 with value set to v.
func (*OptBlockchainConfig7) Decode ¶
func (o *OptBlockchainConfig7) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig7 from json.
func (OptBlockchainConfig7) Encode ¶
func (o OptBlockchainConfig7) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig7 as json.
func (OptBlockchainConfig7) Get ¶
func (o OptBlockchainConfig7) Get() (v BlockchainConfig7, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig7) IsSet ¶
func (o OptBlockchainConfig7) IsSet() bool
IsSet returns true if OptBlockchainConfig7 was set.
func (OptBlockchainConfig7) MarshalJSON ¶
func (s OptBlockchainConfig7) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig7) Or ¶
func (o OptBlockchainConfig7) Or(d BlockchainConfig7) BlockchainConfig7
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig7) SetTo ¶
func (o *OptBlockchainConfig7) SetTo(v BlockchainConfig7)
SetTo sets value to v.
func (*OptBlockchainConfig7) UnmarshalJSON ¶
func (s *OptBlockchainConfig7) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig71 ¶
type OptBlockchainConfig71 struct { Value BlockchainConfig71 Set bool }
OptBlockchainConfig71 is optional BlockchainConfig71.
func NewOptBlockchainConfig71 ¶
func NewOptBlockchainConfig71(v BlockchainConfig71) OptBlockchainConfig71
NewOptBlockchainConfig71 returns new OptBlockchainConfig71 with value set to v.
func (*OptBlockchainConfig71) Decode ¶
func (o *OptBlockchainConfig71) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig71 from json.
func (OptBlockchainConfig71) Encode ¶
func (o OptBlockchainConfig71) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig71 as json.
func (OptBlockchainConfig71) Get ¶
func (o OptBlockchainConfig71) Get() (v BlockchainConfig71, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig71) IsSet ¶
func (o OptBlockchainConfig71) IsSet() bool
IsSet returns true if OptBlockchainConfig71 was set.
func (OptBlockchainConfig71) MarshalJSON ¶
func (s OptBlockchainConfig71) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig71) Or ¶
func (o OptBlockchainConfig71) Or(d BlockchainConfig71) BlockchainConfig71
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig71) SetTo ¶
func (o *OptBlockchainConfig71) SetTo(v BlockchainConfig71)
SetTo sets value to v.
func (*OptBlockchainConfig71) UnmarshalJSON ¶
func (s *OptBlockchainConfig71) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig72 ¶
type OptBlockchainConfig72 struct { Value BlockchainConfig72 Set bool }
OptBlockchainConfig72 is optional BlockchainConfig72.
func NewOptBlockchainConfig72 ¶
func NewOptBlockchainConfig72(v BlockchainConfig72) OptBlockchainConfig72
NewOptBlockchainConfig72 returns new OptBlockchainConfig72 with value set to v.
func (*OptBlockchainConfig72) Decode ¶
func (o *OptBlockchainConfig72) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig72 from json.
func (OptBlockchainConfig72) Encode ¶
func (o OptBlockchainConfig72) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig72 as json.
func (OptBlockchainConfig72) Get ¶
func (o OptBlockchainConfig72) Get() (v BlockchainConfig72, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig72) IsSet ¶
func (o OptBlockchainConfig72) IsSet() bool
IsSet returns true if OptBlockchainConfig72 was set.
func (OptBlockchainConfig72) MarshalJSON ¶
func (s OptBlockchainConfig72) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig72) Or ¶
func (o OptBlockchainConfig72) Or(d BlockchainConfig72) BlockchainConfig72
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig72) SetTo ¶
func (o *OptBlockchainConfig72) SetTo(v BlockchainConfig72)
SetTo sets value to v.
func (*OptBlockchainConfig72) UnmarshalJSON ¶
func (s *OptBlockchainConfig72) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig73 ¶
type OptBlockchainConfig73 struct { Value BlockchainConfig73 Set bool }
OptBlockchainConfig73 is optional BlockchainConfig73.
func NewOptBlockchainConfig73 ¶
func NewOptBlockchainConfig73(v BlockchainConfig73) OptBlockchainConfig73
NewOptBlockchainConfig73 returns new OptBlockchainConfig73 with value set to v.
func (*OptBlockchainConfig73) Decode ¶
func (o *OptBlockchainConfig73) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig73 from json.
func (OptBlockchainConfig73) Encode ¶
func (o OptBlockchainConfig73) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig73 as json.
func (OptBlockchainConfig73) Get ¶
func (o OptBlockchainConfig73) Get() (v BlockchainConfig73, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig73) IsSet ¶
func (o OptBlockchainConfig73) IsSet() bool
IsSet returns true if OptBlockchainConfig73 was set.
func (OptBlockchainConfig73) MarshalJSON ¶
func (s OptBlockchainConfig73) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig73) Or ¶
func (o OptBlockchainConfig73) Or(d BlockchainConfig73) BlockchainConfig73
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig73) SetTo ¶
func (o *OptBlockchainConfig73) SetTo(v BlockchainConfig73)
SetTo sets value to v.
func (*OptBlockchainConfig73) UnmarshalJSON ¶
func (s *OptBlockchainConfig73) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig79 ¶
type OptBlockchainConfig79 struct { Value BlockchainConfig79 Set bool }
OptBlockchainConfig79 is optional BlockchainConfig79.
func NewOptBlockchainConfig79 ¶
func NewOptBlockchainConfig79(v BlockchainConfig79) OptBlockchainConfig79
NewOptBlockchainConfig79 returns new OptBlockchainConfig79 with value set to v.
func (*OptBlockchainConfig79) Decode ¶
func (o *OptBlockchainConfig79) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig79 from json.
func (OptBlockchainConfig79) Encode ¶
func (o OptBlockchainConfig79) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig79 as json.
func (OptBlockchainConfig79) Get ¶
func (o OptBlockchainConfig79) Get() (v BlockchainConfig79, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig79) IsSet ¶
func (o OptBlockchainConfig79) IsSet() bool
IsSet returns true if OptBlockchainConfig79 was set.
func (OptBlockchainConfig79) MarshalJSON ¶
func (s OptBlockchainConfig79) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig79) Or ¶
func (o OptBlockchainConfig79) Or(d BlockchainConfig79) BlockchainConfig79
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig79) SetTo ¶
func (o *OptBlockchainConfig79) SetTo(v BlockchainConfig79)
SetTo sets value to v.
func (*OptBlockchainConfig79) UnmarshalJSON ¶
func (s *OptBlockchainConfig79) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig8 ¶
type OptBlockchainConfig8 struct { Value BlockchainConfig8 Set bool }
OptBlockchainConfig8 is optional BlockchainConfig8.
func NewOptBlockchainConfig8 ¶
func NewOptBlockchainConfig8(v BlockchainConfig8) OptBlockchainConfig8
NewOptBlockchainConfig8 returns new OptBlockchainConfig8 with value set to v.
func (*OptBlockchainConfig8) Decode ¶
func (o *OptBlockchainConfig8) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig8 from json.
func (OptBlockchainConfig8) Encode ¶
func (o OptBlockchainConfig8) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig8 as json.
func (OptBlockchainConfig8) Get ¶
func (o OptBlockchainConfig8) Get() (v BlockchainConfig8, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig8) IsSet ¶
func (o OptBlockchainConfig8) IsSet() bool
IsSet returns true if OptBlockchainConfig8 was set.
func (OptBlockchainConfig8) MarshalJSON ¶
func (s OptBlockchainConfig8) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig8) Or ¶
func (o OptBlockchainConfig8) Or(d BlockchainConfig8) BlockchainConfig8
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig8) SetTo ¶
func (o *OptBlockchainConfig8) SetTo(v BlockchainConfig8)
SetTo sets value to v.
func (*OptBlockchainConfig8) UnmarshalJSON ¶
func (s *OptBlockchainConfig8) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig81 ¶
type OptBlockchainConfig81 struct { Value BlockchainConfig81 Set bool }
OptBlockchainConfig81 is optional BlockchainConfig81.
func NewOptBlockchainConfig81 ¶
func NewOptBlockchainConfig81(v BlockchainConfig81) OptBlockchainConfig81
NewOptBlockchainConfig81 returns new OptBlockchainConfig81 with value set to v.
func (*OptBlockchainConfig81) Decode ¶
func (o *OptBlockchainConfig81) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig81 from json.
func (OptBlockchainConfig81) Encode ¶
func (o OptBlockchainConfig81) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig81 as json.
func (OptBlockchainConfig81) Get ¶
func (o OptBlockchainConfig81) Get() (v BlockchainConfig81, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig81) IsSet ¶
func (o OptBlockchainConfig81) IsSet() bool
IsSet returns true if OptBlockchainConfig81 was set.
func (OptBlockchainConfig81) MarshalJSON ¶
func (s OptBlockchainConfig81) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig81) Or ¶
func (o OptBlockchainConfig81) Or(d BlockchainConfig81) BlockchainConfig81
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig81) SetTo ¶
func (o *OptBlockchainConfig81) SetTo(v BlockchainConfig81)
SetTo sets value to v.
func (*OptBlockchainConfig81) UnmarshalJSON ¶
func (s *OptBlockchainConfig81) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig82 ¶
type OptBlockchainConfig82 struct { Value BlockchainConfig82 Set bool }
OptBlockchainConfig82 is optional BlockchainConfig82.
func NewOptBlockchainConfig82 ¶
func NewOptBlockchainConfig82(v BlockchainConfig82) OptBlockchainConfig82
NewOptBlockchainConfig82 returns new OptBlockchainConfig82 with value set to v.
func (*OptBlockchainConfig82) Decode ¶
func (o *OptBlockchainConfig82) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig82 from json.
func (OptBlockchainConfig82) Encode ¶
func (o OptBlockchainConfig82) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig82 as json.
func (OptBlockchainConfig82) Get ¶
func (o OptBlockchainConfig82) Get() (v BlockchainConfig82, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig82) IsSet ¶
func (o OptBlockchainConfig82) IsSet() bool
IsSet returns true if OptBlockchainConfig82 was set.
func (OptBlockchainConfig82) MarshalJSON ¶
func (s OptBlockchainConfig82) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig82) Or ¶
func (o OptBlockchainConfig82) Or(d BlockchainConfig82) BlockchainConfig82
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig82) SetTo ¶
func (o *OptBlockchainConfig82) SetTo(v BlockchainConfig82)
SetTo sets value to v.
func (*OptBlockchainConfig82) UnmarshalJSON ¶
func (s *OptBlockchainConfig82) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainConfig9 ¶
type OptBlockchainConfig9 struct { Value BlockchainConfig9 Set bool }
OptBlockchainConfig9 is optional BlockchainConfig9.
func NewOptBlockchainConfig9 ¶
func NewOptBlockchainConfig9(v BlockchainConfig9) OptBlockchainConfig9
NewOptBlockchainConfig9 returns new OptBlockchainConfig9 with value set to v.
func (*OptBlockchainConfig9) Decode ¶
func (o *OptBlockchainConfig9) Decode(d *jx.Decoder) error
Decode decodes BlockchainConfig9 from json.
func (OptBlockchainConfig9) Encode ¶
func (o OptBlockchainConfig9) Encode(e *jx.Encoder)
Encode encodes BlockchainConfig9 as json.
func (OptBlockchainConfig9) Get ¶
func (o OptBlockchainConfig9) Get() (v BlockchainConfig9, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainConfig9) IsSet ¶
func (o OptBlockchainConfig9) IsSet() bool
IsSet returns true if OptBlockchainConfig9 was set.
func (OptBlockchainConfig9) MarshalJSON ¶
func (s OptBlockchainConfig9) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainConfig9) Or ¶
func (o OptBlockchainConfig9) Or(d BlockchainConfig9) BlockchainConfig9
Or returns value if set, or given parameter if does not.
func (*OptBlockchainConfig9) SetTo ¶
func (o *OptBlockchainConfig9) SetTo(v BlockchainConfig9)
SetTo sets value to v.
func (*OptBlockchainConfig9) UnmarshalJSON ¶
func (s *OptBlockchainConfig9) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptBlockchainRawAccountExtraBalance ¶
type OptBlockchainRawAccountExtraBalance struct { Value BlockchainRawAccountExtraBalance Set bool }
OptBlockchainRawAccountExtraBalance is optional BlockchainRawAccountExtraBalance.
func NewOptBlockchainRawAccountExtraBalance ¶
func NewOptBlockchainRawAccountExtraBalance(v BlockchainRawAccountExtraBalance) OptBlockchainRawAccountExtraBalance
NewOptBlockchainRawAccountExtraBalance returns new OptBlockchainRawAccountExtraBalance with value set to v.
func (*OptBlockchainRawAccountExtraBalance) Decode ¶
func (o *OptBlockchainRawAccountExtraBalance) Decode(d *jx.Decoder) error
Decode decodes BlockchainRawAccountExtraBalance from json.
func (OptBlockchainRawAccountExtraBalance) Encode ¶
func (o OptBlockchainRawAccountExtraBalance) Encode(e *jx.Encoder)
Encode encodes BlockchainRawAccountExtraBalance as json.
func (OptBlockchainRawAccountExtraBalance) Get ¶
func (o OptBlockchainRawAccountExtraBalance) Get() (v BlockchainRawAccountExtraBalance, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptBlockchainRawAccountExtraBalance) IsSet ¶
func (o OptBlockchainRawAccountExtraBalance) IsSet() bool
IsSet returns true if OptBlockchainRawAccountExtraBalance was set.
func (OptBlockchainRawAccountExtraBalance) MarshalJSON ¶
func (s OptBlockchainRawAccountExtraBalance) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptBlockchainRawAccountExtraBalance) Or ¶
func (o OptBlockchainRawAccountExtraBalance) Or(d BlockchainRawAccountExtraBalance) BlockchainRawAccountExtraBalance
Or returns value if set, or given parameter if does not.
func (*OptBlockchainRawAccountExtraBalance) Reset ¶
func (o *OptBlockchainRawAccountExtraBalance) Reset()
Reset unsets value.
func (*OptBlockchainRawAccountExtraBalance) SetTo ¶
func (o *OptBlockchainRawAccountExtraBalance) SetTo(v BlockchainRawAccountExtraBalance)
SetTo sets value to v.
func (*OptBlockchainRawAccountExtraBalance) UnmarshalJSON ¶
func (s *OptBlockchainRawAccountExtraBalance) 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 OptDecodedMessageExtInMsgDecoded ¶
type OptDecodedMessageExtInMsgDecoded struct { Value DecodedMessageExtInMsgDecoded Set bool }
OptDecodedMessageExtInMsgDecoded is optional DecodedMessageExtInMsgDecoded.
func NewOptDecodedMessageExtInMsgDecoded ¶
func NewOptDecodedMessageExtInMsgDecoded(v DecodedMessageExtInMsgDecoded) OptDecodedMessageExtInMsgDecoded
NewOptDecodedMessageExtInMsgDecoded returns new OptDecodedMessageExtInMsgDecoded with value set to v.
func (*OptDecodedMessageExtInMsgDecoded) Decode ¶
func (o *OptDecodedMessageExtInMsgDecoded) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecoded from json.
func (OptDecodedMessageExtInMsgDecoded) Encode ¶
func (o OptDecodedMessageExtInMsgDecoded) Encode(e *jx.Encoder)
Encode encodes DecodedMessageExtInMsgDecoded as json.
func (OptDecodedMessageExtInMsgDecoded) Get ¶
func (o OptDecodedMessageExtInMsgDecoded) Get() (v DecodedMessageExtInMsgDecoded, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDecodedMessageExtInMsgDecoded) IsSet ¶
func (o OptDecodedMessageExtInMsgDecoded) IsSet() bool
IsSet returns true if OptDecodedMessageExtInMsgDecoded was set.
func (OptDecodedMessageExtInMsgDecoded) MarshalJSON ¶
func (s OptDecodedMessageExtInMsgDecoded) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDecodedMessageExtInMsgDecoded) Or ¶
func (o OptDecodedMessageExtInMsgDecoded) Or(d DecodedMessageExtInMsgDecoded) DecodedMessageExtInMsgDecoded
Or returns value if set, or given parameter if does not.
func (*OptDecodedMessageExtInMsgDecoded) Reset ¶
func (o *OptDecodedMessageExtInMsgDecoded) Reset()
Reset unsets value.
func (*OptDecodedMessageExtInMsgDecoded) SetTo ¶
func (o *OptDecodedMessageExtInMsgDecoded) SetTo(v DecodedMessageExtInMsgDecoded)
SetTo sets value to v.
func (*OptDecodedMessageExtInMsgDecoded) UnmarshalJSON ¶
func (s *OptDecodedMessageExtInMsgDecoded) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDecodedMessageExtInMsgDecodedWalletHighloadV2 ¶
type OptDecodedMessageExtInMsgDecodedWalletHighloadV2 struct { Value DecodedMessageExtInMsgDecodedWalletHighloadV2 Set bool }
OptDecodedMessageExtInMsgDecodedWalletHighloadV2 is optional DecodedMessageExtInMsgDecodedWalletHighloadV2.
func NewOptDecodedMessageExtInMsgDecodedWalletHighloadV2 ¶
func NewOptDecodedMessageExtInMsgDecodedWalletHighloadV2(v DecodedMessageExtInMsgDecodedWalletHighloadV2) OptDecodedMessageExtInMsgDecodedWalletHighloadV2
NewOptDecodedMessageExtInMsgDecodedWalletHighloadV2 returns new OptDecodedMessageExtInMsgDecodedWalletHighloadV2 with value set to v.
func (*OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Decode ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletHighloadV2 from json.
func (OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Encode ¶
func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Encode(e *jx.Encoder)
Encode encodes DecodedMessageExtInMsgDecodedWalletHighloadV2 as json.
func (OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Get ¶
func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Get() (v DecodedMessageExtInMsgDecodedWalletHighloadV2, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDecodedMessageExtInMsgDecodedWalletHighloadV2) IsSet ¶
func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) IsSet() bool
IsSet returns true if OptDecodedMessageExtInMsgDecodedWalletHighloadV2 was set.
func (OptDecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON ¶
func (s OptDecodedMessageExtInMsgDecodedWalletHighloadV2) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Or ¶
func (o OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Or(d DecodedMessageExtInMsgDecodedWalletHighloadV2) DecodedMessageExtInMsgDecodedWalletHighloadV2
Or returns value if set, or given parameter if does not.
func (*OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Reset ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) Reset()
Reset unsets value.
func (*OptDecodedMessageExtInMsgDecodedWalletHighloadV2) SetTo ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) SetTo(v DecodedMessageExtInMsgDecodedWalletHighloadV2)
SetTo sets value to v.
func (*OptDecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON ¶
func (s *OptDecodedMessageExtInMsgDecodedWalletHighloadV2) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDecodedMessageExtInMsgDecodedWalletV3 ¶
type OptDecodedMessageExtInMsgDecodedWalletV3 struct { Value DecodedMessageExtInMsgDecodedWalletV3 Set bool }
OptDecodedMessageExtInMsgDecodedWalletV3 is optional DecodedMessageExtInMsgDecodedWalletV3.
func NewOptDecodedMessageExtInMsgDecodedWalletV3 ¶
func NewOptDecodedMessageExtInMsgDecodedWalletV3(v DecodedMessageExtInMsgDecodedWalletV3) OptDecodedMessageExtInMsgDecodedWalletV3
NewOptDecodedMessageExtInMsgDecodedWalletV3 returns new OptDecodedMessageExtInMsgDecodedWalletV3 with value set to v.
func (*OptDecodedMessageExtInMsgDecodedWalletV3) Decode ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV3) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletV3 from json.
func (OptDecodedMessageExtInMsgDecodedWalletV3) Encode ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV3) Encode(e *jx.Encoder)
Encode encodes DecodedMessageExtInMsgDecodedWalletV3 as json.
func (OptDecodedMessageExtInMsgDecodedWalletV3) Get ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV3) Get() (v DecodedMessageExtInMsgDecodedWalletV3, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDecodedMessageExtInMsgDecodedWalletV3) IsSet ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV3) IsSet() bool
IsSet returns true if OptDecodedMessageExtInMsgDecodedWalletV3 was set.
func (OptDecodedMessageExtInMsgDecodedWalletV3) MarshalJSON ¶
func (s OptDecodedMessageExtInMsgDecodedWalletV3) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDecodedMessageExtInMsgDecodedWalletV3) Or ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV3) Or(d DecodedMessageExtInMsgDecodedWalletV3) DecodedMessageExtInMsgDecodedWalletV3
Or returns value if set, or given parameter if does not.
func (*OptDecodedMessageExtInMsgDecodedWalletV3) Reset ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV3) Reset()
Reset unsets value.
func (*OptDecodedMessageExtInMsgDecodedWalletV3) SetTo ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV3) SetTo(v DecodedMessageExtInMsgDecodedWalletV3)
SetTo sets value to v.
func (*OptDecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON ¶
func (s *OptDecodedMessageExtInMsgDecodedWalletV3) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDecodedMessageExtInMsgDecodedWalletV4 ¶
type OptDecodedMessageExtInMsgDecodedWalletV4 struct { Value DecodedMessageExtInMsgDecodedWalletV4 Set bool }
OptDecodedMessageExtInMsgDecodedWalletV4 is optional DecodedMessageExtInMsgDecodedWalletV4.
func NewOptDecodedMessageExtInMsgDecodedWalletV4 ¶
func NewOptDecodedMessageExtInMsgDecodedWalletV4(v DecodedMessageExtInMsgDecodedWalletV4) OptDecodedMessageExtInMsgDecodedWalletV4
NewOptDecodedMessageExtInMsgDecodedWalletV4 returns new OptDecodedMessageExtInMsgDecodedWalletV4 with value set to v.
func (*OptDecodedMessageExtInMsgDecodedWalletV4) Decode ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV4) Decode(d *jx.Decoder) error
Decode decodes DecodedMessageExtInMsgDecodedWalletV4 from json.
func (OptDecodedMessageExtInMsgDecodedWalletV4) Encode ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV4) Encode(e *jx.Encoder)
Encode encodes DecodedMessageExtInMsgDecodedWalletV4 as json.
func (OptDecodedMessageExtInMsgDecodedWalletV4) Get ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV4) Get() (v DecodedMessageExtInMsgDecodedWalletV4, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDecodedMessageExtInMsgDecodedWalletV4) IsSet ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV4) IsSet() bool
IsSet returns true if OptDecodedMessageExtInMsgDecodedWalletV4 was set.
func (OptDecodedMessageExtInMsgDecodedWalletV4) MarshalJSON ¶
func (s OptDecodedMessageExtInMsgDecodedWalletV4) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDecodedMessageExtInMsgDecodedWalletV4) Or ¶
func (o OptDecodedMessageExtInMsgDecodedWalletV4) Or(d DecodedMessageExtInMsgDecodedWalletV4) DecodedMessageExtInMsgDecodedWalletV4
Or returns value if set, or given parameter if does not.
func (*OptDecodedMessageExtInMsgDecodedWalletV4) Reset ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV4) Reset()
Reset unsets value.
func (*OptDecodedMessageExtInMsgDecodedWalletV4) SetTo ¶
func (o *OptDecodedMessageExtInMsgDecodedWalletV4) SetTo(v DecodedMessageExtInMsgDecodedWalletV4)
SetTo sets value to v.
func (*OptDecodedMessageExtInMsgDecodedWalletV4) UnmarshalJSON ¶
func (s *OptDecodedMessageExtInMsgDecodedWalletV4) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDepositStakeAction ¶
type OptDepositStakeAction struct { Value DepositStakeAction Set bool }
OptDepositStakeAction is optional DepositStakeAction.
func NewOptDepositStakeAction ¶
func NewOptDepositStakeAction(v DepositStakeAction) OptDepositStakeAction
NewOptDepositStakeAction returns new OptDepositStakeAction with value set to v.
func (*OptDepositStakeAction) Decode ¶
func (o *OptDepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes DepositStakeAction from json.
func (OptDepositStakeAction) Encode ¶
func (o OptDepositStakeAction) Encode(e *jx.Encoder)
Encode encodes DepositStakeAction as json.
func (OptDepositStakeAction) Get ¶
func (o OptDepositStakeAction) Get() (v DepositStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDepositStakeAction) IsSet ¶
func (o OptDepositStakeAction) IsSet() bool
IsSet returns true if OptDepositStakeAction was set.
func (OptDepositStakeAction) MarshalJSON ¶
func (s OptDepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDepositStakeAction) Or ¶
func (o OptDepositStakeAction) Or(d DepositStakeAction) DepositStakeAction
Or returns value if set, or given parameter if does not.
func (*OptDepositStakeAction) SetTo ¶
func (o *OptDepositStakeAction) SetTo(v DepositStakeAction)
SetTo sets value to v.
func (*OptDepositStakeAction) UnmarshalJSON ¶
func (s *OptDepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptDomainRenewAction ¶
type OptDomainRenewAction struct { Value DomainRenewAction Set bool }
OptDomainRenewAction is optional DomainRenewAction.
func NewOptDomainRenewAction ¶
func NewOptDomainRenewAction(v DomainRenewAction) OptDomainRenewAction
NewOptDomainRenewAction returns new OptDomainRenewAction with value set to v.
func (*OptDomainRenewAction) Decode ¶
func (o *OptDomainRenewAction) Decode(d *jx.Decoder) error
Decode decodes DomainRenewAction from json.
func (OptDomainRenewAction) Encode ¶
func (o OptDomainRenewAction) Encode(e *jx.Encoder)
Encode encodes DomainRenewAction as json.
func (OptDomainRenewAction) Get ¶
func (o OptDomainRenewAction) Get() (v DomainRenewAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptDomainRenewAction) IsSet ¶
func (o OptDomainRenewAction) IsSet() bool
IsSet returns true if OptDomainRenewAction was set.
func (OptDomainRenewAction) MarshalJSON ¶
func (s OptDomainRenewAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptDomainRenewAction) Or ¶
func (o OptDomainRenewAction) Or(d DomainRenewAction) DomainRenewAction
Or returns value if set, or given parameter if does not.
func (*OptDomainRenewAction) SetTo ¶
func (o *OptDomainRenewAction) SetTo(v DomainRenewAction)
SetTo sets value to v.
func (*OptDomainRenewAction) UnmarshalJSON ¶
func (s *OptDomainRenewAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptElectionsDepositStakeAction ¶
type OptElectionsDepositStakeAction struct { Value ElectionsDepositStakeAction Set bool }
OptElectionsDepositStakeAction is optional ElectionsDepositStakeAction.
func NewOptElectionsDepositStakeAction ¶
func NewOptElectionsDepositStakeAction(v ElectionsDepositStakeAction) OptElectionsDepositStakeAction
NewOptElectionsDepositStakeAction returns new OptElectionsDepositStakeAction with value set to v.
func (*OptElectionsDepositStakeAction) Decode ¶
func (o *OptElectionsDepositStakeAction) Decode(d *jx.Decoder) error
Decode decodes ElectionsDepositStakeAction from json.
func (OptElectionsDepositStakeAction) Encode ¶
func (o OptElectionsDepositStakeAction) Encode(e *jx.Encoder)
Encode encodes ElectionsDepositStakeAction as json.
func (OptElectionsDepositStakeAction) Get ¶
func (o OptElectionsDepositStakeAction) Get() (v ElectionsDepositStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptElectionsDepositStakeAction) IsSet ¶
func (o OptElectionsDepositStakeAction) IsSet() bool
IsSet returns true if OptElectionsDepositStakeAction was set.
func (OptElectionsDepositStakeAction) MarshalJSON ¶
func (s OptElectionsDepositStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptElectionsDepositStakeAction) Or ¶
func (o OptElectionsDepositStakeAction) Or(d ElectionsDepositStakeAction) ElectionsDepositStakeAction
Or returns value if set, or given parameter if does not.
func (*OptElectionsDepositStakeAction) Reset ¶
func (o *OptElectionsDepositStakeAction) Reset()
Reset unsets value.
func (*OptElectionsDepositStakeAction) SetTo ¶
func (o *OptElectionsDepositStakeAction) SetTo(v ElectionsDepositStakeAction)
SetTo sets value to v.
func (*OptElectionsDepositStakeAction) UnmarshalJSON ¶
func (s *OptElectionsDepositStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptElectionsRecoverStakeAction ¶
type OptElectionsRecoverStakeAction struct { Value ElectionsRecoverStakeAction Set bool }
OptElectionsRecoverStakeAction is optional ElectionsRecoverStakeAction.
func NewOptElectionsRecoverStakeAction ¶
func NewOptElectionsRecoverStakeAction(v ElectionsRecoverStakeAction) OptElectionsRecoverStakeAction
NewOptElectionsRecoverStakeAction returns new OptElectionsRecoverStakeAction with value set to v.
func (*OptElectionsRecoverStakeAction) Decode ¶
func (o *OptElectionsRecoverStakeAction) Decode(d *jx.Decoder) error
Decode decodes ElectionsRecoverStakeAction from json.
func (OptElectionsRecoverStakeAction) Encode ¶
func (o OptElectionsRecoverStakeAction) Encode(e *jx.Encoder)
Encode encodes ElectionsRecoverStakeAction as json.
func (OptElectionsRecoverStakeAction) Get ¶
func (o OptElectionsRecoverStakeAction) Get() (v ElectionsRecoverStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptElectionsRecoverStakeAction) IsSet ¶
func (o OptElectionsRecoverStakeAction) IsSet() bool
IsSet returns true if OptElectionsRecoverStakeAction was set.
func (OptElectionsRecoverStakeAction) MarshalJSON ¶
func (s OptElectionsRecoverStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptElectionsRecoverStakeAction) Or ¶
func (o OptElectionsRecoverStakeAction) Or(d ElectionsRecoverStakeAction) ElectionsRecoverStakeAction
Or returns value if set, or given parameter if does not.
func (*OptElectionsRecoverStakeAction) Reset ¶
func (o *OptElectionsRecoverStakeAction) Reset()
Reset unsets value.
func (*OptElectionsRecoverStakeAction) SetTo ¶
func (o *OptElectionsRecoverStakeAction) SetTo(v ElectionsRecoverStakeAction)
SetTo sets value to v.
func (*OptElectionsRecoverStakeAction) UnmarshalJSON ¶
func (s *OptElectionsRecoverStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptEncryptedComment ¶
type OptEncryptedComment struct { Value EncryptedComment Set bool }
OptEncryptedComment is optional EncryptedComment.
func NewOptEncryptedComment ¶
func NewOptEncryptedComment(v EncryptedComment) OptEncryptedComment
NewOptEncryptedComment returns new OptEncryptedComment with value set to v.
func (*OptEncryptedComment) Decode ¶
func (o *OptEncryptedComment) Decode(d *jx.Decoder) error
Decode decodes EncryptedComment from json.
func (OptEncryptedComment) Encode ¶
func (o OptEncryptedComment) Encode(e *jx.Encoder)
Encode encodes EncryptedComment as json.
func (OptEncryptedComment) Get ¶
func (o OptEncryptedComment) Get() (v EncryptedComment, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptEncryptedComment) IsSet ¶
func (o OptEncryptedComment) IsSet() bool
IsSet returns true if OptEncryptedComment was set.
func (OptEncryptedComment) MarshalJSON ¶
func (s OptEncryptedComment) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptEncryptedComment) Or ¶
func (o OptEncryptedComment) Or(d EncryptedComment) EncryptedComment
Or returns value if set, or given parameter if does not.
func (*OptEncryptedComment) SetTo ¶
func (o *OptEncryptedComment) SetTo(v EncryptedComment)
SetTo sets value to v.
func (*OptEncryptedComment) UnmarshalJSON ¶
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 OptJettonBridgePrices ¶
type OptJettonBridgePrices struct { Value JettonBridgePrices Set bool }
OptJettonBridgePrices is optional JettonBridgePrices.
func NewOptJettonBridgePrices ¶
func NewOptJettonBridgePrices(v JettonBridgePrices) OptJettonBridgePrices
NewOptJettonBridgePrices returns new OptJettonBridgePrices with value set to v.
func (*OptJettonBridgePrices) Decode ¶
func (o *OptJettonBridgePrices) Decode(d *jx.Decoder) error
Decode decodes JettonBridgePrices from json.
func (OptJettonBridgePrices) Encode ¶
func (o OptJettonBridgePrices) Encode(e *jx.Encoder)
Encode encodes JettonBridgePrices as json.
func (OptJettonBridgePrices) Get ¶
func (o OptJettonBridgePrices) Get() (v JettonBridgePrices, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonBridgePrices) IsSet ¶
func (o OptJettonBridgePrices) IsSet() bool
IsSet returns true if OptJettonBridgePrices was set.
func (OptJettonBridgePrices) MarshalJSON ¶
func (s OptJettonBridgePrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonBridgePrices) Or ¶
func (o OptJettonBridgePrices) Or(d JettonBridgePrices) JettonBridgePrices
Or returns value if set, or given parameter if does not.
func (*OptJettonBridgePrices) SetTo ¶
func (o *OptJettonBridgePrices) SetTo(v JettonBridgePrices)
SetTo sets value to v.
func (*OptJettonBridgePrices) UnmarshalJSON ¶
func (s *OptJettonBridgePrices) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptJettonBurnAction ¶
type OptJettonBurnAction struct { Value JettonBurnAction Set bool }
OptJettonBurnAction is optional JettonBurnAction.
func NewOptJettonBurnAction ¶
func NewOptJettonBurnAction(v JettonBurnAction) OptJettonBurnAction
NewOptJettonBurnAction returns new OptJettonBurnAction with value set to v.
func (*OptJettonBurnAction) Decode ¶
func (o *OptJettonBurnAction) Decode(d *jx.Decoder) error
Decode decodes JettonBurnAction from json.
func (OptJettonBurnAction) Encode ¶
func (o OptJettonBurnAction) Encode(e *jx.Encoder)
Encode encodes JettonBurnAction as json.
func (OptJettonBurnAction) Get ¶
func (o OptJettonBurnAction) Get() (v JettonBurnAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonBurnAction) IsSet ¶
func (o OptJettonBurnAction) IsSet() bool
IsSet returns true if OptJettonBurnAction was set.
func (OptJettonBurnAction) MarshalJSON ¶
func (s OptJettonBurnAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonBurnAction) Or ¶
func (o OptJettonBurnAction) Or(d JettonBurnAction) JettonBurnAction
Or returns value if set, or given parameter if does not.
func (*OptJettonBurnAction) SetTo ¶
func (o *OptJettonBurnAction) SetTo(v JettonBurnAction)
SetTo sets value to v.
func (*OptJettonBurnAction) UnmarshalJSON ¶
func (s *OptJettonBurnAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptJettonMintAction ¶
type OptJettonMintAction struct { Value JettonMintAction Set bool }
OptJettonMintAction is optional JettonMintAction.
func NewOptJettonMintAction ¶
func NewOptJettonMintAction(v JettonMintAction) OptJettonMintAction
NewOptJettonMintAction returns new OptJettonMintAction with value set to v.
func (*OptJettonMintAction) Decode ¶
func (o *OptJettonMintAction) Decode(d *jx.Decoder) error
Decode decodes JettonMintAction from json.
func (OptJettonMintAction) Encode ¶
func (o OptJettonMintAction) Encode(e *jx.Encoder)
Encode encodes JettonMintAction as json.
func (OptJettonMintAction) Get ¶
func (o OptJettonMintAction) Get() (v JettonMintAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonMintAction) IsSet ¶
func (o OptJettonMintAction) IsSet() bool
IsSet returns true if OptJettonMintAction was set.
func (OptJettonMintAction) MarshalJSON ¶
func (s OptJettonMintAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonMintAction) Or ¶
func (o OptJettonMintAction) Or(d JettonMintAction) JettonMintAction
Or returns value if set, or given parameter if does not.
func (*OptJettonMintAction) SetTo ¶
func (o *OptJettonMintAction) SetTo(v JettonMintAction)
SetTo sets value to v.
func (*OptJettonMintAction) UnmarshalJSON ¶
func (s *OptJettonMintAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptJettonPreview ¶
type OptJettonPreview struct { Value JettonPreview Set bool }
OptJettonPreview is optional JettonPreview.
func NewOptJettonPreview ¶
func NewOptJettonPreview(v JettonPreview) OptJettonPreview
NewOptJettonPreview returns new OptJettonPreview with value set to v.
func (*OptJettonPreview) Decode ¶
func (o *OptJettonPreview) Decode(d *jx.Decoder) error
Decode decodes JettonPreview from json.
func (OptJettonPreview) Encode ¶
func (o OptJettonPreview) Encode(e *jx.Encoder)
Encode encodes JettonPreview as json.
func (OptJettonPreview) Get ¶
func (o OptJettonPreview) Get() (v JettonPreview, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonPreview) IsSet ¶
func (o OptJettonPreview) IsSet() bool
IsSet returns true if OptJettonPreview was set.
func (OptJettonPreview) MarshalJSON ¶
func (s OptJettonPreview) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonPreview) Or ¶
func (o OptJettonPreview) Or(d JettonPreview) JettonPreview
Or returns value if set, or given parameter if does not.
func (*OptJettonPreview) SetTo ¶
func (o *OptJettonPreview) SetTo(v JettonPreview)
SetTo sets value to v.
func (*OptJettonPreview) UnmarshalJSON ¶
func (s *OptJettonPreview) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptJettonSwapAction ¶
type OptJettonSwapAction struct { Value JettonSwapAction Set bool }
OptJettonSwapAction is optional JettonSwapAction.
func NewOptJettonSwapAction ¶
func NewOptJettonSwapAction(v JettonSwapAction) OptJettonSwapAction
NewOptJettonSwapAction returns new OptJettonSwapAction with value set to v.
func (*OptJettonSwapAction) Decode ¶
func (o *OptJettonSwapAction) Decode(d *jx.Decoder) error
Decode decodes JettonSwapAction from json.
func (OptJettonSwapAction) Encode ¶
func (o OptJettonSwapAction) Encode(e *jx.Encoder)
Encode encodes JettonSwapAction as json.
func (OptJettonSwapAction) Get ¶
func (o OptJettonSwapAction) Get() (v JettonSwapAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptJettonSwapAction) IsSet ¶
func (o OptJettonSwapAction) IsSet() bool
IsSet returns true if OptJettonSwapAction was set.
func (OptJettonSwapAction) MarshalJSON ¶
func (s OptJettonSwapAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptJettonSwapAction) Or ¶
func (o OptJettonSwapAction) Or(d JettonSwapAction) JettonSwapAction
Or returns value if set, or given parameter if does not.
func (*OptJettonSwapAction) SetTo ¶
func (o *OptJettonSwapAction) SetTo(v JettonSwapAction)
SetTo sets value to v.
func (*OptJettonSwapAction) UnmarshalJSON ¶
func (s *OptJettonSwapAction) UnmarshalJSON(data []byte) error
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 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 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 OptTokenRates ¶
type OptTokenRates struct { Value TokenRates Set bool }
OptTokenRates is optional TokenRates.
func NewOptTokenRates ¶
func NewOptTokenRates(v TokenRates) OptTokenRates
NewOptTokenRates returns new OptTokenRates with value set to v.
func (*OptTokenRates) Decode ¶
func (o *OptTokenRates) Decode(d *jx.Decoder) error
Decode decodes TokenRates from json.
func (OptTokenRates) Encode ¶
func (o OptTokenRates) Encode(e *jx.Encoder)
Encode encodes TokenRates as json.
func (OptTokenRates) Get ¶
func (o OptTokenRates) Get() (v TokenRates, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenRates) IsSet ¶
func (o OptTokenRates) IsSet() bool
IsSet returns true if OptTokenRates was set.
func (OptTokenRates) MarshalJSON ¶
func (s OptTokenRates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenRates) Or ¶
func (o OptTokenRates) Or(d TokenRates) TokenRates
Or returns value if set, or given parameter if does not.
func (*OptTokenRates) UnmarshalJSON ¶
func (s *OptTokenRates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenRatesDiff24h ¶
type OptTokenRatesDiff24h struct { Value TokenRatesDiff24h Set bool }
OptTokenRatesDiff24h is optional TokenRatesDiff24h.
func NewOptTokenRatesDiff24h ¶
func NewOptTokenRatesDiff24h(v TokenRatesDiff24h) OptTokenRatesDiff24h
NewOptTokenRatesDiff24h returns new OptTokenRatesDiff24h with value set to v.
func (*OptTokenRatesDiff24h) Decode ¶
func (o *OptTokenRatesDiff24h) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff24h from json.
func (OptTokenRatesDiff24h) Encode ¶
func (o OptTokenRatesDiff24h) Encode(e *jx.Encoder)
Encode encodes TokenRatesDiff24h as json.
func (OptTokenRatesDiff24h) Get ¶
func (o OptTokenRatesDiff24h) Get() (v TokenRatesDiff24h, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenRatesDiff24h) IsSet ¶
func (o OptTokenRatesDiff24h) IsSet() bool
IsSet returns true if OptTokenRatesDiff24h was set.
func (OptTokenRatesDiff24h) MarshalJSON ¶
func (s OptTokenRatesDiff24h) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenRatesDiff24h) Or ¶
func (o OptTokenRatesDiff24h) Or(d TokenRatesDiff24h) TokenRatesDiff24h
Or returns value if set, or given parameter if does not.
func (*OptTokenRatesDiff24h) SetTo ¶
func (o *OptTokenRatesDiff24h) SetTo(v TokenRatesDiff24h)
SetTo sets value to v.
func (*OptTokenRatesDiff24h) UnmarshalJSON ¶
func (s *OptTokenRatesDiff24h) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenRatesDiff30d ¶
type OptTokenRatesDiff30d struct { Value TokenRatesDiff30d Set bool }
OptTokenRatesDiff30d is optional TokenRatesDiff30d.
func NewOptTokenRatesDiff30d ¶
func NewOptTokenRatesDiff30d(v TokenRatesDiff30d) OptTokenRatesDiff30d
NewOptTokenRatesDiff30d returns new OptTokenRatesDiff30d with value set to v.
func (*OptTokenRatesDiff30d) Decode ¶
func (o *OptTokenRatesDiff30d) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff30d from json.
func (OptTokenRatesDiff30d) Encode ¶
func (o OptTokenRatesDiff30d) Encode(e *jx.Encoder)
Encode encodes TokenRatesDiff30d as json.
func (OptTokenRatesDiff30d) Get ¶
func (o OptTokenRatesDiff30d) Get() (v TokenRatesDiff30d, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenRatesDiff30d) IsSet ¶
func (o OptTokenRatesDiff30d) IsSet() bool
IsSet returns true if OptTokenRatesDiff30d was set.
func (OptTokenRatesDiff30d) MarshalJSON ¶
func (s OptTokenRatesDiff30d) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenRatesDiff30d) Or ¶
func (o OptTokenRatesDiff30d) Or(d TokenRatesDiff30d) TokenRatesDiff30d
Or returns value if set, or given parameter if does not.
func (*OptTokenRatesDiff30d) SetTo ¶
func (o *OptTokenRatesDiff30d) SetTo(v TokenRatesDiff30d)
SetTo sets value to v.
func (*OptTokenRatesDiff30d) UnmarshalJSON ¶
func (s *OptTokenRatesDiff30d) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenRatesDiff7d ¶
type OptTokenRatesDiff7d struct { Value TokenRatesDiff7d Set bool }
OptTokenRatesDiff7d is optional TokenRatesDiff7d.
func NewOptTokenRatesDiff7d ¶
func NewOptTokenRatesDiff7d(v TokenRatesDiff7d) OptTokenRatesDiff7d
NewOptTokenRatesDiff7d returns new OptTokenRatesDiff7d with value set to v.
func (*OptTokenRatesDiff7d) Decode ¶
func (o *OptTokenRatesDiff7d) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff7d from json.
func (OptTokenRatesDiff7d) Encode ¶
func (o OptTokenRatesDiff7d) Encode(e *jx.Encoder)
Encode encodes TokenRatesDiff7d as json.
func (OptTokenRatesDiff7d) Get ¶
func (o OptTokenRatesDiff7d) Get() (v TokenRatesDiff7d, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenRatesDiff7d) IsSet ¶
func (o OptTokenRatesDiff7d) IsSet() bool
IsSet returns true if OptTokenRatesDiff7d was set.
func (OptTokenRatesDiff7d) MarshalJSON ¶
func (s OptTokenRatesDiff7d) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenRatesDiff7d) Or ¶
func (o OptTokenRatesDiff7d) Or(d TokenRatesDiff7d) TokenRatesDiff7d
Or returns value if set, or given parameter if does not.
func (*OptTokenRatesDiff7d) SetTo ¶
func (o *OptTokenRatesDiff7d) SetTo(v TokenRatesDiff7d)
SetTo sets value to v.
func (*OptTokenRatesDiff7d) UnmarshalJSON ¶
func (s *OptTokenRatesDiff7d) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptTokenRatesPrices ¶
type OptTokenRatesPrices struct { Value TokenRatesPrices Set bool }
OptTokenRatesPrices is optional TokenRatesPrices.
func NewOptTokenRatesPrices ¶
func NewOptTokenRatesPrices(v TokenRatesPrices) OptTokenRatesPrices
NewOptTokenRatesPrices returns new OptTokenRatesPrices with value set to v.
func (*OptTokenRatesPrices) Decode ¶
func (o *OptTokenRatesPrices) Decode(d *jx.Decoder) error
Decode decodes TokenRatesPrices from json.
func (OptTokenRatesPrices) Encode ¶
func (o OptTokenRatesPrices) Encode(e *jx.Encoder)
Encode encodes TokenRatesPrices as json.
func (OptTokenRatesPrices) Get ¶
func (o OptTokenRatesPrices) Get() (v TokenRatesPrices, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptTokenRatesPrices) IsSet ¶
func (o OptTokenRatesPrices) IsSet() bool
IsSet returns true if OptTokenRatesPrices was set.
func (OptTokenRatesPrices) MarshalJSON ¶
func (s OptTokenRatesPrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptTokenRatesPrices) Or ¶
func (o OptTokenRatesPrices) Or(d TokenRatesPrices) TokenRatesPrices
Or returns value if set, or given parameter if does not.
func (*OptTokenRatesPrices) SetTo ¶
func (o *OptTokenRatesPrices) SetTo(v TokenRatesPrices)
SetTo sets value to v.
func (*OptTokenRatesPrices) UnmarshalJSON ¶
func (s *OptTokenRatesPrices) 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 ¶
OptUint64 is optional uint64.
func NewOptUint64 ¶
NewOptUint64 returns new OptUint64 with value set to v.
func (OptUint64) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*OptUint64) UnmarshalJSON ¶
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 ¶
type OptValidatorsSet struct { Value ValidatorsSet Set bool }
OptValidatorsSet is optional ValidatorsSet.
func NewOptValidatorsSet ¶
func NewOptValidatorsSet(v ValidatorsSet) OptValidatorsSet
NewOptValidatorsSet returns new OptValidatorsSet with value set to v.
func (*OptValidatorsSet) Decode ¶
func (o *OptValidatorsSet) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSet from json.
func (OptValidatorsSet) Encode ¶
func (o OptValidatorsSet) Encode(e *jx.Encoder)
Encode encodes ValidatorsSet as json.
func (OptValidatorsSet) Get ¶
func (o OptValidatorsSet) Get() (v ValidatorsSet, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptValidatorsSet) IsSet ¶
func (o OptValidatorsSet) IsSet() bool
IsSet returns true if OptValidatorsSet was set.
func (OptValidatorsSet) MarshalJSON ¶
func (s OptValidatorsSet) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptValidatorsSet) Or ¶
func (o OptValidatorsSet) Or(d ValidatorsSet) ValidatorsSet
Or returns value if set, or given parameter if does not.
func (*OptValidatorsSet) SetTo ¶
func (o *OptValidatorsSet) SetTo(v ValidatorsSet)
SetTo sets value to v.
func (*OptValidatorsSet) UnmarshalJSON ¶
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 OptWithdrawStakeAction ¶
type OptWithdrawStakeAction struct { Value WithdrawStakeAction Set bool }
OptWithdrawStakeAction is optional WithdrawStakeAction.
func NewOptWithdrawStakeAction ¶
func NewOptWithdrawStakeAction(v WithdrawStakeAction) OptWithdrawStakeAction
NewOptWithdrawStakeAction returns new OptWithdrawStakeAction with value set to v.
func (*OptWithdrawStakeAction) Decode ¶
func (o *OptWithdrawStakeAction) Decode(d *jx.Decoder) error
Decode decodes WithdrawStakeAction from json.
func (OptWithdrawStakeAction) Encode ¶
func (o OptWithdrawStakeAction) Encode(e *jx.Encoder)
Encode encodes WithdrawStakeAction as json.
func (OptWithdrawStakeAction) Get ¶
func (o OptWithdrawStakeAction) Get() (v WithdrawStakeAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWithdrawStakeAction) IsSet ¶
func (o OptWithdrawStakeAction) IsSet() bool
IsSet returns true if OptWithdrawStakeAction was set.
func (OptWithdrawStakeAction) MarshalJSON ¶
func (s OptWithdrawStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (OptWithdrawStakeAction) Or ¶
func (o OptWithdrawStakeAction) Or(d WithdrawStakeAction) WithdrawStakeAction
Or returns value if set, or given parameter if does not.
func (*OptWithdrawStakeAction) SetTo ¶
func (o *OptWithdrawStakeAction) SetTo(v WithdrawStakeAction)
SetTo sets value to v.
func (*OptWithdrawStakeAction) UnmarshalJSON ¶
func (s *OptWithdrawStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type OptWithdrawStakeRequestAction ¶
type OptWithdrawStakeRequestAction struct { Value WithdrawStakeRequestAction Set bool }
OptWithdrawStakeRequestAction is optional WithdrawStakeRequestAction.
func NewOptWithdrawStakeRequestAction ¶
func NewOptWithdrawStakeRequestAction(v WithdrawStakeRequestAction) OptWithdrawStakeRequestAction
NewOptWithdrawStakeRequestAction returns new OptWithdrawStakeRequestAction with value set to v.
func (*OptWithdrawStakeRequestAction) Decode ¶
func (o *OptWithdrawStakeRequestAction) Decode(d *jx.Decoder) error
Decode decodes WithdrawStakeRequestAction from json.
func (OptWithdrawStakeRequestAction) Encode ¶
func (o OptWithdrawStakeRequestAction) Encode(e *jx.Encoder)
Encode encodes WithdrawStakeRequestAction as json.
func (OptWithdrawStakeRequestAction) Get ¶
func (o OptWithdrawStakeRequestAction) Get() (v WithdrawStakeRequestAction, ok bool)
Get returns value and boolean that denotes whether value was set.
func (OptWithdrawStakeRequestAction) IsSet ¶
func (o OptWithdrawStakeRequestAction) IsSet() bool
IsSet returns true if OptWithdrawStakeRequestAction was set.
func (OptWithdrawStakeRequestAction) MarshalJSON ¶
func (s OptWithdrawStakeRequestAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OptWithdrawStakeRequestAction) Reset ¶
func (o *OptWithdrawStakeRequestAction) Reset()
Reset unsets value.
func (*OptWithdrawStakeRequestAction) SetTo ¶
func (o *OptWithdrawStakeRequestAction) SetTo(v WithdrawStakeRequestAction)
SetTo sets value to v.
func (*OptWithdrawStakeRequestAction) UnmarshalJSON ¶
func (s *OptWithdrawStakeRequestAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Option ¶
type Option interface { 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 otel.GetMeterProvider() 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 Oracle ¶
Ref: #/components/schemas/Oracle
func (*Oracle) GetAddress ¶
GetAddress returns the value of Address.
func (*Oracle) GetSecpPubkey ¶
GetSecpPubkey returns the value of SecpPubkey.
func (*Oracle) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Oracle) SetAddress ¶
SetAddress sets the value of Address.
func (*Oracle) SetSecpPubkey ¶
SetSecpPubkey sets the value of SecpPubkey.
func (*Oracle) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type OracleBridgeParams ¶
type OracleBridgeParams struct { BridgeAddr string `json:"bridge_addr"` OracleMultisigAddress string `json:"oracle_multisig_address"` ExternalChainAddress string `json:"external_chain_address"` Oracles []Oracle `json:"oracles"` }
Ref: #/components/schemas/OracleBridgeParams
func (*OracleBridgeParams) Decode ¶
func (s *OracleBridgeParams) Decode(d *jx.Decoder) error
Decode decodes OracleBridgeParams from json.
func (*OracleBridgeParams) Encode ¶
func (s *OracleBridgeParams) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*OracleBridgeParams) GetBridgeAddr ¶
func (s *OracleBridgeParams) GetBridgeAddr() string
GetBridgeAddr returns the value of BridgeAddr.
func (*OracleBridgeParams) GetExternalChainAddress ¶
func (s *OracleBridgeParams) GetExternalChainAddress() string
GetExternalChainAddress returns the value of ExternalChainAddress.
func (*OracleBridgeParams) GetOracleMultisigAddress ¶
func (s *OracleBridgeParams) GetOracleMultisigAddress() string
GetOracleMultisigAddress returns the value of OracleMultisigAddress.
func (*OracleBridgeParams) GetOracles ¶
func (s *OracleBridgeParams) GetOracles() []Oracle
GetOracles returns the value of Oracles.
func (*OracleBridgeParams) MarshalJSON ¶
func (s *OracleBridgeParams) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*OracleBridgeParams) SetBridgeAddr ¶
func (s *OracleBridgeParams) SetBridgeAddr(val string)
SetBridgeAddr sets the value of BridgeAddr.
func (*OracleBridgeParams) SetExternalChainAddress ¶
func (s *OracleBridgeParams) SetExternalChainAddress(val string)
SetExternalChainAddress sets the value of ExternalChainAddress.
func (*OracleBridgeParams) SetOracleMultisigAddress ¶
func (s *OracleBridgeParams) SetOracleMultisigAddress(val string)
SetOracleMultisigAddress sets the value of OracleMultisigAddress.
func (*OracleBridgeParams) SetOracles ¶
func (s *OracleBridgeParams) SetOracles(val []Oracle)
SetOracles sets the value of Oracles.
func (*OracleBridgeParams) UnmarshalJSON ¶
func (s *OracleBridgeParams) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*OracleBridgeParams) Validate ¶
func (s *OracleBridgeParams) Validate() error
type PoolImplementation ¶
type PoolImplementation struct { Name string `json:"name"` Description string `json:"description"` URL string `json:"url"` Socials []string `json:"socials"` }
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) GetSocials ¶
func (s *PoolImplementation) GetSocials() []string
GetSocials returns the value of Socials.
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) SetSocials ¶
func (s *PoolImplementation) SetSocials(val []string)
SetSocials sets the value of Socials.
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.
func (*PoolImplementation) Validate ¶
func (s *PoolImplementation) Validate() error
type PoolImplementationType ¶
type PoolImplementationType string
Ref: #/components/schemas/PoolImplementationType
const ( PoolImplementationTypeWhales PoolImplementationType = "whales" PoolImplementationTypeTf PoolImplementationType = "tf" PoolImplementationTypeLiquidTF PoolImplementationType = "liquidTF" )
func (PoolImplementationType) AllValues ¶
func (PoolImplementationType) AllValues() []PoolImplementationType
AllValues returns all PoolImplementationType values.
func (*PoolImplementationType) Decode ¶
func (s *PoolImplementationType) Decode(d *jx.Decoder) error
Decode decodes PoolImplementationType from json.
func (PoolImplementationType) Encode ¶
func (s PoolImplementationType) Encode(e *jx.Encoder)
Encode encodes PoolImplementationType as json.
func (PoolImplementationType) MarshalJSON ¶
func (s PoolImplementationType) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (PoolImplementationType) MarshalText ¶
func (s PoolImplementationType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*PoolImplementationType) UnmarshalJSON ¶
func (s *PoolImplementationType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*PoolImplementationType) UnmarshalText ¶
func (s *PoolImplementationType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
func (PoolImplementationType) Validate ¶
func (s PoolImplementationType) Validate() error
type PoolInfo ¶
type PoolInfo struct { Address string `json:"address"` Name string `json:"name"` TotalAmount int64 `json:"total_amount"` Implementation PoolImplementationType `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"` // Total stake of all nominators. NominatorsStake int64 `json:"nominators_stake"` // Stake of validator. ValidatorStake int64 `json:"validator_stake"` CycleLength OptInt64 `json:"cycle_length"` }
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) GetCycleLength ¶
GetCycleLength returns the value of CycleLength.
func (*PoolInfo) GetCycleStart ¶
GetCycleStart returns the value of CycleStart.
func (*PoolInfo) GetImplementation ¶
func (s *PoolInfo) GetImplementation() PoolImplementationType
GetImplementation returns the value of Implementation.
func (*PoolInfo) GetLiquidJettonMaster ¶
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) GetNominatorsStake ¶
GetNominatorsStake returns the value of NominatorsStake.
func (*PoolInfo) GetTotalAmount ¶
GetTotalAmount returns the value of TotalAmount.
func (*PoolInfo) GetValidatorStake ¶
GetValidatorStake returns the value of ValidatorStake.
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) SetCycleLength ¶
SetCycleLength sets the value of CycleLength.
func (*PoolInfo) SetCycleStart ¶
SetCycleStart sets the value of CycleStart.
func (*PoolInfo) SetImplementation ¶
func (s *PoolInfo) SetImplementation(val PoolImplementationType)
SetImplementation sets the value of Implementation.
func (*PoolInfo) SetLiquidJettonMaster ¶
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) SetNominatorsStake ¶
SetNominatorsStake sets the value of NominatorsStake.
func (*PoolInfo) SetTotalAmount ¶
SetTotalAmount sets the value of TotalAmount.
func (*PoolInfo) SetValidatorStake ¶
SetValidatorStake sets the value of ValidatorStake.
func (*PoolInfo) SetVerified ¶
SetVerified sets the value of Verified.
func (*PoolInfo) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 RawBlockchainConfig ¶
type RawBlockchainConfig struct {
Config RawBlockchainConfigConfig `json:"config"`
}
Ref: #/components/schemas/RawBlockchainConfig
func (*RawBlockchainConfig) Decode ¶
func (s *RawBlockchainConfig) Decode(d *jx.Decoder) error
Decode decodes RawBlockchainConfig from json.
func (*RawBlockchainConfig) Encode ¶
func (s *RawBlockchainConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*RawBlockchainConfig) GetConfig ¶
func (s *RawBlockchainConfig) GetConfig() RawBlockchainConfigConfig
GetConfig returns the value of Config.
func (*RawBlockchainConfig) MarshalJSON ¶
func (s *RawBlockchainConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RawBlockchainConfig) SetConfig ¶
func (s *RawBlockchainConfig) SetConfig(val RawBlockchainConfigConfig)
SetConfig sets the value of Config.
func (*RawBlockchainConfig) UnmarshalJSON ¶
func (s *RawBlockchainConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type RawBlockchainConfigConfig ¶
func (*RawBlockchainConfigConfig) Decode ¶
func (s *RawBlockchainConfigConfig) Decode(d *jx.Decoder) error
Decode decodes RawBlockchainConfigConfig from json.
func (RawBlockchainConfigConfig) Encode ¶
func (s RawBlockchainConfigConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (RawBlockchainConfigConfig) MarshalJSON ¶
func (s RawBlockchainConfigConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*RawBlockchainConfigConfig) UnmarshalJSON ¶
func (s *RawBlockchainConfigConfig) 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) AllValues ¶
func (RefundType) AllValues() []RefundType
AllValues returns all RefundType values.
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) MarshalText ¶
func (s RefundType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*RefundType) UnmarshalJSON ¶
func (s *RefundType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*RefundType) UnmarshalText ¶
func (s *RefundType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 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 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) GetAddress ¶
GetAddress returns the value of Address.
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 SearchAccountsParams ¶
type SearchAccountsParams struct {
Name string
}
SearchAccountsParams is parameters of searchAccounts operation.
type SendBlockchainMessageOK ¶
type SendBlockchainMessageOK struct{}
SendBlockchainMessageOK is response for SendBlockchainMessage operation.
type SendBlockchainMessageReq ¶
func (*SendBlockchainMessageReq) Decode ¶
func (s *SendBlockchainMessageReq) Decode(d *jx.Decoder) error
Decode decodes SendBlockchainMessageReq from json.
func (*SendBlockchainMessageReq) Encode ¶
func (s *SendBlockchainMessageReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SendBlockchainMessageReq) GetBatch ¶
func (s *SendBlockchainMessageReq) GetBatch() []string
GetBatch returns the value of Batch.
func (*SendBlockchainMessageReq) GetBoc ¶
func (s *SendBlockchainMessageReq) GetBoc() OptString
GetBoc returns the value of Boc.
func (*SendBlockchainMessageReq) MarshalJSON ¶
func (s *SendBlockchainMessageReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendBlockchainMessageReq) SetBatch ¶
func (s *SendBlockchainMessageReq) SetBatch(val []string)
SetBatch sets the value of Batch.
func (*SendBlockchainMessageReq) SetBoc ¶
func (s *SendBlockchainMessageReq) SetBoc(val OptString)
SetBoc sets the value of Boc.
func (*SendBlockchainMessageReq) UnmarshalJSON ¶
func (s *SendBlockchainMessageReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*SendBlockchainMessageReq) Validate ¶
func (s *SendBlockchainMessageReq) Validate() error
type SendRawMessageOK ¶
type SendRawMessageOK struct {
Code uint32 `json:"code"`
}
func (*SendRawMessageOK) Decode ¶
func (s *SendRawMessageOK) Decode(d *jx.Decoder) error
Decode decodes SendRawMessageOK from json.
func (*SendRawMessageOK) Encode ¶
func (s *SendRawMessageOK) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SendRawMessageOK) GetCode ¶
func (s *SendRawMessageOK) GetCode() uint32
GetCode returns the value of Code.
func (*SendRawMessageOK) MarshalJSON ¶
func (s *SendRawMessageOK) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendRawMessageOK) SetCode ¶
func (s *SendRawMessageOK) SetCode(val uint32)
SetCode sets the value of Code.
func (*SendRawMessageOK) UnmarshalJSON ¶
func (s *SendRawMessageOK) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type SendRawMessageReq ¶
type SendRawMessageReq struct {
Body string `json:"body"`
}
func (*SendRawMessageReq) Decode ¶
func (s *SendRawMessageReq) Decode(d *jx.Decoder) error
Decode decodes SendRawMessageReq from json.
func (*SendRawMessageReq) Encode ¶
func (s *SendRawMessageReq) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SendRawMessageReq) GetBody ¶
func (s *SendRawMessageReq) GetBody() string
GetBody returns the value of Body.
func (*SendRawMessageReq) MarshalJSON ¶
func (s *SendRawMessageReq) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SendRawMessageReq) SetBody ¶
func (s *SendRawMessageReq) SetBody(val string)
SetBody sets the value of Body.
func (*SendRawMessageReq) UnmarshalJSON ¶
func (s *SendRawMessageReq) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type Seqno ¶
type Seqno struct {
Seqno uint32 `json:"seqno"`
}
Ref: #/components/schemas/Seqno
func (*Seqno) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Seqno) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
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 SizeLimitsConfig ¶
type SizeLimitsConfig struct { MaxMsgBits int64 `json:"max_msg_bits"` MaxMsgCells int64 `json:"max_msg_cells"` MaxLibraryCells int64 `json:"max_library_cells"` MaxVMDataDepth int `json:"max_vm_data_depth"` MaxExtMsgSize int64 `json:"max_ext_msg_size"` MaxExtMsgDepth int `json:"max_ext_msg_depth"` MaxAccStateCells OptInt64 `json:"max_acc_state_cells"` MaxAccStateBits OptInt64 `json:"max_acc_state_bits"` }
Ref: #/components/schemas/SizeLimitsConfig
func (*SizeLimitsConfig) Decode ¶
func (s *SizeLimitsConfig) Decode(d *jx.Decoder) error
Decode decodes SizeLimitsConfig from json.
func (*SizeLimitsConfig) Encode ¶
func (s *SizeLimitsConfig) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*SizeLimitsConfig) GetMaxAccStateBits ¶
func (s *SizeLimitsConfig) GetMaxAccStateBits() OptInt64
GetMaxAccStateBits returns the value of MaxAccStateBits.
func (*SizeLimitsConfig) GetMaxAccStateCells ¶
func (s *SizeLimitsConfig) GetMaxAccStateCells() OptInt64
GetMaxAccStateCells returns the value of MaxAccStateCells.
func (*SizeLimitsConfig) GetMaxExtMsgDepth ¶
func (s *SizeLimitsConfig) GetMaxExtMsgDepth() int
GetMaxExtMsgDepth returns the value of MaxExtMsgDepth.
func (*SizeLimitsConfig) GetMaxExtMsgSize ¶
func (s *SizeLimitsConfig) GetMaxExtMsgSize() int64
GetMaxExtMsgSize returns the value of MaxExtMsgSize.
func (*SizeLimitsConfig) GetMaxLibraryCells ¶
func (s *SizeLimitsConfig) GetMaxLibraryCells() int64
GetMaxLibraryCells returns the value of MaxLibraryCells.
func (*SizeLimitsConfig) GetMaxMsgBits ¶
func (s *SizeLimitsConfig) GetMaxMsgBits() int64
GetMaxMsgBits returns the value of MaxMsgBits.
func (*SizeLimitsConfig) GetMaxMsgCells ¶
func (s *SizeLimitsConfig) GetMaxMsgCells() int64
GetMaxMsgCells returns the value of MaxMsgCells.
func (*SizeLimitsConfig) GetMaxVMDataDepth ¶
func (s *SizeLimitsConfig) GetMaxVMDataDepth() int
GetMaxVMDataDepth returns the value of MaxVMDataDepth.
func (*SizeLimitsConfig) MarshalJSON ¶
func (s *SizeLimitsConfig) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*SizeLimitsConfig) SetMaxAccStateBits ¶
func (s *SizeLimitsConfig) SetMaxAccStateBits(val OptInt64)
SetMaxAccStateBits sets the value of MaxAccStateBits.
func (*SizeLimitsConfig) SetMaxAccStateCells ¶
func (s *SizeLimitsConfig) SetMaxAccStateCells(val OptInt64)
SetMaxAccStateCells sets the value of MaxAccStateCells.
func (*SizeLimitsConfig) SetMaxExtMsgDepth ¶
func (s *SizeLimitsConfig) SetMaxExtMsgDepth(val int)
SetMaxExtMsgDepth sets the value of MaxExtMsgDepth.
func (*SizeLimitsConfig) SetMaxExtMsgSize ¶
func (s *SizeLimitsConfig) SetMaxExtMsgSize(val int64)
SetMaxExtMsgSize sets the value of MaxExtMsgSize.
func (*SizeLimitsConfig) SetMaxLibraryCells ¶
func (s *SizeLimitsConfig) SetMaxLibraryCells(val int64)
SetMaxLibraryCells sets the value of MaxLibraryCells.
func (*SizeLimitsConfig) SetMaxMsgBits ¶
func (s *SizeLimitsConfig) SetMaxMsgBits(val int64)
SetMaxMsgBits sets the value of MaxMsgBits.
func (*SizeLimitsConfig) SetMaxMsgCells ¶
func (s *SizeLimitsConfig) SetMaxMsgCells(val int64)
SetMaxMsgCells sets the value of MaxMsgCells.
func (*SizeLimitsConfig) SetMaxVMDataDepth ¶
func (s *SizeLimitsConfig) SetMaxVMDataDepth(val int)
SetMaxVMDataDepth sets the value of MaxVMDataDepth.
func (*SizeLimitsConfig) UnmarshalJSON ¶
func (s *SizeLimitsConfig) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
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 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 StreamingAPI ¶
type StreamingAPI struct {
// contains filtered or unexported fields
}
StreamingAPI provides a convenient way to receive events happening on the TON blockchain.
func NewStreamingAPI ¶
func NewStreamingAPI(opts ...StreamingOption) *StreamingAPI
func (*StreamingAPI) SubscribeToMempool ¶
func (s *StreamingAPI) SubscribeToMempool(ctx context.Context, handler MempoolHandler) error
SubscribeToMempool opens a new sse connection to tonapi.io and subscribes to new mempool events. When a new mempool event is received, the handler will be called. This function returns an error when the underlying connection fails or context is canceled. No automatic reconnection is performed.
func (*StreamingAPI) SubscribeToTraces ¶
func (s *StreamingAPI) SubscribeToTraces(ctx context.Context, accounts []string, handler TraceHandler) error
SubscribeToTraces opens a new sse connection to tonapi.io and subscribes to new traces for the specified accounts. When a new trace is received, the handler will be called. If accounts is empty, all traces for all accounts will be received. This function returns an error when the underlying connection fails or context is canceled. No automatic reconnection is performed.
func (*StreamingAPI) SubscribeToTransactions ¶
func (s *StreamingAPI) SubscribeToTransactions(ctx context.Context, accounts []string, handler TransactionHandler) error
SubscribeToTransactions opens a new sse connection to tonapi.io and subscribes to new transactions for the specified accounts. When a new transaction is received, the handler will be called. If accounts is empty, all traces for all accounts will be received. This function returns an error when the underlying connection fails or context is canceled. No automatic reconnection is performed.
func (*StreamingAPI) WebsocketHandleRequests ¶
func (s *StreamingAPI) WebsocketHandleRequests(ctx context.Context, fn WebsocketConfigurator) error
WebsocketHandleRequests opens a new websocket connection to tonapi.io and run JSON RPC protocol. The advantage of using this method over SubscribeTo* methods is that you can subscribe and unsubscribe to/from multiple events at any time and in any order.
The given configurator runs in a dedicated goroutine independently of the connection's main loop and can be used in two ways:
- to configure the connection and quit immediately, returning nil. In this case, the connection is configured only once and there is no way to reconfigure it later.
- to run a loop which reconfigures the connection once you need to subscribe/unsubscribe to new events. If the configurator returns an error, the connection will be closed and the function will return the error.
The configurator is called when the underlying websocket connection is established.
type StreamingOption ¶
type StreamingOption func(*StreamingOptions)
func WithStreamingEndpoint ¶
func WithStreamingEndpoint(endpoint string) StreamingOption
WithStreamingEndpoint configures a StreamingAPI instance to use the specified endpoint instead of https://tonapi.io.
func WithStreamingLogger ¶
func WithStreamingLogger(logger Logger) StreamingOption
func WithStreamingTestnet ¶
func WithStreamingTestnet() StreamingOption
WithStreamingTestnet configures a StreamingAPI instance to use an endpoint to work with testnet.
func WithStreamingToken ¶
func WithStreamingToken(apiKey string) StreamingOption
WithStreamingToken configures a StreamingAPI instance to use the specified API key for authorization.
When working with tonapi.io, you should consider getting an API key at https://tonconsole.com/ because tonapi.io has per-ip limits for sse and websocket connections.
type StreamingOptions ¶
type StreamingOptions struct {
// contains filtered or unexported fields
}
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 TokenRates ¶
type TokenRates struct { Prices OptTokenRatesPrices `json:"prices"` Diff24h OptTokenRatesDiff24h `json:"diff_24h"` Diff7d OptTokenRatesDiff7d `json:"diff_7d"` Diff30d OptTokenRatesDiff30d `json:"diff_30d"` }
Ref: #/components/schemas/TokenRates
func (*TokenRates) Decode ¶
func (s *TokenRates) Decode(d *jx.Decoder) error
Decode decodes TokenRates from json.
func (*TokenRates) Encode ¶
func (s *TokenRates) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*TokenRates) GetDiff24h ¶
func (s *TokenRates) GetDiff24h() OptTokenRatesDiff24h
GetDiff24h returns the value of Diff24h.
func (*TokenRates) GetDiff30d ¶
func (s *TokenRates) GetDiff30d() OptTokenRatesDiff30d
GetDiff30d returns the value of Diff30d.
func (*TokenRates) GetDiff7d ¶
func (s *TokenRates) GetDiff7d() OptTokenRatesDiff7d
GetDiff7d returns the value of Diff7d.
func (*TokenRates) GetPrices ¶
func (s *TokenRates) GetPrices() OptTokenRatesPrices
GetPrices returns the value of Prices.
func (*TokenRates) MarshalJSON ¶
func (s *TokenRates) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenRates) SetDiff24h ¶
func (s *TokenRates) SetDiff24h(val OptTokenRatesDiff24h)
SetDiff24h sets the value of Diff24h.
func (*TokenRates) SetDiff30d ¶
func (s *TokenRates) SetDiff30d(val OptTokenRatesDiff30d)
SetDiff30d sets the value of Diff30d.
func (*TokenRates) SetDiff7d ¶
func (s *TokenRates) SetDiff7d(val OptTokenRatesDiff7d)
SetDiff7d sets the value of Diff7d.
func (*TokenRates) SetPrices ¶
func (s *TokenRates) SetPrices(val OptTokenRatesPrices)
SetPrices sets the value of Prices.
func (*TokenRates) UnmarshalJSON ¶
func (s *TokenRates) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TokenRates) Validate ¶
func (s *TokenRates) Validate() error
type TokenRatesDiff24h ¶
func (*TokenRatesDiff24h) Decode ¶
func (s *TokenRatesDiff24h) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff24h from json.
func (TokenRatesDiff24h) Encode ¶
func (s TokenRatesDiff24h) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TokenRatesDiff24h) MarshalJSON ¶
func (s TokenRatesDiff24h) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenRatesDiff24h) UnmarshalJSON ¶
func (s *TokenRatesDiff24h) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TokenRatesDiff30d ¶
func (*TokenRatesDiff30d) Decode ¶
func (s *TokenRatesDiff30d) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff30d from json.
func (TokenRatesDiff30d) Encode ¶
func (s TokenRatesDiff30d) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TokenRatesDiff30d) MarshalJSON ¶
func (s TokenRatesDiff30d) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenRatesDiff30d) UnmarshalJSON ¶
func (s *TokenRatesDiff30d) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TokenRatesDiff7d ¶
func (*TokenRatesDiff7d) Decode ¶
func (s *TokenRatesDiff7d) Decode(d *jx.Decoder) error
Decode decodes TokenRatesDiff7d from json.
func (TokenRatesDiff7d) Encode ¶
func (s TokenRatesDiff7d) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TokenRatesDiff7d) MarshalJSON ¶
func (s TokenRatesDiff7d) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenRatesDiff7d) UnmarshalJSON ¶
func (s *TokenRatesDiff7d) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
type TokenRatesPrices ¶
func (*TokenRatesPrices) Decode ¶
func (s *TokenRatesPrices) Decode(d *jx.Decoder) error
Decode decodes TokenRatesPrices from json.
func (TokenRatesPrices) Encode ¶
func (s TokenRatesPrices) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (TokenRatesPrices) MarshalJSON ¶
func (s TokenRatesPrices) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*TokenRatesPrices) UnmarshalJSON ¶
func (s *TokenRatesPrices) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (TokenRatesPrices) Validate ¶
func (s TokenRatesPrices) 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 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 ¶
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 ¶
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"` Emulated OptBool `json:"emulated"` }
Ref: #/components/schemas/Trace
func (*Trace) GetChildren ¶
GetChildren returns the value of Children.
func (*Trace) GetEmulated ¶
GetEmulated returns the value of Emulated.
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) SetEmulated ¶
SetEmulated sets the value of Emulated.
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 TraceEventData ¶
type TraceEventData struct { AccountIDs []tongo.AccountID `json:"accounts"` Hash string `json:"hash"` }
TraceEventData represents a notification about a completed trace.
type TraceHandler ¶
type TraceHandler func(TraceEventData)
TraceHandler is a callback that handles a new trace event.
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 TransactionEventData ¶
type TransactionEventData struct { AccountID tongo.AccountID `json:"account_id"` Lt uint64 `json:"lt"` TxHash string `json:"tx_hash"` }
TransactionEventData represents the data part of a new-transaction event.
type TransactionHandler ¶
type TransactionHandler func(data TransactionEventData)
TransactionHandler is a callback that handles a new transaction event.
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) AllValues ¶
func (TransactionType) AllValues() []TransactionType
AllValues returns all TransactionType values.
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) MarshalText ¶
func (s TransactionType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TransactionType) UnmarshalJSON ¶
func (s *TransactionType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TransactionType) UnmarshalText ¶
func (s *TransactionType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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) AllValues ¶
func (TvmStackRecordType) AllValues() []TvmStackRecordType
AllValues returns all TvmStackRecordType values.
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) MarshalText ¶
func (s TvmStackRecordType) MarshalText() ([]byte, error)
MarshalText implements encoding.TextMarshaler.
func (*TvmStackRecordType) UnmarshalJSON ¶
func (s *TvmStackRecordType) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*TvmStackRecordType) UnmarshalText ¶
func (s *TvmStackRecordType) UnmarshalText(data []byte) error
UnmarshalText implements encoding.TextUnmarshaler.
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 Validator ¶
type Validator struct { Address string `json:"address"` AdnlAddress string `json:"adnl_address"` Stake int64 `json:"stake"` MaxFactor int64 `json:"max_factor"` }
Ref: #/components/schemas/Validator
func (*Validator) GetAddress ¶
GetAddress returns the value of Address.
func (*Validator) GetAdnlAddress ¶
GetAdnlAddress returns the value of AdnlAddress.
func (*Validator) GetMaxFactor ¶
GetMaxFactor returns the value of MaxFactor.
func (*Validator) MarshalJSON ¶
MarshalJSON implements stdjson.Marshaler.
func (*Validator) SetAddress ¶
SetAddress sets the value of Address.
func (*Validator) SetAdnlAddress ¶
SetAdnlAddress sets the value of AdnlAddress.
func (*Validator) SetMaxFactor ¶
SetMaxFactor sets the value of MaxFactor.
func (*Validator) UnmarshalJSON ¶
UnmarshalJSON implements stdjson.Unmarshaler.
type Validators ¶
type Validators struct { ElectAt int64 `json:"elect_at"` ElectClose int64 `json:"elect_close"` MinStake int64 `json:"min_stake"` TotalStake int64 `json:"total_stake"` 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) GetElectAt ¶
func (s *Validators) GetElectAt() int64
GetElectAt returns the value of ElectAt.
func (*Validators) GetElectClose ¶
func (s *Validators) GetElectClose() int64
GetElectClose returns the value of ElectClose.
func (*Validators) GetMinStake ¶
func (s *Validators) GetMinStake() int64
GetMinStake returns the value of MinStake.
func (*Validators) GetTotalStake ¶
func (s *Validators) GetTotalStake() int64
GetTotalStake returns the value of TotalStake.
func (*Validators) GetValidators ¶
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) SetElectAt ¶
func (s *Validators) SetElectAt(val int64)
SetElectAt sets the value of ElectAt.
func (*Validators) SetElectClose ¶
func (s *Validators) SetElectClose(val int64)
SetElectClose sets the value of ElectClose.
func (*Validators) SetMinStake ¶
func (s *Validators) SetMinStake(val int64)
SetMinStake sets the value of MinStake.
func (*Validators) SetTotalStake ¶
func (s *Validators) SetTotalStake(val int64)
SetTotalStake sets the value of TotalStake.
func (*Validators) SetValidators ¶
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 ¶
func (s *Validators) Validate() error
type ValidatorsSet ¶
type ValidatorsSet struct { UtimeSince int `json:"utime_since"` UtimeUntil int `json:"utime_until"` Total int `json:"total"` Main int `json:"main"` TotalWeight OptInt64 `json:"total_weight"` List []ValidatorsSetListItem `json:"list"` }
Ref: #/components/schemas/ValidatorsSet
func (*ValidatorsSet) Decode ¶
func (s *ValidatorsSet) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSet from json.
func (*ValidatorsSet) Encode ¶
func (s *ValidatorsSet) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ValidatorsSet) GetList ¶
func (s *ValidatorsSet) GetList() []ValidatorsSetListItem
GetList returns the value of List.
func (*ValidatorsSet) GetMain ¶
func (s *ValidatorsSet) GetMain() int
GetMain returns the value of Main.
func (*ValidatorsSet) GetTotal ¶
func (s *ValidatorsSet) GetTotal() int
GetTotal returns the value of Total.
func (*ValidatorsSet) GetTotalWeight ¶
func (s *ValidatorsSet) GetTotalWeight() OptInt64
GetTotalWeight returns the value of TotalWeight.
func (*ValidatorsSet) GetUtimeSince ¶
func (s *ValidatorsSet) GetUtimeSince() int
GetUtimeSince returns the value of UtimeSince.
func (*ValidatorsSet) GetUtimeUntil ¶
func (s *ValidatorsSet) GetUtimeUntil() int
GetUtimeUntil returns the value of UtimeUntil.
func (*ValidatorsSet) MarshalJSON ¶
func (s *ValidatorsSet) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidatorsSet) SetList ¶
func (s *ValidatorsSet) SetList(val []ValidatorsSetListItem)
SetList sets the value of List.
func (*ValidatorsSet) SetMain ¶
func (s *ValidatorsSet) SetMain(val int)
SetMain sets the value of Main.
func (*ValidatorsSet) SetTotal ¶
func (s *ValidatorsSet) SetTotal(val int)
SetTotal sets the value of Total.
func (*ValidatorsSet) SetTotalWeight ¶
func (s *ValidatorsSet) SetTotalWeight(val OptInt64)
SetTotalWeight sets the value of TotalWeight.
func (*ValidatorsSet) SetUtimeSince ¶
func (s *ValidatorsSet) SetUtimeSince(val int)
SetUtimeSince sets the value of UtimeSince.
func (*ValidatorsSet) SetUtimeUntil ¶
func (s *ValidatorsSet) SetUtimeUntil(val int)
SetUtimeUntil sets the value of UtimeUntil.
func (*ValidatorsSet) UnmarshalJSON ¶
func (s *ValidatorsSet) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*ValidatorsSet) Validate ¶
func (s *ValidatorsSet) Validate() error
type ValidatorsSetListItem ¶
type ValidatorsSetListItem struct { PublicKey string `json:"public_key"` Weight int64 `json:"weight"` AdnlAddr OptString `json:"adnl_addr"` }
func (*ValidatorsSetListItem) Decode ¶
func (s *ValidatorsSetListItem) Decode(d *jx.Decoder) error
Decode decodes ValidatorsSetListItem from json.
func (*ValidatorsSetListItem) Encode ¶
func (s *ValidatorsSetListItem) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*ValidatorsSetListItem) GetAdnlAddr ¶
func (s *ValidatorsSetListItem) GetAdnlAddr() OptString
GetAdnlAddr returns the value of AdnlAddr.
func (*ValidatorsSetListItem) GetPublicKey ¶
func (s *ValidatorsSetListItem) GetPublicKey() string
GetPublicKey returns the value of PublicKey.
func (*ValidatorsSetListItem) GetWeight ¶
func (s *ValidatorsSetListItem) GetWeight() int64
GetWeight returns the value of Weight.
func (*ValidatorsSetListItem) MarshalJSON ¶
func (s *ValidatorsSetListItem) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*ValidatorsSetListItem) SetAdnlAddr ¶
func (s *ValidatorsSetListItem) SetAdnlAddr(val OptString)
SetAdnlAddr sets the value of AdnlAddr.
func (*ValidatorsSetListItem) SetPublicKey ¶
func (s *ValidatorsSetListItem) SetPublicKey(val string)
SetPublicKey sets the value of PublicKey.
func (*ValidatorsSetListItem) SetWeight ¶
func (s *ValidatorsSetListItem) SetWeight(val int64)
SetWeight sets the value of Weight.
func (*ValidatorsSetListItem) UnmarshalJSON ¶
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"` Jetton JettonPreview `json:"jetton"` 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) GetJetton ¶
func (s *ValueFlowJettonsItem) GetJetton() JettonPreview
GetJetton returns the value of Jetton.
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) SetJetton ¶
func (s *ValueFlowJettonsItem) SetJetton(val JettonPreview)
SetJetton sets the value of Jetton.
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.
func (*ValueFlowJettonsItem) Validate ¶
func (s *ValueFlowJettonsItem) Validate() error
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.
type Websocket ¶
type Websocket interface { // SubscribeToTransactions subscribes to notifications about new transactions for the specified accounts. SubscribeToTransactions(accounts []string) error // UnsubscribeFromTransactions unsubscribes from notifications about new transactions for the specified accounts. UnsubscribeFromTransactions(accounts []string) error // SubscribeToTraces subscribes to notifications about new traces for the specified accounts. SubscribeToTraces(accounts []string) error // UnsubscribeFromTraces unsubscribes from notifications about new traces for the specified accounts. UnsubscribeFromTraces(accounts []string) error SubscribeToMempool() error // UnsubscribeFromMempool unsubscribes from notifications about new messages in the TON network. UnsubscribeFromMempool() error // SetMempoolHandler defines a callback that will be called when a new mempool event is received. SetMempoolHandler(handler MempoolHandler) // SetTransactionHandler defines a callback that will be called when a new transaction event is received. SetTransactionHandler(handler TransactionHandler) // SetTraceHandler defines a callback that will be called when a new trace event is received. SetTraceHandler(handler TraceHandler) }
Websocket contains methods to configure a websocket connection to receive particular events from tonapi.io happening in the TON blockchain.
type WebsocketConfigurator ¶
WebsocketConfigurator configures an open websocket connection. If it returns an error, the connection will be closed and WebsocketHandleRequests will quit returning the error.
type WithdrawStakeAction ¶
type WithdrawStakeAction struct { Amount int64 `json:"amount"` Staker AccountAddress `json:"staker"` Pool AccountAddress `json:"pool"` Implementation PoolImplementationType `json:"implementation"` }
Validator's participation in elections. Ref: #/components/schemas/WithdrawStakeAction
func (*WithdrawStakeAction) Decode ¶
func (s *WithdrawStakeAction) Decode(d *jx.Decoder) error
Decode decodes WithdrawStakeAction from json.
func (*WithdrawStakeAction) Encode ¶
func (s *WithdrawStakeAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WithdrawStakeAction) GetAmount ¶
func (s *WithdrawStakeAction) GetAmount() int64
GetAmount returns the value of Amount.
func (*WithdrawStakeAction) GetImplementation ¶
func (s *WithdrawStakeAction) GetImplementation() PoolImplementationType
GetImplementation returns the value of Implementation.
func (*WithdrawStakeAction) GetPool ¶
func (s *WithdrawStakeAction) GetPool() AccountAddress
GetPool returns the value of Pool.
func (*WithdrawStakeAction) GetStaker ¶
func (s *WithdrawStakeAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (*WithdrawStakeAction) MarshalJSON ¶
func (s *WithdrawStakeAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WithdrawStakeAction) SetAmount ¶
func (s *WithdrawStakeAction) SetAmount(val int64)
SetAmount sets the value of Amount.
func (*WithdrawStakeAction) SetImplementation ¶
func (s *WithdrawStakeAction) SetImplementation(val PoolImplementationType)
SetImplementation sets the value of Implementation.
func (*WithdrawStakeAction) SetPool ¶
func (s *WithdrawStakeAction) SetPool(val AccountAddress)
SetPool sets the value of Pool.
func (*WithdrawStakeAction) SetStaker ¶
func (s *WithdrawStakeAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*WithdrawStakeAction) UnmarshalJSON ¶
func (s *WithdrawStakeAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WithdrawStakeAction) Validate ¶
func (s *WithdrawStakeAction) Validate() error
type WithdrawStakeRequestAction ¶
type WithdrawStakeRequestAction struct { Amount OptInt64 `json:"amount"` Staker AccountAddress `json:"staker"` Pool AccountAddress `json:"pool"` Implementation PoolImplementationType `json:"implementation"` }
Validator's participation in elections. Ref: #/components/schemas/WithdrawStakeRequestAction
func (*WithdrawStakeRequestAction) Decode ¶
func (s *WithdrawStakeRequestAction) Decode(d *jx.Decoder) error
Decode decodes WithdrawStakeRequestAction from json.
func (*WithdrawStakeRequestAction) Encode ¶
func (s *WithdrawStakeRequestAction) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WithdrawStakeRequestAction) GetAmount ¶
func (s *WithdrawStakeRequestAction) GetAmount() OptInt64
GetAmount returns the value of Amount.
func (*WithdrawStakeRequestAction) GetImplementation ¶
func (s *WithdrawStakeRequestAction) GetImplementation() PoolImplementationType
GetImplementation returns the value of Implementation.
func (*WithdrawStakeRequestAction) GetPool ¶
func (s *WithdrawStakeRequestAction) GetPool() AccountAddress
GetPool returns the value of Pool.
func (*WithdrawStakeRequestAction) GetStaker ¶
func (s *WithdrawStakeRequestAction) GetStaker() AccountAddress
GetStaker returns the value of Staker.
func (*WithdrawStakeRequestAction) MarshalJSON ¶
func (s *WithdrawStakeRequestAction) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WithdrawStakeRequestAction) SetAmount ¶
func (s *WithdrawStakeRequestAction) SetAmount(val OptInt64)
SetAmount sets the value of Amount.
func (*WithdrawStakeRequestAction) SetImplementation ¶
func (s *WithdrawStakeRequestAction) SetImplementation(val PoolImplementationType)
SetImplementation sets the value of Implementation.
func (*WithdrawStakeRequestAction) SetPool ¶
func (s *WithdrawStakeRequestAction) SetPool(val AccountAddress)
SetPool sets the value of Pool.
func (*WithdrawStakeRequestAction) SetStaker ¶
func (s *WithdrawStakeRequestAction) SetStaker(val AccountAddress)
SetStaker sets the value of Staker.
func (*WithdrawStakeRequestAction) UnmarshalJSON ¶
func (s *WithdrawStakeRequestAction) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.
func (*WithdrawStakeRequestAction) Validate ¶
func (s *WithdrawStakeRequestAction) Validate() error
type WorkchainDescr ¶
type WorkchainDescr struct { Workchain int `json:"workchain"` EnabledSince int64 `json:"enabled_since"` ActualMinSplit int `json:"actual_min_split"` MinSplit int `json:"min_split"` MaxSplit int `json:"max_split"` Basic int `json:"basic"` Active bool `json:"active"` AcceptMsgs bool `json:"accept_msgs"` Flags int `json:"flags"` ZerostateRootHash string `json:"zerostate_root_hash"` ZerostateFileHash string `json:"zerostate_file_hash"` Version int64 `json:"version"` }
Ref: #/components/schemas/WorkchainDescr
func (*WorkchainDescr) Decode ¶
func (s *WorkchainDescr) Decode(d *jx.Decoder) error
Decode decodes WorkchainDescr from json.
func (*WorkchainDescr) Encode ¶
func (s *WorkchainDescr) Encode(e *jx.Encoder)
Encode implements json.Marshaler.
func (*WorkchainDescr) GetAcceptMsgs ¶
func (s *WorkchainDescr) GetAcceptMsgs() bool
GetAcceptMsgs returns the value of AcceptMsgs.
func (*WorkchainDescr) GetActive ¶
func (s *WorkchainDescr) GetActive() bool
GetActive returns the value of Active.
func (*WorkchainDescr) GetActualMinSplit ¶
func (s *WorkchainDescr) GetActualMinSplit() int
GetActualMinSplit returns the value of ActualMinSplit.
func (*WorkchainDescr) GetBasic ¶
func (s *WorkchainDescr) GetBasic() int
GetBasic returns the value of Basic.
func (*WorkchainDescr) GetEnabledSince ¶
func (s *WorkchainDescr) GetEnabledSince() int64
GetEnabledSince returns the value of EnabledSince.
func (*WorkchainDescr) GetFlags ¶
func (s *WorkchainDescr) GetFlags() int
GetFlags returns the value of Flags.
func (*WorkchainDescr) GetMaxSplit ¶
func (s *WorkchainDescr) GetMaxSplit() int
GetMaxSplit returns the value of MaxSplit.
func (*WorkchainDescr) GetMinSplit ¶
func (s *WorkchainDescr) GetMinSplit() int
GetMinSplit returns the value of MinSplit.
func (*WorkchainDescr) GetVersion ¶
func (s *WorkchainDescr) GetVersion() int64
GetVersion returns the value of Version.
func (*WorkchainDescr) GetWorkchain ¶
func (s *WorkchainDescr) GetWorkchain() int
GetWorkchain returns the value of Workchain.
func (*WorkchainDescr) GetZerostateFileHash ¶
func (s *WorkchainDescr) GetZerostateFileHash() string
GetZerostateFileHash returns the value of ZerostateFileHash.
func (*WorkchainDescr) GetZerostateRootHash ¶
func (s *WorkchainDescr) GetZerostateRootHash() string
GetZerostateRootHash returns the value of ZerostateRootHash.
func (*WorkchainDescr) MarshalJSON ¶
func (s *WorkchainDescr) MarshalJSON() ([]byte, error)
MarshalJSON implements stdjson.Marshaler.
func (*WorkchainDescr) SetAcceptMsgs ¶
func (s *WorkchainDescr) SetAcceptMsgs(val bool)
SetAcceptMsgs sets the value of AcceptMsgs.
func (*WorkchainDescr) SetActive ¶
func (s *WorkchainDescr) SetActive(val bool)
SetActive sets the value of Active.
func (*WorkchainDescr) SetActualMinSplit ¶
func (s *WorkchainDescr) SetActualMinSplit(val int)
SetActualMinSplit sets the value of ActualMinSplit.
func (*WorkchainDescr) SetBasic ¶
func (s *WorkchainDescr) SetBasic(val int)
SetBasic sets the value of Basic.
func (*WorkchainDescr) SetEnabledSince ¶
func (s *WorkchainDescr) SetEnabledSince(val int64)
SetEnabledSince sets the value of EnabledSince.
func (*WorkchainDescr) SetFlags ¶
func (s *WorkchainDescr) SetFlags(val int)
SetFlags sets the value of Flags.
func (*WorkchainDescr) SetMaxSplit ¶
func (s *WorkchainDescr) SetMaxSplit(val int)
SetMaxSplit sets the value of MaxSplit.
func (*WorkchainDescr) SetMinSplit ¶
func (s *WorkchainDescr) SetMinSplit(val int)
SetMinSplit sets the value of MinSplit.
func (*WorkchainDescr) SetVersion ¶
func (s *WorkchainDescr) SetVersion(val int64)
SetVersion sets the value of Version.
func (*WorkchainDescr) SetWorkchain ¶
func (s *WorkchainDescr) SetWorkchain(val int)
SetWorkchain sets the value of Workchain.
func (*WorkchainDescr) SetZerostateFileHash ¶
func (s *WorkchainDescr) SetZerostateFileHash(val string)
SetZerostateFileHash sets the value of ZerostateFileHash.
func (*WorkchainDescr) SetZerostateRootHash ¶
func (s *WorkchainDescr) SetZerostateRootHash(val string)
SetZerostateRootHash sets the value of ZerostateRootHash.
func (*WorkchainDescr) UnmarshalJSON ¶
func (s *WorkchainDescr) UnmarshalJSON(data []byte) error
UnmarshalJSON implements stdjson.Unmarshaler.