tact-lang / tact-docs

Tact main documentation
https://docs.tact-lang.org
40 stars 36 forks source link

Describe how to get other config parameters (not just 0 or 1) #242

Closed novusnota closed 1 month ago

novusnota commented 1 month ago

Question from the chat:

How to get ConfigParam 21 as a constant in the contract code?

To which I responded with:

You may try to use getConfigParam() function. See info on parameters 20 and 21 in the TON docs.

Related links: