Versions in this module Expand all Collapse all v2 v2.8.3 Jul 3, 2025 Changes in this version + const DnsTgAuction + const DnsTonAuction + const GetGemsAuction + const NumberTgAuction + var DNSRenewStraw = Straw[BubbleDnsItemRenew] + var DefaultStraws = []Merger + var DepositLiquidStakeStraw = Straw[BubbleDepositStake] + var DepositTFStakeStraw = Straw[BubbleDepositStake] + var ElectionsDepositStakeStraw = Straw[BubbleElectionsDepositStake] + var ElectionsRecoverStakeStraw = Straw[BubbleElectionsRecoverStake] + var ExtendedSubscriptionStraw = Straw[BubbleSubscription] + var GasRelayerStraw = Straw[GasRelayBubble] + var InitialSubscriptionStraw = Straw[BubbleSubscription] + var InvoicePaymentStrawJetton = Straw[BubbleInvoicePayment] + var InvoicePaymentStrawNative = Straw[BubbleInvoicePayment] + var JettonBurnStraw = Straw[BubbleJettonBurn] + var JettonMintFromMasterStraw = Straw[BubbleJettonMint] + var JettonMintStrawGovernance = Straw[BubbleJettonMint] + var JettonTransferClassicStraw = Straw[BubbleJettonTransfer] + var JettonTransferMinimalStraw = Straw[BubbleJettonTransfer] + var JettonTransfersBurnsMints = []Merger + var MegatonFiJettonSwap = Straw[BubbleJettonSwap] + var NFTStraws = []Merger + var NftPurchaseStraw = Straw[BubbleNftPurchase] + var NftTransferNotifyStraw = Straw[BubbleNftTransfer] + var NftTransferStraw = Straw[BubbleNftTransfer] + var PendingWithdrawRequestLiquidStraw = Straw[BubbleWithdrawStakeRequest] + var StonfiMintStraw = Straw[BubbleJettonMint] + var StonfiSwapStraw = Straw[BubbleJettonSwap] + var StonfiSwapV2Straw = Straw[BubbleJettonSwap] + var StonfiV1PTONStraw = Straw[BubbleJettonTransfer] + var StonfiV2PTONStraw = Straw[BubbleJettonTransfer] + var StonfiV2PTONStrawReverse = Straw[BubbleJettonTransfer] + var StrawAuctionBigGetgems = Straw[AuctionBidBubble] + var StrawAuctionBuyFragments = Straw[BubbleNftPurchase] + var StrawAuctionBuyGetgems = Straw[BubbleNftPurchase] + var StrawFindAuctionBidFragmentSimple = Straw[AuctionBidBubble] + var TgAuctionV1InitialBidStraw = Straw[AuctionBidBubble] + var UnSubscriptionStraw = Straw[BubbleUnSubscription] + var WithdrawLiquidStake = Straw[BubbleWithdrawStake] + var WithdrawStakeImmediatelyStraw = Straw[BubbleWithdrawStake] + var WithdrawTFStakeRequestStraw = Straw[BubbleWithdrawStakeRequest] + var WtonMintStraw = Straw[BubbleJettonMint] + func AmountInterval(min, max int64) bubbleCheck + func CollectActionsAndValueFlow(bubble *Bubble, forAccount *tongo.AccountID) ([]Action, *ValueFlow) + func HasEmptyBody(b *Bubble) bool + func HasInterface(iface abi.ContractInterface) bubbleCheck + func HasOpcode(op uint32) bubbleCheck + func HasOperation(name abi.MsgOpName) bubbleCheck + func HasTextComment(comment string) bubbleCheck + func Is(t actioner) bubbleCheck + func IsAccount(id tongo.AccountID) bubbleCheck + func IsBounced(bubble *Bubble) bool + func IsJettonReceiver(iface abi.ContractInterface) bubbleCheck + func IsJettonTransfer(b *Bubble) bool + func IsNftTransfer(b *Bubble) bool + func IsTx(b *Bubble) bool + func JettonTransferOpCode(opCode uint32) bubbleCheck + func JettonTransferOperation(op abi.JettonOpName) bubbleCheck + func MergeAllBubbles(bubble *Bubble, straws []Merger) + func Or(check1, check2 bubbleCheck) bubbleCheck + type Account struct + Address tongo.AccountID + Interfaces []abi.ContractInterface + func (a *Account) Addr() *tongo.AccountID + func (a Account) Is(i abi.ContractInterface) bool + type AccountValueFlow struct + Fees int64 + Jettons map[tongo.AccountID]big.Int + NFTs [2]int + Ton int64 + type Action struct + AuctionBid *AuctionBidAction + BaseTransactions []ton.Bits256 + ContractDeploy *ContractDeployAction + DepositStake *DepositStakeAction + DnsRenew *DnsRenewAction + ElectionsDepositStake *ElectionsDepositStakeAction + ElectionsRecoverStake *ElectionsRecoverStakeAction + Error *string + ExtraCurrencyTransfer *ExtraCurrencyTransferAction + GasRelay *GasRelayAction + JettonBurn *JettonBurnAction + JettonMint *JettonMintAction + JettonSwap *JettonSwapAction + JettonTransfer *JettonTransferAction + NftItemTransfer *NftTransferAction + NftPurchase *NftPurchaseAction + Purchase *PurchaseAction + SmartContractExec *SmartContractAction + Subscription *SubscriptionAction + Success bool + TonTransfer *TonTransferAction + Type ActionType + UnSubscription *UnSubscriptionAction + WithdrawStake *WithdrawStakeAction + WithdrawStakeRequest *WithdrawStakeRequestAction + func (a Action) ContributeToExtra(account tongo.AccountID) int64 + func (a Action) IsSubject(account tongo.AccountID) bool + func (a Action) String() string + type ActionType string + const AuctionBid + const ContractDeploy + const DepositStake + const DomainRenew + const ElectionsDepositStake + const ElectionsRecoverStake + const ExtraCurrencyTransfer + const GasRelay + const JettonBurn + const JettonMint + const JettonSwap + const JettonTransfer + const NftItemTransfer + const NftPurchase + const Purchase + const SmartContractExec + const Subscription + const TonTransfer + const UnSubscription + const Unknown + const WithdrawStake + const WithdrawStakeRequest + type ActionsList struct + Actions []Action + ValueFlow *ValueFlow + func EnrichWithIntentions(trace *core.Trace, actions *ActionsList) *ActionsList + func FindActions(ctx context.Context, trace *core.Trace, opts ...Option) (*ActionsList, error) + func (l *ActionsList) Extra(account tongo.AccountID) int64 + type AuctionBidAction struct + Amount core.Price + Auction tongo.AccountID + Bidder tongo.AccountID + Nft *core.NftItem + NftAddress *tongo.AccountID + Type NftAuctionType + func (a *AuctionBidAction) SubjectAccounts() []tongo.AccountID + type AuctionBidBubble struct + Amount int64 + Auction tongo.AccountID + Bidder tongo.AccountID + Nft *core.NftItem + NftAddress *tongo.AccountID + PreviousBidder *tongo.AccountID + Success bool + Type NftAuctionType + Username string + func (a AuctionBidBubble) ToAction() *Action + type Bubble struct + Accounts []tongo.AccountID + Children []*Bubble + Info actioner + Transaction []ton.Bits256 + ValueFlow *ValueFlow + func ProcessChildren(children []*Bubble, fns ...func(child *Bubble) *Merge) []*Bubble + func (b Bubble) String() string + type BubbleContractDeploy struct + AccountInitInterfaces []abi.ContractInterface + Contract tongo.AccountID + Success bool + func (b BubbleContractDeploy) ToAction() *Action + type BubbleDepositStake struct + Amount int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + Success bool + func (ds BubbleDepositStake) ToAction() *Action + type BubbleDnsItemRenew struct + Success bool + func (b BubbleDnsItemRenew) ToAction() *Action + type BubbleElectionsDepositStake struct + Amount int64 + Staker tongo.AccountID + Success bool + func (ds BubbleElectionsDepositStake) ToAction() *Action + type BubbleElectionsRecoverStake struct + Amount int64 + Staker tongo.AccountID + Success bool + func (b BubbleElectionsRecoverStake) ToAction() *Action + type BubbleInvoicePayment struct + InvoiceID uuid.UUID + Price core.Price + Recipient tongo.AccountID + Sender tongo.AccountID + Success bool + func (b BubbleInvoicePayment) ToAction() (action *Action) + type BubbleJettonBurn struct + func (b BubbleJettonBurn) ToAction() (action *Action) + type BubbleJettonMint struct + func (b BubbleJettonMint) ToAction() (action *Action) + type BubbleJettonSwap struct + Dex Dex + In assetTransfer + Out assetTransfer + Router tongo.AccountID + Success bool + UserWallet tongo.AccountID + func (b BubbleJettonSwap) ToAction() *Action + type BubbleJettonTransfer struct + func (b BubbleJettonTransfer) ToAction() (action *Action) + type BubbleNftPurchase struct + AuctionType NftAuctionType + Buyer tongo.AccountID + Nft tongo.AccountID + Price int64 + Seller tongo.AccountID + Success bool + func (b BubbleNftPurchase) ToAction() *Action + type BubbleNftTransfer struct + func (b BubbleNftTransfer) ToAction() (action *Action) + type BubbleSubscription struct + Amount int64 + Beneficiary Account + First bool + Subscriber Account + Subscription Account + Success bool + func (b BubbleSubscription) ToAction() (action *Action) + type BubbleTx struct + func (b BubbleTx) String() string + func (b BubbleTx) ToAction() *Action + type BubbleUnSubscription struct + Beneficiary Account + Subscriber Account + Subscription Account + Success bool + func (b BubbleUnSubscription) ToAction() (action *Action) + type BubbleWithdrawStake struct + Amount int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + func (ds BubbleWithdrawStake) ToAction() *Action + type BubbleWithdrawStakeRequest struct + Amount *int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + Success bool + func (ds BubbleWithdrawStakeRequest) ToAction() *Action + type ContractDeployAction struct + Address tongo.AccountID + Interfaces []abi.ContractInterface + func (a *ContractDeployAction) SubjectAccounts() []tongo.AccountID + type ContractDeployment struct + type DepositStakeAction struct + Amount int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + func (a *DepositStakeAction) SubjectAccounts() []tongo.AccountID + type Dex string + const Dedust + const Megatonfi + const Stonfi + type DnsRenewAction struct + Item ton.AccountID + Renewer ton.AccountID + func (a DnsRenewAction) SubjectAccounts() []ton.AccountID + type ElectionsDepositStakeAction struct + Amount int64 + Elector tongo.AccountID + Staker tongo.AccountID + func (a *ElectionsDepositStakeAction) SubjectAccounts() []tongo.AccountID + type ElectionsRecoverStakeAction struct + Amount int64 + Elector tongo.AccountID + Staker tongo.AccountID + func (a *ElectionsRecoverStakeAction) SubjectAccounts() []tongo.AccountID + type EncryptedComment struct + CipherText []byte + EncryptionType string + type ExtraCurrencyTransferAction struct + Amount tlb.VarUInteger32 + Comment *string + CurrencyID int32 + EncryptedComment *EncryptedComment + Recipient tongo.AccountID + Sender tongo.AccountID + func (a *ExtraCurrencyTransferAction) SubjectAccounts() []tongo.AccountID + type GasRelayAction struct + Amount int64 + Relayer ton.AccountID + Target ton.AccountID + func (a GasRelayAction) SubjectAccounts() []ton.AccountID + type GasRelayBubble struct + Amount int64 + Relayer ton.AccountID + Target ton.AccountID + func (b GasRelayBubble) ToAction() *Action + type JettonBurnAction struct + Amount tlb.VarUInteger16 + Jetton tongo.AccountID + Sender tongo.AccountID + SendersWallet tongo.AccountID + func (a *JettonBurnAction) SubjectAccounts() []tongo.AccountID + type JettonMintAction struct + Amount tlb.VarUInteger16 + Jetton tongo.AccountID + Recipient tongo.AccountID + RecipientsWallet tongo.AccountID + func (a *JettonMintAction) SubjectAccounts() []tongo.AccountID + type JettonSwapAction struct + Dex Dex + In assetTransfer + Out assetTransfer + Router tongo.AccountID + UserWallet tongo.AccountID + func (a *JettonSwapAction) SubjectAccounts() []tongo.AccountID + type JettonTransferAction struct + Amount tlb.VarUInteger16 + Comment *string + EncryptedComment *EncryptedComment + Jetton tongo.AccountID + Recipient *tongo.AccountID + RecipientsWallet tongo.AccountID + Refund *Refund + Sender *tongo.AccountID + SendersWallet tongo.AccountID + func (a *JettonTransferAction) SubjectAccounts() []tongo.AccountID + func (jta *JettonTransferAction) PayloadFromABI(payload abi.JettonPayload) + type Merge struct + type Merger interface + Merge func(bubble *Bubble) (success bool) + type NftAuctionType string + type NftPurchaseAction struct + AuctionType NftAuctionType + Buyer tongo.AccountID + Nft tongo.AccountID + Price core.Price + Seller tongo.AccountID + func (a *NftPurchaseAction) SubjectAccounts() []tongo.AccountID + type NftTransferAction struct + Comment *string + EncryptedComment *EncryptedComment + Nft tongo.AccountID + Recipient *tongo.AccountID + Refund *Refund + Sender *tongo.AccountID + func (a *NftTransferAction) SubjectAccounts() []tongo.AccountID + type Option func(*Options) + func ForAccount(a tongo.AccountID) Option + func WithInformationSource(source core.InformationSource) Option + func WithStraws(straws []Merger) Option + type Options struct + type OutMessage struct + type PurchaseAction struct + Destination tongo.AccountID + InvoiceID uuid.UUID + Price core.Price + Source tongo.AccountID + func (a *PurchaseAction) SubjectAccounts() []tongo.AccountID + type Refund struct + Origin string + Type RefundType + type RefundType string + type SmartContractAction struct + Contract tongo.AccountID + Executor tongo.AccountID + Operation string + Payload string + TonAttached int64 + func (a *SmartContractAction) SubjectAccounts() []tongo.AccountID + type Straw struct + Builder func(newAction *newBubbleT, bubble *Bubble) error + CheckFuncs []bubbleCheck + Children []Straw[newBubbleT] + Optional bool + SingleChild *Straw[newBubbleT] + ValueFlowUpdater func(newAction *newBubbleT, flow *ValueFlow) + func Optional[T actioner](s Straw[T]) Straw[T] + func (s Straw[newBubbleT]) Merge(bubble *Bubble) bool + type SubscriptionAction struct + Amount int64 + Beneficiary tongo.AccountID + First bool + Subscriber tongo.AccountID + Subscription tongo.AccountID + func (a *SubscriptionAction) SubjectAccounts() []tongo.AccountID + type TonTransferAction struct + Amount int64 + Comment *string + EncryptedComment *EncryptedComment + Recipient tongo.AccountID + Refund *Refund + Sender tongo.AccountID + func (a *TonTransferAction) SubjectAccounts() []tongo.AccountID + type UnSubscriptionAction struct + Beneficiary tongo.AccountID + Subscriber tongo.AccountID + Subscription tongo.AccountID + func (a *UnSubscriptionAction) SubjectAccounts() []tongo.AccountID + type UniversalDedustStraw struct + func (s UniversalDedustStraw) Merge(b *Bubble) bool + type ValueFlow struct + Accounts map[tongo.AccountID]*AccountValueFlow + func (flow *ValueFlow) AddFee(accountID tongo.AccountID, amount int64) + func (flow *ValueFlow) AddJettons(accountID tongo.AccountID, jettonMaster tongo.AccountID, value big.Int) + func (flow *ValueFlow) AddTons(accountID tongo.AccountID, amount int64) + func (flow *ValueFlow) Merge(other *ValueFlow) + func (flow *ValueFlow) SubJettons(accountID tongo.AccountID, jettonMaster tongo.AccountID, value big.Int) + type WithdrawStakeAction struct + Amount int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + func (a *WithdrawStakeAction) SubjectAccounts() []tongo.AccountID + type WithdrawStakeRequestAction struct + Amount *int64 + Implementation core.StakingImplementation + Pool tongo.AccountID + Staker tongo.AccountID + func (a *WithdrawStakeRequestAction) SubjectAccounts() []tongo.AccountID Other modules containing this package github.com/tonkeeper/opentonapi