Blockchain

Get transaction data by message hash

get/v2/blockchain/messages/{msg_id}/transaction

Path parameters

msg_idstring required
Example:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621

message ID

Response

transaction by message hash

abortedboolean required
blockstring required
bounce_phase'TrPhaseBounceNegfunds' | 'TrPhaseBounceNofunds' | 'TrPhaseBounceOk'
destroyedboolean required
end_balanceinteger required
end_status'nonexist' | 'uninit' | 'active' | 'frozen' required
hashstring required
ltinteger required
orig_status'nonexist' | 'uninit' | 'active' | 'frozen' required
prev_trans_hashstring
prev_trans_ltinteger
rawstring cell required

hex encoded boc with raw transaction

state_update_newstring required
state_update_oldstring required
successboolean required
total_feesinteger required
transaction_type'TransOrd' | 'TransTickTock' | 'TransSplitPrepare' | 'TransSplitInstall' | 'TransMergePrepare' | 'TransMergeInstall' | 'TransStorage' required
utimeinteger required

Example response

{
  "aborted": true,
  "account": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "icon": "https://ton.org/logo.png",
    "is_scam": true,
    "is_wallet": true,
    "name": "Ton foundation"
  },
  "action_phase": {
    "fwd_fees": 1000,
    "result_code": 5,
    "skipped_actions": 5,
    "success": true,
    "total_actions": 5,
    "total_fees": 1000
  },
  "block": "(-1,4234234,8000000000000000)",
  "bounce_phase": "cskip_no_state",
  "compute_phase": {
    "gas_fees": 1000,
    "gas_used": 10000,
    "skip_reason": "cskip_no_state",
    "skipped": true,
    "success": true,
    "vm_steps": 5
  },
  "credit_phase": {
    "credit": 1000,
    "fees_collected": 100
  },
  "destroyed": true,
  "end_balance": 25713146000001,
  "end_status": "active",
  "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "in_msg": {
    "bounce": true,
    "bounced": true,
    "created_at": 5681002,
    "created_lt": 25713146000001,
    "decoded_op_name": "nft_transfer",
    "destination": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "icon": "https://ton.org/logo.png",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation"
    },
    "fwd_fee": 5681002,
    "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
    "ihr_disabled": true,
    "ihr_fee": 5681002,
    "import_fee": 5681002,
    "init": {
      "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61"
    },
    "msg_type": "int_msg",
    "op_code": "0xdeadbeaf",
    "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
    "source": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "icon": "https://ton.org/logo.png",
      "is_scam": true,
      "is_wallet": true,
      "name": "Ton foundation"
    },
    "value": 60000000,
    "value_extra": [
      {
        "amount": "1000000000",
        "preview": {
          "decimals": 5,
          "id": 239,
          "image": "https://cache.tonapi.io/images/extra.jpg",
          "symbol": "FMS"
        }
      }
    ]
  },
  "lt": 25713146000001,
  "orig_status": "active",
  "out_msgs": [
    {
      "bounce": true,
      "bounced": true,
      "created_at": 5681002,
      "created_lt": 25713146000001,
      "decoded_op_name": "nft_transfer",
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "fwd_fee": 5681002,
      "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
      "ihr_disabled": true,
      "ihr_fee": 5681002,
      "import_fee": 5681002,
      "init": {
        "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61"
      },
      "msg_type": "int_msg",
      "op_code": "0xdeadbeaf",
      "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "icon": "https://ton.org/logo.png",
        "is_scam": true,
        "is_wallet": true,
        "name": "Ton foundation"
      },
      "value": 60000000,
      "value_extra": [
        {
          "amount": "1000000000",
          "preview": {
            "decimals": 5,
            "id": 239,
            "image": "https://cache.tonapi.io/images/extra.jpg",
            "symbol": "FMS"
          }
        }
      ]
    }
  ],
  "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "prev_trans_lt": 25713146000001,
  "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6",
  "state_update_new": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "state_update_old": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "storage_phase": {
    "fees_collected": 25713146000001,
    "fees_due": 25713146000001,
    "status_change": "acst_unchanged"
  },
  "success": true,
  "total_fees": 25713146000001,
  "transaction_type": "TransOrd",
  "utime": 1645544908
}

Changes

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