Skip to main content
POST
/
v2
/
traces
/
emulate
cURL
curl --request POST \
  --url https://tonapi.io/v2/traces/emulate \
  --header 'Content-Type: application/json' \
  --data '
{
  "boc": "<string>"
}
'
{
  "transaction": {
    "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "lt": 25713146000001,
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation",
      "icon": "https://ton.org/logo.png"
    },
    "success": true,
    "utime": 1645544908,
    "orig_status": "active",
    "end_status": "active",
    "total_fees": 25713146000001,
    "end_balance": 25713146000001,
    "transaction_type": "TransOrd",
    "state_update_old": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "state_update_new": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "out_msgs": [
      {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "import_fee": 5681002,
        "created_at": 5681002,
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "op_code": "0xdeadbeaf",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": "<unknown>"
      }
    ],
    "block": "(-1,4234234,8000000000000000)",
    "aborted": true,
    "destroyed": true,
    "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6",
    "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "prev_trans_lt": 25713146000001,
    "bounce_phase": "cskip_no_state"
  },
  "interfaces": [
    "wallet",
    "tep62_item"
  ],
  "children": "<array>",
  "emulated": false
}

Query Parameters

ignore_signature_check
boolean

Body

application/json

bag-of-cells serialized to hex

boc
string<cell>
required

Response

emulated trace

transaction
object
required
interfaces
string[]
required
Example:
["wallet", "tep62_item"]
children
array
emulated
boolean
Example:

false