POSTRun get method
TON Mainnet
https://ton-mainnet.nodit.io/api/v3/runGetMethodRun a get method for a smart contract. The stack supports only num, cell, and slice types:
[
{
"type": "num",
"value": "0x12a"
},
{
"type": "cell",
"value": "te6..." // base64-encoded BoC with cell
},
{
"type": "slice",
"value": "te6..." // base64-encoded BoC with slice
}
]Request Body
Address of the smart contract to run the get method on, in any form.
Name of the get method to run, such as seqno or get_wallet_data.
Type of the stack entry. Input stacks support num, cell, and slice.
Value of the stack entry: a number string such as 0x12a for num, or a base64-encoded BoC for cell and slice.
Responses
Address of the smart contract to run the get method on, in any form.
Name of the get method to run, such as seqno or get_wallet_data.
Type of the stack entry. Input stacks support num, cell, and slice.
Value of the stack entry: a number string such as 0x12a for num, or a base64-encoded BoC for cell and slice.
Number (hex string), cell or slice (base64-encoded BoC)string
List or tuple (array of stack entries)object[]