diff --git a/pkg/api/jetton_converters.go b/pkg/api/jetton_converters.go index be2227b6..1687c20f 100644 --- a/pkg/api/jetton_converters.go +++ b/pkg/api/jetton_converters.go @@ -114,6 +114,7 @@ func (h *Handler) convertJettonBalance(ctx context.Context, wallet core.JettonWa jettonBalance := oas.JettonBalance{ Balance: wallet.Balance.String(), WalletAddress: convertAccountAddress(wallet.Address, h.addressBook), + Extensions: wallet.Extensions, } if wallet.Lock != nil { jettonBalance.Lock = oas.NewOptJettonBalanceLock(oas.JettonBalanceLock{ diff --git a/pkg/core/jetton.go b/pkg/core/jetton.go index 12af4a6c..56c370ef 100644 --- a/pkg/core/jetton.go +++ b/pkg/core/jetton.go @@ -14,8 +14,8 @@ type JettonWallet struct { OwnerAddress *tongo.AccountID // JettonAddress of a jetton master. JettonAddress tongo.AccountID - Code []byte Lock *JettonWalletLockData + Extensions []string } type JettonHolder struct {