/runGetMethod - The Open Network (TON)

Example code for the /runGetMethod json-rpc method. Сomplete guide on how to use /runGetMethod json-rpc in GetBlock.io Web3 documentation.

Parameters

address - body

string, required

contract address

method - body

integer or string, required

Method name or method id

stack - body

required

array of elements in format '[["num", int], ["cell", cell_object], ["slice", slice_object]]'

Request

curl --location --request POST 'https://ton.getblock.io/mainnet/rest/runGetMethod?' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{}'

Last updated

© 2019-2024 GetBlock LLC. All rights reserved ID: 21835790. Address: Belgrade, Serbia.