Blockchain

POST /v2/blockchain/accounts/{account_id}/methods/{method_name}

Execute get method for account

Request

  • Base URL
    https://tonapi.io
  • Auth
    none declared

Path parameters

account_idstring address required
Example:0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621

account ID

method_namestring required
Example:get_wallet_address

contract get method name

Request body

Example request

{
  "args": [
    {
      "type": "int257",
      "value": "0xfa01d78381ae32"
    }
  ]
}

Response

method execution result

decodedunknown
exit_codeinteger required

tvm exit code

successboolean required

Example response

{
  "stack": [
    {
      "tuple": [],
      "type": "cell"
    }
  ],
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.