Comment on page
API reference
This section describes different op codes of AMM smart contracts as well as corresponding SDK calls and transaction builders
The section contains separate documents for each smart contract used in AMM:
Current version of SDK uses fixed gas values for each transaction (
gasAmount
) which can be modified by a user. Those values were chosen such that enough gas would be supplied for all messages to go through in the current blockchain environment (as of December of 2022). In the future those gas values would be generated dynamically depending on the TON blockchain configuration.AddressType
is a union between a tonwebAddress
class and astring
that can represent a valid ton addressAmountType
is a union between aBN
class and anumber
that can represent a valid amount in nanoTonsQueryIdType
is a union between aBN
class and anumber
that can represent a valid integer number
Last modified 9mo ago