TONAPI

REST api to TON blockchain explorer

Provide access to indexed TON blockchain

This API is designed to provide users with a simple and streamlined experience, eliminating the complexity of the TON blockchain.

Authorization

All methods are available without authentication, but with a rate limit of 1 request per 4 seconds (0.24 rps).

To authorize your request, you will need a token from TonConsole.


Get Openapi Json

Get the openapi.json file

GET
/v2/openapi.json

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/openapi.json"
null
{
  "error": "string",
  "error_code": 0
}

Get Openapi Yml

Get the openapi.yml file

GET
/v2/openapi.yml

Response Body

application/yaml

application/json

curl -X GET "https://tonapi.io/v2/openapi.yml"
"string"
{
  "error": "string",
  "error_code": 0
}

Status

Status

GET
/v2/status

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/status"
{
  "rest_online": true,
  "indexing_latency": 100,
  "last_known_masterchain_seqno": 123456
}
{
  "error": "string",
  "error_code": 0
}

Get Reduced Blockchain Blocks

Get reduced blockchain blocks data

GET
/v2/blockchain/reduced/blocks

Query Parameters

frominteger
Formatint64
tointeger
Formatint64

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/reduced/blocks?from=0&to=0"
{
  "blocks": [
    {
      "workchain_id": 0,
      "shard": "8000000000000000",
      "seqno": 21734019,
      "master_ref": "(-1,4234234,8000000000000000)",
      "tx_quantity": 130,
      "utime": 23814011000000,
      "shards_blocks": [
        "[ (0,4234235,8000000000000000) ]"
      ],
      "parent": [
        "[ (0,21734018,8000000000000000) ]"
      ]
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Block

Get blockchain block data

GET
/v2/blockchain/blocks/{block_id}

Path Parameters

block_idstring

block ID

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/blocks/(-1,8000000000000000,4234234)"
{
  "tx_quantity": 130,
  "value_flow": {
    "from_prev_blk": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "to_next_blk": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "imported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "exported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "fees_collected": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "burned": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "fees_imported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "recovered": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "created": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "minted": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    }
  },
  "workchain_id": 0,
  "shard": "8000000000000000",
  "seqno": 21734019,
  "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
  "global_id": -239,
  "version": 0,
  "after_merge": true,
  "before_split": true,
  "after_split": true,
  "want_split": true,
  "want_merge": true,
  "key_block": true,
  "gen_utime": 1674826775,
  "start_lt": 23814011000000,
  "end_lt": 23814011000001,
  "vert_seqno": 0,
  "gen_catchain_seqno": 0,
  "min_ref_mc_seqno": 0,
  "prev_key_block_seqno": 0,
  "gen_software_version": 0,
  "gen_software_capabilities": 0,
  "master_ref": "(-1,4234234,8000000000000000)",
  "prev_refs": [
    [
      "(-1",
      4234235,
      "8000000000000000)"
    ]
  ],
  "in_msg_descr_length": 0,
  "out_msg_descr_length": 0,
  "rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
}
{
  "error": "string",
  "error_code": 0
}

Download Blockchain Block Boc

Download blockchain block BOC

GET
/v2/blockchain/blocks/{block_id}/boc

Path Parameters

block_idstring

block ID

Response Body

application/octet-stream

application/json

curl -X GET "https://tonapi.io/v2/blockchain/blocks/(-1,8000000000000000,4234234)/boc"
Empty
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Masterchain Shards

Get blockchain block shards

GET
/v2/blockchain/masterchain/{masterchain_seqno}/shards

Path Parameters

masterchain_seqnointeger

masterchain block seqno

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain/123456/shards"
{
  "shards": [
    {
      "last_known_block_id": "(0,8000000000000000,4234234)",
      "last_known_block": {
        "tx_quantity": 130,
        "value_flow": {
          "from_prev_blk": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "to_next_blk": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "imported": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "exported": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "fees_collected": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "burned": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "fees_imported": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "recovered": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "created": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          },
          "minted": {
            "grams": 10000000000,
            "other": [
              {
                "id": 13,
                "value": "10000000000"
              }
            ]
          }
        },
        "workchain_id": 0,
        "shard": "8000000000000000",
        "seqno": 21734019,
        "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
        "global_id": -239,
        "version": 0,
        "after_merge": true,
        "before_split": true,
        "after_split": true,
        "want_split": true,
        "want_merge": true,
        "key_block": true,
        "gen_utime": 1674826775,
        "start_lt": 23814011000000,
        "end_lt": 23814011000001,
        "vert_seqno": 0,
        "gen_catchain_seqno": 0,
        "min_ref_mc_seqno": 0,
        "prev_key_block_seqno": 0,
        "gen_software_version": 0,
        "gen_software_capabilities": 0,
        "master_ref": "(-1,4234234,8000000000000000)",
        "prev_refs": [
          [
            "(-1",
            4234235,
            "8000000000000000)"
          ]
        ],
        "in_msg_descr_length": 0,
        "out_msg_descr_length": 0,
        "rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Masterchain Blocks

Get all blocks in all shards and workchains between target and previous masterchain block according to shards last blocks snapshot in masterchain. We don't recommend to build your app around this method because it has problem with scalability and will work very slow in the future.

GET
/v2/blockchain/masterchain/{masterchain_seqno}/blocks

Path Parameters

masterchain_seqnointeger

masterchain block seqno

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain/123456/blocks"
{
  "blocks": [
    {
      "tx_quantity": 130,
      "value_flow": {
        "from_prev_blk": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "to_next_blk": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "imported": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "exported": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "fees_collected": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "burned": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "fees_imported": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "recovered": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "created": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        },
        "minted": {
          "grams": 10000000000,
          "other": [
            {
              "id": 13,
              "value": "10000000000"
            }
          ]
        }
      },
      "workchain_id": 0,
      "shard": "8000000000000000",
      "seqno": 21734019,
      "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
      "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
      "global_id": -239,
      "version": 0,
      "after_merge": true,
      "before_split": true,
      "after_split": true,
      "want_split": true,
      "want_merge": true,
      "key_block": true,
      "gen_utime": 1674826775,
      "start_lt": 23814011000000,
      "end_lt": 23814011000001,
      "vert_seqno": 0,
      "gen_catchain_seqno": 0,
      "min_ref_mc_seqno": 0,
      "prev_key_block_seqno": 0,
      "gen_software_version": 0,
      "gen_software_capabilities": 0,
      "master_ref": "(-1,4234234,8000000000000000)",
      "prev_refs": [
        [
          "(-1",
          4234235,
          "8000000000000000)"
        ]
      ],
      "in_msg_descr_length": 0,
      "out_msg_descr_length": 0,
      "rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
      "created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Masterchain Transactions

Get all transactions in all shards and workchains between target and previous masterchain block according to shards last blocks snapshot in masterchain. We don't recommend to build your app around this method because it has problem with scalability and will work very slow in the future.

GET
/v2/blockchain/masterchain/{masterchain_seqno}/transactions

Path Parameters

masterchain_seqnointeger

masterchain block seqno

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain/123456/transactions"
{
  "transactions": [
    {
      "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "lt": 25713146000001,
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "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",
      "in_msg": {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      },
      "out_msgs": [
        {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        }
      ],
      "block": "(-1,4234234,8000000000000000)",
      "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "prev_trans_lt": 25713146000001,
      "compute_phase": {
        "skipped": true,
        "skip_reason": "cskip_no_state",
        "success": true,
        "gas_fees": 1000,
        "gas_used": 10000,
        "vm_steps": 5,
        "exit_code": 0,
        "exit_code_description": "string"
      },
      "storage_phase": {
        "fees_collected": 25713146000001,
        "fees_due": 25713146000001,
        "status_change": "acst_unchanged"
      },
      "credit_phase": {
        "fees_collected": 100,
        "credit": 1000
      },
      "action_phase": {
        "success": true,
        "result_code": 5,
        "total_actions": 5,
        "skipped_actions": 5,
        "fwd_fees": 1000,
        "total_fees": 1000,
        "result_code_description": "string"
      },
      "bounce_phase": "cskip_no_state",
      "aborted": true,
      "destroyed": true,
      "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Config From Block

Get blockchain config from a specific block, if present.

GET
/v2/blockchain/masterchain/{masterchain_seqno}/config

Path Parameters

masterchain_seqnointeger

masterchain block seqno

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain/123456/config"
{
  "0": "string",
  "1": "string",
  "2": "string",
  "3": "string",
  "4": "string",
  "5": {
    "blackhole_addr": "string",
    "fee_burn_nom": 0,
    "fee_burn_denom": 0
  },
  "6": {
    "mint_new_price": 0,
    "mint_add_price": 0
  },
  "7": {
    "currencies": [
      {
        "currency_id": 0,
        "amount": "string"
      }
    ]
  },
  "8": {
    "version": 0,
    "capabilities": 0
  },
  "9": {
    "mandatory_params": [
      0
    ]
  },
  "10": {
    "critical_params": [
      0
    ]
  },
  "11": {
    "normal_params": {
      "min_tot_rounds": 2,
      "max_tot_rounds": 6,
      "min_wins": 2,
      "max_losses": 6,
      "min_store_sec": 1000000,
      "max_store_sec": 10000000,
      "bit_price": 1,
      "cell_price": 500
    },
    "critical_params": {
      "min_tot_rounds": 2,
      "max_tot_rounds": 6,
      "min_wins": 2,
      "max_losses": 6,
      "min_store_sec": 1000000,
      "max_store_sec": 10000000,
      "bit_price": 1,
      "cell_price": 500
    }
  },
  "12": {
    "workchains": [
      {
        "workchain": 0,
        "enabled_since": 1000000,
        "actual_min_split": 1000000,
        "min_split": 1000000,
        "max_split": 1000000,
        "basic": 1000000,
        "active": true,
        "accept_msgs": true,
        "flags": 1000000,
        "zerostate_root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "zerostate_file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
        "version": 1000000
      }
    ]
  },
  "13": {
    "deposit": 0,
    "bit_price": 0,
    "cell_price": 0
  },
  "14": {
    "masterchain_block_fee": 0,
    "basechain_block_fee": 0
  },
  "15": {
    "validators_elected_for": 65536,
    "elections_start_before": 32768,
    "elections_end_before": 8192,
    "stake_held_for": 32768
  },
  "16": {
    "max_validators": 400,
    "max_main_validators": 100,
    "min_validators": 75
  },
  "17": {
    "min_stake": "string",
    "max_stake": "string",
    "min_total_stake": "string",
    "max_stake_factor": 0
  },
  "18": {
    "storage_prices": [
      {
        "utime_since": 0,
        "bit_price_ps": 1,
        "cell_price_ps": 500,
        "mc_bit_price_ps": 1000,
        "mc_cell_price_ps": 500000
      }
    ]
  },
  "20": {
    "gas_limits_prices": {
      "special_gas_limit": 0,
      "flat_gas_limit": 0,
      "flat_gas_price": 0,
      "gas_price": 1,
      "gas_limit": 1000000,
      "gas_credit": 1000000,
      "block_gas_limit": 1000000,
      "freeze_due_limit": 1000000,
      "delete_due_limit": 1000000
    }
  },
  "21": {
    "gas_limits_prices": {
      "special_gas_limit": 0,
      "flat_gas_limit": 0,
      "flat_gas_price": 0,
      "gas_price": 1,
      "gas_limit": 1000000,
      "gas_credit": 1000000,
      "block_gas_limit": 1000000,
      "freeze_due_limit": 1000000,
      "delete_due_limit": 1000000
    }
  },
  "22": {
    "block_limits": {
      "bytes": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "gas": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "lt_delta": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      }
    }
  },
  "23": {
    "block_limits": {
      "bytes": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "gas": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "lt_delta": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      }
    }
  },
  "24": {
    "msg_forward_prices": {
      "lump_price": 1000000,
      "bit_price": 1000000,
      "cell_price": 1000000,
      "ihr_price_factor": 1000000,
      "first_frac": 1000000,
      "next_frac": 1000000
    }
  },
  "25": {
    "msg_forward_prices": {
      "lump_price": 1000000,
      "bit_price": 1000000,
      "cell_price": 1000000,
      "ihr_price_factor": 1000000,
      "first_frac": 1000000,
      "next_frac": 1000000
    }
  },
  "28": {
    "mc_catchain_lifetime": 1000000,
    "shard_catchain_lifetime": 1000000,
    "shard_validators_lifetime": 1000000,
    "shard_validators_num": 1000000,
    "flags": 1000000,
    "shuffle_mc_validators": true
  },
  "29": {
    "flags": 0,
    "new_catchain_ids": true,
    "round_candidates": 3,
    "next_candidate_delay_ms": 2000,
    "consensus_timeout_ms": 16000,
    "fast_attempts": 3,
    "attempt_duration": 8,
    "catchain_max_deps": 4,
    "max_block_bytes": 2097152,
    "max_collated_bytes": 2097152,
    "proto_version": 2,
    "catchain_max_blocks_coeff": 10000
  },
  "31": {
    "fundamental_smc_addr": [
      "-1:dd24c4a1f2b88f8b7053513b5cc6c5a31bc44b2a72dcb4d8c0338af0f0d37ec5"
    ]
  },
  "32": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "33": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "34": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "35": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "36": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "37": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "40": {
    "misbehaviour_punishment_config": {
      "default_flat_fine": 1000000,
      "default_proportional_fine": 1000000,
      "severity_flat_mult": 1000000,
      "severity_proportional_mult": 1000000,
      "unpunishable_interval": 1000000,
      "long_interval": 1000000,
      "long_flat_mult": 1000000,
      "long_proportional_mult": 1000000,
      "medium_interval": 1000000,
      "medium_flat_mult": 1000000,
      "medium_proportional_mult": 1000000
    }
  },
  "43": {
    "size_limits_config": {
      "max_msg_bits": 1000000,
      "max_msg_cells": 1000000,
      "max_library_cells": 1000000,
      "max_vm_data_depth": 1000000,
      "max_ext_msg_size": 1000000,
      "max_ext_msg_depth": 1000000,
      "max_acc_state_cells": 1000000,
      "max_acc_state_bits": 1000000
    }
  },
  "44": {
    "accounts": [
      "0:0000000000000000000000000000000000000000000000000000000000000000"
    ],
    "suspended_until": 0
  },
  "45": {
    "contracts": [
      {
        "code_hash": "string",
        "gas_usage": 0
      }
    ]
  },
  "71": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "72": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "73": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "79": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "81": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "82": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "raw": "string"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Blockchain Config From Block

Get raw blockchain config from a specific block, if present.

GET
/v2/blockchain/masterchain/{masterchain_seqno}/config/raw

Path Parameters

masterchain_seqnointeger

masterchain block seqno

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain/123456/config/raw"
{
  "config": {}
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Block Transactions

Get transactions from block

GET
/v2/blockchain/blocks/{block_id}/transactions

Path Parameters

block_idstring

block ID

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/blocks/(-1,8000000000000000,4234234)/transactions"
{
  "transactions": [
    {
      "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "lt": 25713146000001,
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "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",
      "in_msg": {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      },
      "out_msgs": [
        {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        }
      ],
      "block": "(-1,4234234,8000000000000000)",
      "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "prev_trans_lt": 25713146000001,
      "compute_phase": {
        "skipped": true,
        "skip_reason": "cskip_no_state",
        "success": true,
        "gas_fees": 1000,
        "gas_used": 10000,
        "vm_steps": 5,
        "exit_code": 0,
        "exit_code_description": "string"
      },
      "storage_phase": {
        "fees_collected": 25713146000001,
        "fees_due": 25713146000001,
        "status_change": "acst_unchanged"
      },
      "credit_phase": {
        "fees_collected": 100,
        "credit": 1000
      },
      "action_phase": {
        "success": true,
        "result_code": 5,
        "total_actions": 5,
        "skipped_actions": 5,
        "fwd_fees": 1000,
        "total_fees": 1000,
        "result_code_description": "string"
      },
      "bounce_phase": "cskip_no_state",
      "aborted": true,
      "destroyed": true,
      "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Transaction

Get transaction data

GET
/v2/blockchain/transactions/{transaction_id}

Path Parameters

transaction_idstring

transaction ID

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/transactions/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "lt": 25713146000001,
  "account": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "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",
  "in_msg": {
    "msg_type": "int_msg",
    "created_lt": 25713146000001,
    "ihr_disabled": true,
    "bounce": true,
    "bounced": true,
    "value": 60000000,
    "value_extra": [
      {
        "amount": "1000000000",
        "preview": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      }
    ],
    "fwd_fee": 5681002,
    "ihr_fee": 5681002,
    "destination": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "source": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "import_fee": 5681002,
    "created_at": 5681002,
    "op_code": "0xdeadbeaf",
    "init": {
      "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
      "interfaces": [
        "string"
      ]
    },
    "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
    "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
    "decoded_op_name": "nft_transfer",
    "decoded_body": null
  },
  "out_msgs": [
    {
      "msg_type": "int_msg",
      "created_lt": 25713146000001,
      "ihr_disabled": true,
      "bounce": true,
      "bounced": true,
      "value": 60000000,
      "value_extra": [
        {
          "amount": "1000000000",
          "preview": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        }
      ],
      "fwd_fee": 5681002,
      "ihr_fee": 5681002,
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "import_fee": 5681002,
      "created_at": 5681002,
      "op_code": "0xdeadbeaf",
      "init": {
        "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
        "interfaces": [
          "string"
        ]
      },
      "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
      "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
      "decoded_op_name": "nft_transfer",
      "decoded_body": null
    }
  ],
  "block": "(-1,4234234,8000000000000000)",
  "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "prev_trans_lt": 25713146000001,
  "compute_phase": {
    "skipped": true,
    "skip_reason": "cskip_no_state",
    "success": true,
    "gas_fees": 1000,
    "gas_used": 10000,
    "vm_steps": 5,
    "exit_code": 0,
    "exit_code_description": "string"
  },
  "storage_phase": {
    "fees_collected": 25713146000001,
    "fees_due": 25713146000001,
    "status_change": "acst_unchanged"
  },
  "credit_phase": {
    "fees_collected": 100,
    "credit": 1000
  },
  "action_phase": {
    "success": true,
    "result_code": 5,
    "total_actions": 5,
    "skipped_actions": 5,
    "fwd_fees": 1000,
    "total_fees": 1000,
    "result_code_description": "string"
  },
  "bounce_phase": "cskip_no_state",
  "aborted": true,
  "destroyed": true,
  "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Transaction By Message Hash

Get transaction data by message hash

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

Path Parameters

msg_idstring

message ID

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/messages/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/transaction"
{
  "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "lt": 25713146000001,
  "account": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "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",
  "in_msg": {
    "msg_type": "int_msg",
    "created_lt": 25713146000001,
    "ihr_disabled": true,
    "bounce": true,
    "bounced": true,
    "value": 60000000,
    "value_extra": [
      {
        "amount": "1000000000",
        "preview": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      }
    ],
    "fwd_fee": 5681002,
    "ihr_fee": 5681002,
    "destination": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "source": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "import_fee": 5681002,
    "created_at": 5681002,
    "op_code": "0xdeadbeaf",
    "init": {
      "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
      "interfaces": [
        "string"
      ]
    },
    "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
    "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
    "decoded_op_name": "nft_transfer",
    "decoded_body": null
  },
  "out_msgs": [
    {
      "msg_type": "int_msg",
      "created_lt": 25713146000001,
      "ihr_disabled": true,
      "bounce": true,
      "bounced": true,
      "value": 60000000,
      "value_extra": [
        {
          "amount": "1000000000",
          "preview": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        }
      ],
      "fwd_fee": 5681002,
      "ihr_fee": 5681002,
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "import_fee": 5681002,
      "created_at": 5681002,
      "op_code": "0xdeadbeaf",
      "init": {
        "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
        "interfaces": [
          "string"
        ]
      },
      "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
      "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
      "decoded_op_name": "nft_transfer",
      "decoded_body": null
    }
  ],
  "block": "(-1,4234234,8000000000000000)",
  "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
  "prev_trans_lt": 25713146000001,
  "compute_phase": {
    "skipped": true,
    "skip_reason": "cskip_no_state",
    "success": true,
    "gas_fees": 1000,
    "gas_used": 10000,
    "vm_steps": 5,
    "exit_code": 0,
    "exit_code_description": "string"
  },
  "storage_phase": {
    "fees_collected": 25713146000001,
    "fees_due": 25713146000001,
    "status_change": "acst_unchanged"
  },
  "credit_phase": {
    "fees_collected": 100,
    "credit": 1000
  },
  "action_phase": {
    "success": true,
    "result_code": 5,
    "total_actions": 5,
    "skipped_actions": 5,
    "fwd_fees": 1000,
    "total_fees": 1000,
    "result_code_description": "string"
  },
  "bounce_phase": "cskip_no_state",
  "aborted": true,
  "destroyed": true,
  "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Validators

Get blockchain validators

GET
/v2/blockchain/validators

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/validators"
{
  "elect_at": 123456789,
  "elect_close": 123456789,
  "min_stake": 123456789,
  "total_stake": 123456789,
  "validators": [
    {
      "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "adnl_address": "10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "stake": 123456789,
      "max_factor": 123456789
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Masterchain Head

Get last known masterchain block

GET
/v2/blockchain/masterchain-head

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/masterchain-head"
{
  "tx_quantity": 130,
  "value_flow": {
    "from_prev_blk": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "to_next_blk": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "imported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "exported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "fees_collected": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "burned": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "fees_imported": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "recovered": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "created": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    },
    "minted": {
      "grams": 10000000000,
      "other": [
        {
          "id": 13,
          "value": "10000000000"
        }
      ]
    }
  },
  "workchain_id": 0,
  "shard": "8000000000000000",
  "seqno": 21734019,
  "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
  "global_id": -239,
  "version": 0,
  "after_merge": true,
  "before_split": true,
  "after_split": true,
  "want_split": true,
  "want_merge": true,
  "key_block": true,
  "gen_utime": 1674826775,
  "start_lt": 23814011000000,
  "end_lt": 23814011000001,
  "vert_seqno": 0,
  "gen_catchain_seqno": 0,
  "min_ref_mc_seqno": 0,
  "prev_key_block_seqno": 0,
  "gen_software_version": 0,
  "gen_software_capabilities": 0,
  "master_ref": "(-1,4234234,8000000000000000)",
  "prev_refs": [
    [
      "(-1",
      4234235,
      "8000000000000000)"
    ]
  ],
  "in_msg_descr_length": 0,
  "out_msg_descr_length": 0,
  "rand_seed": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "created_by": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Raw Account

Get low-level information about an account taken directly from the blockchain.

GET
/v2/blockchain/accounts/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "balance": 123456789,
  "extra_balance": [
    {
      "amount": "1000000000",
      "preview": {
        "id": 239,
        "symbol": "FMS",
        "decimals": 5,
        "image": "https://cache.tonapi.io/images/extra.jpg"
      }
    }
  ],
  "code": "b5ee9c72410104010087000114ff00f4a413f4a0f2c80b0102012002030002d200dfa5ffff76a268698fe9ffe8e42c5267858f90e785ffe4f6aa6467c444ffb365ffc10802faf0807d014035e7a064b87d804077e7857fc10803dfd2407d014035e7a064b86467cd8903a32b9ba4410803ade68afd014035e7a045ea432b6363796103bb7b9363210c678b64b87d807d8040c249b3e4",
  "data": "b5ee9c7241010101002600004811fd096c0000000000000000000000000000000000000000000000000000000000000000cb78264d",
  "last_transaction_lt": 123456789,
  "last_transaction_hash": "088b436a846d92281734236967970612f87fbd64a2cd3573107948379e8e4161",
  "frozen_hash": "088b436a846d92281734236967970612f87fbd64a2cd3573107948379e8e4161",
  "status": "active",
  "storage": {
    "used_cells": 567,
    "used_bits": 567,
    "used_public_cells": 567,
    "last_paid": 1720860269,
    "due_payment": 567
  },
  "libraries": [
    {
      "public": true,
      "root": "string"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Account Transactions

Get account transactions

GET
/v2/blockchain/accounts/{account_id}/transactions

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

after_lt?integer

omit this parameter to get last transactions

Formatint64
before_lt?integer

omit this parameter to get last transactions

Formatint64
limit?integer
Default100
Formatint32
Range1 <= value <= 1000
sort_order?string

used to sort the result-set in ascending or descending order by lt.

Default"desc"
Value in"desc" | "asc"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/transactions"
{
  "transactions": [
    {
      "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "lt": 25713146000001,
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "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",
      "in_msg": {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      },
      "out_msgs": [
        {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        }
      ],
      "block": "(-1,4234234,8000000000000000)",
      "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "prev_trans_lt": 25713146000001,
      "compute_phase": {
        "skipped": true,
        "skip_reason": "cskip_no_state",
        "success": true,
        "gas_fees": 1000,
        "gas_used": 10000,
        "vm_steps": 5,
        "exit_code": 0,
        "exit_code_description": "string"
      },
      "storage_phase": {
        "fees_collected": 25713146000001,
        "fees_due": 25713146000001,
        "status_change": "acst_unchanged"
      },
      "credit_phase": {
        "fees_collected": 100,
        "credit": 1000
      },
      "action_phase": {
        "success": true,
        "result_code": 5,
        "total_actions": 5,
        "skipped_actions": 5,
        "fwd_fees": 1000,
        "total_fees": 1000,
        "result_code_description": "string"
      },
      "bounce_phase": "cskip_no_state",
      "aborted": true,
      "destroyed": true,
      "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Exec Get Method For Blockchain Account

Execute get method for account

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

Path Parameters

account_idstring

account ID

Formataddress
method_namestring

contract get method name

Query Parameters

args?array<string>

Array of method arguments in string format. Supported value formats:

  • "NaN" for Not-a-Number type
  • "Null" for Null type
  • Decimal integers for tinyint type (e.g., "100500")
  • 0x-prefixed hex strings for int257 type (e.g., "0xfa01d78381ae32")
  • TON blockchain addresses for slice type (e.g., "0:6e731f2e28b73539a7f85ac47ca104d5840b229351189977bb6151d36b5e3f5e")
  • Base64-encoded BOC for cell type (e.g., "te6ccgEBAQEAAgAAAA==")
  • Hex-encoded BOC for slice type (e.g., "b5ee9c72010101010002000000")

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/methods/get_wallet_address"
{
  "success": true,
  "exit_code": 0,
  "stack": [
    {
      "type": "cell",
      "cell": "string",
      "slice": "string",
      "num": "",
      "tuple": []
    }
  ],
  "decoded": null
}
{
  "error": "string",
  "error_code": 0
}

Exec Get Method With Body For Blockchain Account

Execute get method for account

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

Path Parameters

account_idstring

account ID

Formataddress
method_namestring

contract get method name

Request body for executing a GET method on a blockchain account via POST. This format allows passing arguments in the request body instead of query parameters, which is especially useful for large or complex input data.

args

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/blockchain/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/methods/get_wallet_address" \  -H "Content-Type: application/json" \  -d '{    "args": [      {        "type": "int257",        "value": "0xfa01d78381ae32"      }    ]  }'
{
  "success": true,
  "exit_code": 0,
  "stack": [
    {
      "type": "cell",
      "cell": "string",
      "slice": "string",
      "num": "",
      "tuple": []
    }
  ],
  "decoded": null
}
{
  "error": "string",
  "error_code": 0
}

Send Blockchain Message

Send message to blockchain

POST
/v2/blockchain/message

both a single boc and a batch of boc serialized in base64/hex are accepted

boc?string
Formatcell
batch?array<string>
Itemsitems <= 5
meta?

Response Body

application/json

curl -X POST "https://tonapi.io/v2/blockchain/message" \  -H "Content-Type: application/json" \  -d '{}'
Empty
{
  "error": "string",
  "error_code": 0
}

Get Blockchain Config

Get blockchain config

GET
/v2/blockchain/config

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/config"
{
  "0": "string",
  "1": "string",
  "2": "string",
  "3": "string",
  "4": "string",
  "5": {
    "blackhole_addr": "string",
    "fee_burn_nom": 0,
    "fee_burn_denom": 0
  },
  "6": {
    "mint_new_price": 0,
    "mint_add_price": 0
  },
  "7": {
    "currencies": [
      {
        "currency_id": 0,
        "amount": "string"
      }
    ]
  },
  "8": {
    "version": 0,
    "capabilities": 0
  },
  "9": {
    "mandatory_params": [
      0
    ]
  },
  "10": {
    "critical_params": [
      0
    ]
  },
  "11": {
    "normal_params": {
      "min_tot_rounds": 2,
      "max_tot_rounds": 6,
      "min_wins": 2,
      "max_losses": 6,
      "min_store_sec": 1000000,
      "max_store_sec": 10000000,
      "bit_price": 1,
      "cell_price": 500
    },
    "critical_params": {
      "min_tot_rounds": 2,
      "max_tot_rounds": 6,
      "min_wins": 2,
      "max_losses": 6,
      "min_store_sec": 1000000,
      "max_store_sec": 10000000,
      "bit_price": 1,
      "cell_price": 500
    }
  },
  "12": {
    "workchains": [
      {
        "workchain": 0,
        "enabled_since": 1000000,
        "actual_min_split": 1000000,
        "min_split": 1000000,
        "max_split": 1000000,
        "basic": 1000000,
        "active": true,
        "accept_msgs": true,
        "flags": 1000000,
        "zerostate_root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "zerostate_file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
        "version": 1000000
      }
    ]
  },
  "13": {
    "deposit": 0,
    "bit_price": 0,
    "cell_price": 0
  },
  "14": {
    "masterchain_block_fee": 0,
    "basechain_block_fee": 0
  },
  "15": {
    "validators_elected_for": 65536,
    "elections_start_before": 32768,
    "elections_end_before": 8192,
    "stake_held_for": 32768
  },
  "16": {
    "max_validators": 400,
    "max_main_validators": 100,
    "min_validators": 75
  },
  "17": {
    "min_stake": "string",
    "max_stake": "string",
    "min_total_stake": "string",
    "max_stake_factor": 0
  },
  "18": {
    "storage_prices": [
      {
        "utime_since": 0,
        "bit_price_ps": 1,
        "cell_price_ps": 500,
        "mc_bit_price_ps": 1000,
        "mc_cell_price_ps": 500000
      }
    ]
  },
  "20": {
    "gas_limits_prices": {
      "special_gas_limit": 0,
      "flat_gas_limit": 0,
      "flat_gas_price": 0,
      "gas_price": 1,
      "gas_limit": 1000000,
      "gas_credit": 1000000,
      "block_gas_limit": 1000000,
      "freeze_due_limit": 1000000,
      "delete_due_limit": 1000000
    }
  },
  "21": {
    "gas_limits_prices": {
      "special_gas_limit": 0,
      "flat_gas_limit": 0,
      "flat_gas_price": 0,
      "gas_price": 1,
      "gas_limit": 1000000,
      "gas_credit": 1000000,
      "block_gas_limit": 1000000,
      "freeze_due_limit": 1000000,
      "delete_due_limit": 1000000
    }
  },
  "22": {
    "block_limits": {
      "bytes": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "gas": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "lt_delta": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      }
    }
  },
  "23": {
    "block_limits": {
      "bytes": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "gas": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      },
      "lt_delta": {
        "underload": 1000000,
        "soft_limit": 1000000,
        "hard_limit": 1000000
      }
    }
  },
  "24": {
    "msg_forward_prices": {
      "lump_price": 1000000,
      "bit_price": 1000000,
      "cell_price": 1000000,
      "ihr_price_factor": 1000000,
      "first_frac": 1000000,
      "next_frac": 1000000
    }
  },
  "25": {
    "msg_forward_prices": {
      "lump_price": 1000000,
      "bit_price": 1000000,
      "cell_price": 1000000,
      "ihr_price_factor": 1000000,
      "first_frac": 1000000,
      "next_frac": 1000000
    }
  },
  "28": {
    "mc_catchain_lifetime": 1000000,
    "shard_catchain_lifetime": 1000000,
    "shard_validators_lifetime": 1000000,
    "shard_validators_num": 1000000,
    "flags": 1000000,
    "shuffle_mc_validators": true
  },
  "29": {
    "flags": 0,
    "new_catchain_ids": true,
    "round_candidates": 3,
    "next_candidate_delay_ms": 2000,
    "consensus_timeout_ms": 16000,
    "fast_attempts": 3,
    "attempt_duration": 8,
    "catchain_max_deps": 4,
    "max_block_bytes": 2097152,
    "max_collated_bytes": 2097152,
    "proto_version": 2,
    "catchain_max_blocks_coeff": 10000
  },
  "31": {
    "fundamental_smc_addr": [
      "-1:dd24c4a1f2b88f8b7053513b5cc6c5a31bc44b2a72dcb4d8c0338af0f0d37ec5"
    ]
  },
  "32": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "33": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "34": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "35": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "36": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "37": {
    "utime_since": 0,
    "utime_until": 0,
    "total": 0,
    "main": 0,
    "total_weight": "1152921504606846800",
    "list": [
      {
        "public_key": "string",
        "weight": 0,
        "adnl_addr": "45061C1D4EC44A937D0318589E13C73D151D1CEF5D3C0E53AFBCF56A6C2FE2BD"
      }
    ]
  },
  "40": {
    "misbehaviour_punishment_config": {
      "default_flat_fine": 1000000,
      "default_proportional_fine": 1000000,
      "severity_flat_mult": 1000000,
      "severity_proportional_mult": 1000000,
      "unpunishable_interval": 1000000,
      "long_interval": 1000000,
      "long_flat_mult": 1000000,
      "long_proportional_mult": 1000000,
      "medium_interval": 1000000,
      "medium_flat_mult": 1000000,
      "medium_proportional_mult": 1000000
    }
  },
  "43": {
    "size_limits_config": {
      "max_msg_bits": 1000000,
      "max_msg_cells": 1000000,
      "max_library_cells": 1000000,
      "max_vm_data_depth": 1000000,
      "max_ext_msg_size": 1000000,
      "max_ext_msg_depth": 1000000,
      "max_acc_state_cells": 1000000,
      "max_acc_state_bits": 1000000
    }
  },
  "44": {
    "accounts": [
      "0:0000000000000000000000000000000000000000000000000000000000000000"
    ],
    "suspended_until": 0
  },
  "45": {
    "contracts": [
      {
        "code_hash": "string",
        "gas_usage": 0
      }
    ]
  },
  "71": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "72": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "73": {
    "oracle_bridge_params": {
      "bridge_addr": "string",
      "oracle_multisig_address": "string",
      "external_chain_address": "string",
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ]
    }
  },
  "79": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "81": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "82": {
    "jetton_bridge_params": {
      "bridge_address": "string",
      "oracles_address": "string",
      "state_flags": 0,
      "burn_bridge_fee": 0,
      "oracles": [
        {
          "address": "0:55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "secp_pubkey": "00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6"
        }
      ],
      "external_chain_address": "string",
      "prices": {
        "bridge_burn_fee": 0,
        "bridge_mint_fee": 0,
        "wallet_min_tons_for_storage": 0,
        "wallet_gas_consumption": 0,
        "minter_min_tons_for_storage": 0,
        "discover_gas_consumption": 0
      }
    }
  },
  "raw": "string"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Blockchain Config

Get raw blockchain config

GET
/v2/blockchain/config/raw

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/config/raw"
{
  "config": {}
}
{
  "error": "string",
  "error_code": 0
}

Blockchain Account Inspect

Blockchain account inspect

GET
/v2/blockchain/accounts/{account_id}/inspect

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/inspect"
{
  "code": "string",
  "disassembled_code": "string",
  "code_hash": "string",
  "methods": [
    {
      "id": 0,
      "method": "get_something"
    }
  ],
  "compiler": "func",
  "source": {
    "files": [
      {
        "name": "string",
        "content": "string",
        "is_entrypoint": false,
        "is_std_lib": false,
        "include_in_command": false
      }
    ]
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Library By Hash

Get library cell

GET
/v2/blockchain/libraries/{hash}

Path Parameters

hashstring

hash in hex (without 0x) format

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/blockchain/libraries/131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
{
  "boc": "b5ee9c7201010101005f0000baff0020dd2082014c97ba218201339cbab19c71b0ed44d0d31fd70bffe304e0a4f260810200d71820d70b1fed44d0d31fd3ffd15112baf2a122f901541044f910f2a2f80001d31f3120d74a96d307d402fb00ded1a4c8cb1fcbffc9ed54"
}
{
  "error": "string",
  "error_code": 0
}

Address Parse

parse address and display in all formats

GET
/v2/address/{account_id}/parse

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/address/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/parse"
{
  "raw_form": "0:6e731f2e28b73539a7f85ac47ca104d5840b229351189977bb6151d36b5e3f5e",
  "bounceable": {
    "b64": "string",
    "b64url": "string"
  },
  "non_bounceable": {
    "b64": "string",
    "b64url": "string"
  },
  "given_type": "string",
  "test_only": true
}
{
  "error": "string",
  "error_code": 0
}

Get Accounts

Get human-friendly information about several accounts without low-level details.

POST
/v2/accounts/_bulk

Query Parameters

currency?string

a list of account ids

account_idsarray<string>

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/accounts/_bulk" \  -H "Content-Type: application/json" \  -d '{    "account_ids": [      "0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"    ]  }'
{
  "accounts": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "balance": 123456789,
      "extra_balance": [
        {
          "amount": "1000000000",
          "preview": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        }
      ],
      "currencies_balance": {},
      "last_activity": 1720860269,
      "status": "active",
      "interfaces": [
        "nft_sale"
      ],
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "memo_required": true,
      "get_methods": [
        "get_item_data"
      ],
      "is_suspended": true,
      "is_wallet": true
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account

Get human-friendly information about an account without low-level details.

GET
/v2/accounts/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "balance": 123456789,
  "extra_balance": [
    {
      "amount": "1000000000",
      "preview": {
        "id": 239,
        "symbol": "FMS",
        "decimals": 5,
        "image": "https://cache.tonapi.io/images/extra.jpg"
      }
    }
  ],
  "currencies_balance": {},
  "last_activity": 1720860269,
  "status": "active",
  "interfaces": [
    "nft_sale"
  ],
  "name": "Ton foundation",
  "is_scam": true,
  "icon": "https://ton.org/logo.png",
  "memo_required": true,
  "get_methods": [
    "get_item_data"
  ],
  "is_suspended": true,
  "is_wallet": true
}
{
  "error": "string",
  "error_code": 0
}

Account Dns Back Resolve

Get account's domains

GET
/v2/accounts/{account_id}/dns/backresolve

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/dns/backresolve"
{
  "domains": [
    "vasya.ton"
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Jettons Balances

Get all Jettons balances by owner address

GET
/v2/accounts/{account_id}/jettons

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

currencies?array<string>

accept ton and all possible fiat currencies, separated by commas

supported_extensions?array<string>

comma separated list supported extensions

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/jettons"
{
  "balances": [
    {
      "balance": "597968399",
      "scaled_ui_balance": "597968399",
      "price": {
        "prices": {
          "TON": 1.3710752873163712
        },
        "diff_24h": {
          "TON": "-1.28%"
        },
        "diff_7d": {
          "TON": "-2.74%"
        },
        "diff_30d": {
          "TON": "-0.56%"
        }
      },
      "wallet_address": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "jetton": {
        "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "name": "Wrapped TON",
        "symbol": "WTON",
        "decimals": 9,
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "verification": "whitelist",
        "custom_payload_api_uri": "string",
        "score": 0
      },
      "extensions": [
        "custom_payload",
        "non_transferable"
      ],
      "lock": {
        "amount": "597968399",
        "till": 1678223064
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Jetton Balance

Get Jetton balance by owner address

GET
/v2/accounts/{account_id}/jettons/{jetton_id}

Path Parameters

account_idstring

account ID

Formataddress
jetton_idstring

jetton ID

Formataddress

Query Parameters

currencies?array<string>

accept ton and all possible fiat currencies, separated by commas

supported_extensions?array<string>

comma separated list supported extensions

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "balance": "597968399",
  "scaled_ui_balance": "597968399",
  "price": {
    "prices": {
      "TON": 1.3710752873163712
    },
    "diff_24h": {
      "TON": "-1.28%"
    },
    "diff_7d": {
      "TON": "-2.74%"
    },
    "diff_30d": {
      "TON": "-0.56%"
    }
  },
  "wallet_address": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "jetton": {
    "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
    "name": "Wrapped TON",
    "symbol": "WTON",
    "decimals": 9,
    "image": "https://cache.tonapi.io/images/jetton.jpg",
    "verification": "whitelist",
    "custom_payload_api_uri": "string",
    "score": 0
  },
  "extensions": [
    "custom_payload",
    "non_transferable"
  ],
  "lock": {
    "amount": "597968399",
    "till": 1678223064
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Account Jettons History

Get the transfer jettons history for account

GET
/v2/accounts/{account_id}/jettons/history

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/jettons/history?limit=100"
{
  "operations": [
    {
      "operation": "transfer",
      "utime": 1234567890,
      "lt": 25713146000001,
      "transaction_hash": "cbf3e3d70ecf6f69643dd430761cd6004de2cacbdbc3029b0abd30ca3cc1c67e",
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "amount": "1000000000",
      "jetton": {
        "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "name": "Wrapped TON",
        "symbol": "WTON",
        "decimals": 9,
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "verification": "whitelist",
        "custom_payload_api_uri": "string",
        "score": 0
      },
      "trace_id": "8fa19eec7bd6d00d0d76048cebe31e34082a859410c9fcf7d55ef4ff8f7fcb47",
      "query_id": "17286061481122318000",
      "payload": null
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Account Jetton History By I D

Please use `getJettonAccountHistoryByID`` instead

GET
/v2/accounts/{account_id}/jettons/{jetton_id}/history

Path Parameters

account_idstring

account ID

Formataddress
jetton_idstring

jetton ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/history?limit=100"
{
  "events": [
    {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "timestamp": 1234567890,
      "actions": [
        {
          "type": "TonTransfer",
          "status": "ok",
          "TonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 123456789,
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "ExtraCurrencyTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": "1000000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "currency": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          },
          "ContractDeploy": {
            "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "interfaces": [
              "nft_item",
              "nft_royalty"
            ]
          },
          "JettonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "scaled_ui_amount": "1100000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonBurn": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonMint": {
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "NftItemTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "nft": "",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "payload": "0234de3e21d21b3ee21f3",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "Subscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 1000000000,
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "initial": false
          },
          "UnSubscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "AuctionBid": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "bidder": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "auction": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "NftPurchase": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "seller": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "buyer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStakeRequest": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "ElectionsDepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "ElectionsRecoverStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "JettonSwap": {
            "dex": "stonfi",
            "amount_in": "1660050553",
            "amount_out": "1660050553",
            "ton_in": 1000000000,
            "ton_out": 2000000000,
            "user_wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "router": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton_master_in": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            },
            "jetton_master_out": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "SmartContractExec": {
            "executor": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "contract": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "ton_attached": 123456789,
            "operation": "NftTransfer or 0x35d95a12",
            "payload": "string",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "DomainRenew": {
            "domain": "vasya.ton",
            "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "renewer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "Purchase": {
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "metadata": {
              "encrypted_binary": "string",
              "decryption_key": "dead.....beef"
            }
          },
          "AddExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "RemoveExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "SetSignatureAllowedAction": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "allowed": true
          },
          "GasRelay": {
            "amount": 1000000000,
            "relayer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "target": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositTokenStake": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "WithdrawTokenStakeRequest": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "LiquidityDeposit": {
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "from": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "tokens": [
              {
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                },
                "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            ]
          },
          "simple_preview": {
            "name": "Ton Transfer",
            "description": "Transferring 5 Ton",
            "action_image": "string",
            "value": "5 Ton",
            "value_image": "string",
            "accounts": [
              {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              }
            ]
          },
          "base_transactions": [
            "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
          ]
        }
      ],
      "is_scam": false,
      "lt": 25713146000001,
      "in_progress": false,
      "extra": 3,
      "progress": 0.5
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Account Nft Items

Get all NFT items by owner address

GET
/v2/accounts/{account_id}/nfts

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

collection?string

nft collection

Formataddress
limit?integer
Default1000
Range1 <= value <= 1000
offset?integer
Default0
Range0 <= value
indirect_ownership?boolean

Selling nft items in ton implemented usually via transfer items to special selling account. This option enables including items which owned not directly.

Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/nfts"
{
  "nft_items": [
    {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "index": 58,
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "collection": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "name": "TON Diamonds",
        "description": "Best collection in TON network"
      },
      "verified": true,
      "metadata": {},
      "sale": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "market": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "dns": "crypto.ton",
      "approved_by": [
        "getgems"
      ],
      "include_cnft": false,
      "trust": "whitelist"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Nft History

Get the transfer nft history

GET
/v2/accounts/{account_id}/nfts/history

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/nfts/history?limit=100"
{
  "operations": [
    {
      "operation": "transfer",
      "utime": 1234567890,
      "lt": 25713146000001,
      "transaction_hash": "0xdeadbeaf",
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "item": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "index": 58,
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "collection": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "name": "TON Diamonds",
          "description": "Best collection in TON network"
        },
        "verified": true,
        "metadata": {},
        "sale": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "market": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "price": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "previews": [
          {
            "resolution": "100x100",
            "url": "https://site.com/pic1.jpg"
          }
        ],
        "dns": "crypto.ton",
        "approved_by": [
          "getgems"
        ],
        "include_cnft": false,
        "trust": "whitelist"
      }
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Account Events

Get events for an account. Each event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.

GET
/v2/accounts/{account_id}/events

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

initiator?boolean

Show only events that are initiated by this account

Defaultfalse
subject_only?boolean

filter actions where requested account is not real subject (for example sender or receiver jettons)

Defaultfalse
before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 100
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/events?limit=20"
{
  "events": [
    {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "timestamp": 1234567890,
      "actions": [
        {
          "type": "TonTransfer",
          "status": "ok",
          "TonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 123456789,
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "ExtraCurrencyTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": "1000000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "currency": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          },
          "ContractDeploy": {
            "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "interfaces": [
              "nft_item",
              "nft_royalty"
            ]
          },
          "JettonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "scaled_ui_amount": "1100000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonBurn": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonMint": {
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "NftItemTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "nft": "",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "payload": "0234de3e21d21b3ee21f3",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "Subscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 1000000000,
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "initial": false
          },
          "UnSubscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "AuctionBid": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "bidder": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "auction": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "NftPurchase": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "seller": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "buyer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStakeRequest": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "ElectionsDepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "ElectionsRecoverStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "JettonSwap": {
            "dex": "stonfi",
            "amount_in": "1660050553",
            "amount_out": "1660050553",
            "ton_in": 1000000000,
            "ton_out": 2000000000,
            "user_wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "router": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton_master_in": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            },
            "jetton_master_out": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "SmartContractExec": {
            "executor": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "contract": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "ton_attached": 123456789,
            "operation": "NftTransfer or 0x35d95a12",
            "payload": "string",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "DomainRenew": {
            "domain": "vasya.ton",
            "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "renewer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "Purchase": {
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "metadata": {
              "encrypted_binary": "string",
              "decryption_key": "dead.....beef"
            }
          },
          "AddExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "RemoveExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "SetSignatureAllowedAction": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "allowed": true
          },
          "GasRelay": {
            "amount": 1000000000,
            "relayer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "target": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositTokenStake": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "WithdrawTokenStakeRequest": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "LiquidityDeposit": {
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "from": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "tokens": [
              {
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                },
                "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            ]
          },
          "simple_preview": {
            "name": "Ton Transfer",
            "description": "Transferring 5 Ton",
            "action_image": "string",
            "value": "5 Ton",
            "value_image": "string",
            "accounts": [
              {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              }
            ]
          },
          "base_transactions": [
            "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
          ]
        }
      ],
      "is_scam": false,
      "lt": 25713146000001,
      "in_progress": false,
      "extra": 3,
      "progress": 0.5
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Account Event

Get event for an account by event_id

GET
/v2/accounts/{account_id}/events/{event_id}

Path Parameters

account_idstring

account ID

Formataddress
event_idstring

event ID or transaction hash in hex (without 0x) or base64url format

Query Parameters

subject_only?boolean

filter actions where requested account is not real subject (for example sender or receiver jettons)

Defaultfalse

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/events/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
  "account": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "timestamp": 1234567890,
  "actions": [
    {
      "type": "TonTransfer",
      "status": "ok",
      "TonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 123456789,
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "ExtraCurrencyTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": "1000000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "currency": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      },
      "ContractDeploy": {
        "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "interfaces": [
          "nft_item",
          "nft_royalty"
        ]
      },
      "JettonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "scaled_ui_amount": "1100000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonBurn": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonMint": {
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "NftItemTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "nft": "",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "payload": "0234de3e21d21b3ee21f3",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "Subscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 1000000000,
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "initial": false
      },
      "UnSubscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "AuctionBid": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "bidder": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "auction": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "NftPurchase": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "seller": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "buyer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStakeRequest": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "ElectionsDepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "ElectionsRecoverStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "JettonSwap": {
        "dex": "stonfi",
        "amount_in": "1660050553",
        "amount_out": "1660050553",
        "ton_in": 1000000000,
        "ton_out": 2000000000,
        "user_wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "router": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton_master_in": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        },
        "jetton_master_out": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "SmartContractExec": {
        "executor": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "contract": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "ton_attached": 123456789,
        "operation": "NftTransfer or 0x35d95a12",
        "payload": "string",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "DomainRenew": {
        "domain": "vasya.ton",
        "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "renewer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "Purchase": {
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "metadata": {
          "encrypted_binary": "string",
          "decryption_key": "dead.....beef"
        }
      },
      "AddExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "RemoveExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "SetSignatureAllowedAction": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "allowed": true
      },
      "GasRelay": {
        "amount": 1000000000,
        "relayer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "target": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositTokenStake": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "WithdrawTokenStakeRequest": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "LiquidityDeposit": {
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "from": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "tokens": [
          {
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        ]
      },
      "simple_preview": {
        "name": "Ton Transfer",
        "description": "Transferring 5 Ton",
        "action_image": "string",
        "value": "5 Ton",
        "value_image": "string",
        "accounts": [
          {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        ]
      },
      "base_transactions": [
        "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
      ]
    }
  ],
  "is_scam": false,
  "lt": 25713146000001,
  "in_progress": false,
  "extra": 3,
  "progress": 0.5
}
{
  "error": "string",
  "error_code": 0
}

Get Account Traces

Get traces for account

GET
/v2/accounts/{account_id}/traces

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limit?integer
Default100
Range1 <= value <= 1000

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/traces"
{
  "traces": [
    {
      "id": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "utime": 1645544908
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Subscriptions

Get all subscriptions by wallet address

GET
/v2/accounts/{account_id}/subscriptions

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/subscriptions"
{
  "subscriptions": [
    {
      "type": "v2",
      "status": "not_ready",
      "period": 2592000,
      "subscription_id": "string",
      "payment_per_period": {
        "currency_type": "jetton",
        "value": "123000000000",
        "decimals": 9,
        "token_name": "TON",
        "verification": "whitelist",
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
      },
      "wallet": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "next_charge_at": 1653996834,
      "metadata": {
        "encrypted_binary": "string",
        "decryption_key": "dead.....beef"
      },
      "address": "0:dea8f638b789172ce36d10a20318125e52c649aa84893cd77858224fe2b9b0ee",
      "beneficiary": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "admin": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Reindex Account

Update internal cache for a particular account

POST
/v2/accounts/{account_id}/reindex

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

curl -X POST "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/reindex"
Empty
{
  "error": "string",
  "error_code": 0
}

Search Accounts

Search by account domain name

GET
/v2/accounts/search

Query Parameters

namestring
Length3 <= length <= 15

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/search?name=string"
{
  "addresses": [
    {
      "address": "string",
      "name": "blah_blah.ton",
      "preview": "https://cache.tonapi.io/images/media.jpg",
      "trust": "whitelist"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Dns Expiring

Get expiring account .ton dns

GET
/v2/accounts/{account_id}/dns/expiring

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

period?integer

number of days before expiration

Range1 <= value <= 3660

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/dns/expiring"
{
  "items": [
    {
      "expiring_at": 1678275313,
      "name": "blah_blah.ton",
      "dns_item": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "index": 58,
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "collection": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "name": "TON Diamonds",
          "description": "Best collection in TON network"
        },
        "verified": true,
        "metadata": {},
        "sale": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "market": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "price": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "previews": [
          {
            "resolution": "100x100",
            "url": "https://site.com/pic1.jpg"
          }
        ],
        "dns": "crypto.ton",
        "approved_by": [
          "getgems"
        ],
        "include_cnft": false,
        "trust": "whitelist"
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Public Key

Get public key by account id

GET
/v2/accounts/{account_id}/publickey

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/publickey"
{
  "public_key": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
}
{
  "error": "string",
  "error_code": 0
}

Get Account Multisigs

Get account's multisigs

GET
/v2/accounts/{account_id}/multisigs

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/multisigs"
{
  "multisigs": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "seqno": "string",
      "threshold": 0,
      "signers": [
        "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
      ],
      "proposers": [
        "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
      ],
      "orders": [
        {
          "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "order_seqno": "string",
          "threshold": 0,
          "sent_for_execution": false,
          "signers": [
            "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          ],
          "approvals_num": 0,
          "expiration_date": 0,
          "risk": {
            "transfer_all_remaining_balance": true,
            "ton": 500,
            "jettons": [
              {
                "quantity": "597968399",
                "wallet_address": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "jetton": {
                  "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
                  "name": "Wrapped TON",
                  "symbol": "WTON",
                  "decimals": 9,
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "verification": "whitelist",
                  "custom_payload_api_uri": "string",
                  "score": 0
                }
              }
            ],
            "nfts": [
              {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "index": 58,
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "collection": {
                  "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                  "name": "TON Diamonds",
                  "description": "Best collection in TON network"
                },
                "verified": true,
                "metadata": {},
                "sale": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "market": {
                    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                    "name": "Ton foundation",
                    "is_scam": true,
                    "icon": "https://ton.org/logo.png",
                    "is_wallet": true
                  },
                  "owner": {
                    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                    "name": "Ton foundation",
                    "is_scam": true,
                    "icon": "https://ton.org/logo.png",
                    "is_wallet": true
                  },
                  "price": {
                    "currency_type": "jetton",
                    "value": "123000000000",
                    "decimals": 9,
                    "token_name": "TON",
                    "verification": "whitelist",
                    "image": "https://cache.tonapi.io/images/jetton.jpg",
                    "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                  }
                },
                "previews": [
                  {
                    "resolution": "100x100",
                    "url": "https://site.com/pic1.jpg"
                  }
                ],
                "dns": "crypto.ton",
                "approved_by": [
                  "getgems"
                ],
                "include_cnft": false,
                "trust": "whitelist"
              }
            ],
            "total_equivalent": 0.1
          },
          "creation_date": 0,
          "signed_by": [
            "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          ],
          "multisig_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "changing_parameters": {
            "threshold": 0,
            "signers": [
              "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            ],
            "proposers": [
              "string"
            ]
          }
        }
      ]
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Account Diff

Get account's balance change

GET
/v2/accounts/{account_id}/diff

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

start_dateinteger
Formatint64
Rangevalue <= 2114380800
end_dateinteger
Formatint64
Rangevalue <= 2114380800

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/diff?start_date=1668436763&end_date=1668436763"
{
  "balance_change": 1000000000
}
{
  "error": "string",
  "error_code": 0
}

Get Account Extra Currency History By I D

Get the transfer history of extra currencies for an account.

GET
/v2/accounts/{account_id}/extra-currency/{id}/history

Path Parameters

account_idstring

account ID

Formataddress
idinteger

extra currency id

Formatint32

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/extra-currency/239/history?limit=100"
{
  "events": [
    {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "timestamp": 1234567890,
      "actions": [
        {
          "type": "TonTransfer",
          "status": "ok",
          "TonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 123456789,
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "ExtraCurrencyTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": "1000000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "currency": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          },
          "ContractDeploy": {
            "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "interfaces": [
              "nft_item",
              "nft_royalty"
            ]
          },
          "JettonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "scaled_ui_amount": "1100000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonBurn": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonMint": {
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "NftItemTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "nft": "",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "payload": "0234de3e21d21b3ee21f3",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "Subscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 1000000000,
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "initial": false
          },
          "UnSubscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "AuctionBid": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "bidder": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "auction": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "NftPurchase": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "seller": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "buyer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStakeRequest": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "ElectionsDepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "ElectionsRecoverStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "JettonSwap": {
            "dex": "stonfi",
            "amount_in": "1660050553",
            "amount_out": "1660050553",
            "ton_in": 1000000000,
            "ton_out": 2000000000,
            "user_wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "router": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton_master_in": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            },
            "jetton_master_out": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "SmartContractExec": {
            "executor": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "contract": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "ton_attached": 123456789,
            "operation": "NftTransfer or 0x35d95a12",
            "payload": "string",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "DomainRenew": {
            "domain": "vasya.ton",
            "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "renewer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "Purchase": {
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "metadata": {
              "encrypted_binary": "string",
              "decryption_key": "dead.....beef"
            }
          },
          "AddExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "RemoveExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "SetSignatureAllowedAction": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "allowed": true
          },
          "GasRelay": {
            "amount": 1000000000,
            "relayer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "target": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositTokenStake": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "WithdrawTokenStakeRequest": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "LiquidityDeposit": {
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "from": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "tokens": [
              {
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                },
                "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            ]
          },
          "simple_preview": {
            "name": "Ton Transfer",
            "description": "Transferring 5 Ton",
            "action_image": "string",
            "value": "5 Ton",
            "value_image": "string",
            "accounts": [
              {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              }
            ]
          },
          "base_transactions": [
            "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
          ]
        }
      ],
      "is_scam": false,
      "lt": 25713146000001,
      "in_progress": false,
      "extra": 3,
      "progress": 0.5
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Dns Info

Get full information about domain name

GET
/v2/dns/{domain_name}

Path Parameters

domain_namestring

domain name with .ton or .t.me

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/dns/wallet.ton"
{
  "name": "string",
  "expiring_at": 0,
  "item": {
    "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
    "index": 58,
    "owner": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "collection": {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "name": "TON Diamonds",
      "description": "Best collection in TON network"
    },
    "verified": true,
    "metadata": {},
    "sale": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "market": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "price": {
        "currency_type": "jetton",
        "value": "123000000000",
        "decimals": 9,
        "token_name": "TON",
        "verification": "whitelist",
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
      }
    },
    "previews": [
      {
        "resolution": "100x100",
        "url": "https://site.com/pic1.jpg"
      }
    ],
    "dns": "crypto.ton",
    "approved_by": [
      "getgems"
    ],
    "include_cnft": false,
    "trust": "whitelist"
  }
}
{
  "error": "string",
  "error_code": 0
}

Dns Resolve

DNS resolve for domain name

GET
/v2/dns/{domain_name}/resolve

Path Parameters

domain_namestring

domain name with .ton or .t.me

Query Parameters

filter?boolean
Defaultfalse

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/dns/wallet.ton/resolve"
{
  "wallet": {
    "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "is_wallet": true,
    "has_method_pubkey": true,
    "has_method_seqno": true,
    "names": [
      "name"
    ]
  },
  "next_resolver": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "sites": [
    "http://12234.ton"
  ],
  "storage": "da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
}
{
  "error": "string",
  "error_code": 0
}

Get Domain Bids

Get domain bids

GET
/v2/dns/{domain_name}/bids

Path Parameters

domain_namestring

domain name with .ton or .t.me

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/dns/wallet.ton/bids"
{
  "data": [
    {
      "success": true,
      "value": 1660050553,
      "txTime": 1660050553,
      "txHash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "bidder": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get All Auctions

Get all auctions

GET
/v2/dns/auctions

Query Parameters

tld?string

domain filter for current auctions "ton" or "t.me"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/dns/auctions"
{
  "data": [
    {
      "domain": "wallet.ton",
      "owner": "0:c704dadfabac88eab58e340de03080df81ff76636431f48624ad6e26fb2da0a4",
      "price": 1660050553,
      "bids": 1660050553,
      "date": 1660050553
    }
  ],
  "total": 1660050553
}
{
  "error": "string",
  "error_code": 0
}

Get Nft Collections

Get NFT collections

GET
/v2/nfts/collections

Query Parameters

limit?integer
Default100
Formatint32
Range1 <= value <= 1000
offset?integer
Default0
Formatint32
Range0 <= value

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/nfts/collections"
{
  "nft_collections": [
    {
      "address": "0:FD595F36B4C1535BEC8461490D38EBB9AE3C38DD6ACE17CA63ABE2C6608BE159",
      "next_item_index": 1,
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "raw_collection_content": "string",
      "metadata": {},
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "approved_by": [
        "getgems"
      ]
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Nft Collection

Get NFT collection by collection address

GET
/v2/nfts/collections/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/nfts/collections/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:FD595F36B4C1535BEC8461490D38EBB9AE3C38DD6ACE17CA63ABE2C6608BE159",
  "next_item_index": 1,
  "owner": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "raw_collection_content": "string",
  "metadata": {},
  "previews": [
    {
      "resolution": "100x100",
      "url": "https://site.com/pic1.jpg"
    }
  ],
  "approved_by": [
    "getgems"
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Nft Collection Items By Addresses

Get NFT collection items by their addresses

POST
/v2/nfts/collections/_bulk

a list of account ids

account_idsarray<string>

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/nfts/collections/_bulk" \  -H "Content-Type: application/json" \  -d '{    "account_ids": [      "0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"    ]  }'
{
  "nft_collections": [
    {
      "address": "0:FD595F36B4C1535BEC8461490D38EBB9AE3C38DD6ACE17CA63ABE2C6608BE159",
      "next_item_index": 1,
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "raw_collection_content": "string",
      "metadata": {},
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "approved_by": [
        "getgems"
      ]
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Items From Collection

Get NFT items from collection by collection address

GET
/v2/nfts/collections/{account_id}/items

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

limit?integer
Default1000
Range1 <= value <= 1000
offset?integer
Default0
Range0 <= value

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/nfts/collections/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/items"
{
  "nft_items": [
    {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "index": 58,
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "collection": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "name": "TON Diamonds",
        "description": "Best collection in TON network"
      },
      "verified": true,
      "metadata": {},
      "sale": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "market": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "dns": "crypto.ton",
      "approved_by": [
        "getgems"
      ],
      "include_cnft": false,
      "trust": "whitelist"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Nft Items By Addresses

Get NFT items by their addresses

POST
/v2/nfts/_bulk

a list of account ids

account_idsarray<string>

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/nfts/_bulk" \  -H "Content-Type: application/json" \  -d '{    "account_ids": [      "0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"    ]  }'
{
  "nft_items": [
    {
      "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
      "index": 58,
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "collection": {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "name": "TON Diamonds",
        "description": "Best collection in TON network"
      },
      "verified": true,
      "metadata": {},
      "sale": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "market": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "previews": [
        {
          "resolution": "100x100",
          "url": "https://site.com/pic1.jpg"
        }
      ],
      "dns": "crypto.ton",
      "approved_by": [
        "getgems"
      ],
      "include_cnft": false,
      "trust": "whitelist"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Nft Item By Address

Get NFT item by its address

GET
/v2/nfts/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/nfts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
  "index": 58,
  "owner": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "collection": {
    "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
    "name": "TON Diamonds",
    "description": "Best collection in TON network"
  },
  "verified": true,
  "metadata": {},
  "sale": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "market": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "owner": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "price": {
      "currency_type": "jetton",
      "value": "123000000000",
      "decimals": 9,
      "token_name": "TON",
      "verification": "whitelist",
      "image": "https://cache.tonapi.io/images/jetton.jpg",
      "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
    }
  },
  "previews": [
    {
      "resolution": "100x100",
      "url": "https://site.com/pic1.jpg"
    }
  ],
  "dns": "crypto.ton",
  "approved_by": [
    "getgems"
  ],
  "include_cnft": false,
  "trust": "whitelist"
}
{
  "error": "string",
  "error_code": 0
}

Get Nft History By I D

Please use `getAccountNftHistory`` instead

GET
/v2/nfts/{account_id}/history

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/nfts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/history?limit=100"
{
  "events": [
    {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "timestamp": 1234567890,
      "actions": [
        {
          "type": "TonTransfer",
          "status": "ok",
          "TonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 123456789,
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "ExtraCurrencyTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": "1000000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "currency": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          },
          "ContractDeploy": {
            "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "interfaces": [
              "nft_item",
              "nft_royalty"
            ]
          },
          "JettonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "scaled_ui_amount": "1100000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonBurn": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonMint": {
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "NftItemTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "nft": "",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "payload": "0234de3e21d21b3ee21f3",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "Subscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 1000000000,
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "initial": false
          },
          "UnSubscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "AuctionBid": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "bidder": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "auction": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "NftPurchase": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "seller": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "buyer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStakeRequest": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "ElectionsDepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "ElectionsRecoverStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "JettonSwap": {
            "dex": "stonfi",
            "amount_in": "1660050553",
            "amount_out": "1660050553",
            "ton_in": 1000000000,
            "ton_out": 2000000000,
            "user_wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "router": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton_master_in": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            },
            "jetton_master_out": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "SmartContractExec": {
            "executor": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "contract": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "ton_attached": 123456789,
            "operation": "NftTransfer or 0x35d95a12",
            "payload": "string",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "DomainRenew": {
            "domain": "vasya.ton",
            "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "renewer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "Purchase": {
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "metadata": {
              "encrypted_binary": "string",
              "decryption_key": "dead.....beef"
            }
          },
          "AddExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "RemoveExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "SetSignatureAllowedAction": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "allowed": true
          },
          "GasRelay": {
            "amount": 1000000000,
            "relayer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "target": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositTokenStake": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "WithdrawTokenStakeRequest": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "LiquidityDeposit": {
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "from": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "tokens": [
              {
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                },
                "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            ]
          },
          "simple_preview": {
            "name": "Ton Transfer",
            "description": "Transferring 5 Ton",
            "action_image": "string",
            "value": "5 Ton",
            "value_image": "string",
            "accounts": [
              {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              }
            ]
          },
          "base_transactions": [
            "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
          ]
        }
      ],
      "is_scam": false,
      "lt": 25713146000001,
      "in_progress": false,
      "extra": 3,
      "progress": 0.5
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Trace

Get the trace by trace ID or hash of any transaction in trace

GET
/v2/traces/{trace_id}

Path Parameters

trace_idstring

trace ID or transaction hash in hex (without 0x) or base64url format

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/traces/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "transaction": {
    "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "lt": 25713146000001,
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "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",
    "in_msg": {
      "msg_type": "int_msg",
      "created_lt": 25713146000001,
      "ihr_disabled": true,
      "bounce": true,
      "bounced": true,
      "value": 60000000,
      "value_extra": [
        {
          "amount": "1000000000",
          "preview": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        }
      ],
      "fwd_fee": 5681002,
      "ihr_fee": 5681002,
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "import_fee": 5681002,
      "created_at": 5681002,
      "op_code": "0xdeadbeaf",
      "init": {
        "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
        "interfaces": [
          "string"
        ]
      },
      "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
      "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
      "decoded_op_name": "nft_transfer",
      "decoded_body": null
    },
    "out_msgs": [
      {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      }
    ],
    "block": "(-1,4234234,8000000000000000)",
    "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "prev_trans_lt": 25713146000001,
    "compute_phase": {
      "skipped": true,
      "skip_reason": "cskip_no_state",
      "success": true,
      "gas_fees": 1000,
      "gas_used": 10000,
      "vm_steps": 5,
      "exit_code": 0,
      "exit_code_description": "string"
    },
    "storage_phase": {
      "fees_collected": 25713146000001,
      "fees_due": 25713146000001,
      "status_change": "acst_unchanged"
    },
    "credit_phase": {
      "fees_collected": 100,
      "credit": 1000
    },
    "action_phase": {
      "success": true,
      "result_code": 5,
      "total_actions": 5,
      "skipped_actions": 5,
      "fwd_fees": 1000,
      "total_fees": 1000,
      "result_code_description": "string"
    },
    "bounce_phase": "cskip_no_state",
    "aborted": true,
    "destroyed": true,
    "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
  },
  "interfaces": [
    "wallet",
    "tep62_item"
  ],
  "children": [
    {
      "transaction": {
        "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "lt": 25713146000001,
        "account": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "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",
        "in_msg": {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        },
        "out_msgs": [
          {
            "msg_type": "int_msg",
            "created_lt": 25713146000001,
            "ihr_disabled": true,
            "bounce": true,
            "bounced": true,
            "value": 60000000,
            "value_extra": [
              {
                "amount": "1000000000",
                "preview": {
                  "id": 239,
                  "symbol": "FMS",
                  "decimals": 5,
                  "image": "https://cache.tonapi.io/images/extra.jpg"
                }
              }
            ],
            "fwd_fee": 5681002,
            "ihr_fee": 5681002,
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "import_fee": 5681002,
            "created_at": 5681002,
            "op_code": "0xdeadbeaf",
            "init": {
              "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
              "interfaces": [
                "string"
              ]
            },
            "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
            "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
            "decoded_op_name": "nft_transfer",
            "decoded_body": null
          }
        ],
        "block": "(-1,4234234,8000000000000000)",
        "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "prev_trans_lt": 25713146000001,
        "compute_phase": {
          "skipped": true,
          "skip_reason": "cskip_no_state",
          "success": true,
          "gas_fees": 1000,
          "gas_used": 10000,
          "vm_steps": 5,
          "exit_code": 0,
          "exit_code_description": "string"
        },
        "storage_phase": {
          "fees_collected": 25713146000001,
          "fees_due": 25713146000001,
          "status_change": "acst_unchanged"
        },
        "credit_phase": {
          "fees_collected": 100,
          "credit": 1000
        },
        "action_phase": {
          "success": true,
          "result_code": 5,
          "total_actions": 5,
          "skipped_actions": 5,
          "fwd_fees": 1000,
          "total_fees": 1000,
          "result_code_description": "string"
        },
        "bounce_phase": "cskip_no_state",
        "aborted": true,
        "destroyed": true,
        "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
      },
      "interfaces": [
        "wallet",
        "tep62_item"
      ],
      "children": [],
      "emulated": false
    }
  ],
  "emulated": false
}
{
  "error": "string",
  "error_code": 0
}

Get Event

Get an event either by event ID or a hash of any transaction in a trace. An event is built on top of a trace which is a series of transactions caused by one inbound message. TonAPI looks for known patterns inside the trace and splits the trace into actions, where a single action represents a meaningful high-level operation like a Jetton Transfer or an NFT Purchase. Actions are expected to be shown to users. It is advised not to build any logic on top of actions because actions can be changed at any time.

GET
/v2/events/{event_id}

Path Parameters

event_idstring

event ID or transaction hash in hex (without 0x) or base64url format

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/events/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
  "timestamp": 1234567890,
  "actions": [
    {
      "type": "TonTransfer",
      "status": "ok",
      "TonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 123456789,
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "ExtraCurrencyTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": "1000000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "currency": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      },
      "ContractDeploy": {
        "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "interfaces": [
          "nft_item",
          "nft_royalty"
        ]
      },
      "JettonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "scaled_ui_amount": "1100000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonBurn": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonMint": {
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "NftItemTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "nft": "",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "payload": "0234de3e21d21b3ee21f3",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "Subscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 1000000000,
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "initial": false
      },
      "UnSubscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "AuctionBid": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "bidder": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "auction": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "NftPurchase": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "seller": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "buyer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStakeRequest": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "ElectionsDepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "ElectionsRecoverStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "JettonSwap": {
        "dex": "stonfi",
        "amount_in": "1660050553",
        "amount_out": "1660050553",
        "ton_in": 1000000000,
        "ton_out": 2000000000,
        "user_wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "router": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton_master_in": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        },
        "jetton_master_out": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "SmartContractExec": {
        "executor": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "contract": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "ton_attached": 123456789,
        "operation": "NftTransfer or 0x35d95a12",
        "payload": "string",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "DomainRenew": {
        "domain": "vasya.ton",
        "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "renewer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "Purchase": {
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "metadata": {
          "encrypted_binary": "string",
          "decryption_key": "dead.....beef"
        }
      },
      "AddExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "RemoveExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "SetSignatureAllowedAction": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "allowed": true
      },
      "GasRelay": {
        "amount": 1000000000,
        "relayer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "target": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositTokenStake": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "WithdrawTokenStakeRequest": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "LiquidityDeposit": {
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "from": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "tokens": [
          {
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        ]
      },
      "simple_preview": {
        "name": "Ton Transfer",
        "description": "Transferring 5 Ton",
        "action_image": "string",
        "value": "5 Ton",
        "value_image": "string",
        "accounts": [
          {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        ]
      },
      "base_transactions": [
        "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
      ]
    }
  ],
  "value_flow": [
    {
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "ton": 80,
      "fees": 10,
      "jettons": [
        {
          "account": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          },
          "qty": "200",
          "quantity": 10
        }
      ]
    }
  ],
  "is_scam": false,
  "lt": 25713146000001,
  "in_progress": false,
  "progress": 0.5
}
{
  "error": "string",
  "error_code": 0
}

Get Jettons

Get a list of all indexed jetton masters in the blockchain.

GET
/v2/jettons

Query Parameters

limit?integer
Default100
Formatint32
Range1 <= value <= 1000
offset?integer
Default0
Formatint32
Range0 <= value

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/jettons"
{
  "jettons": [
    {
      "mintable": true,
      "total_supply": "5887105890579978",
      "admin": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "metadata": {
        "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "name": "Wrapped TON",
        "symbol": "WTON",
        "decimals": "9",
        "image": "https://bitcoincash-example.github.io/website/logo.png",
        "description": "Wrapped Toncoin",
        "social": [
          [
            "https://t.me/durov_coin",
            "https://twitter.com/durov_coin"
          ]
        ],
        "websites": [
          [
            "https://durov.coin",
            "ton://durov-coin.ton"
          ]
        ],
        "catalogs": [
          [
            "https://coinmarketcap.com/currencies/drv/",
            "https://www.coingecko.com/en/coins/durov"
          ]
        ],
        "custom_payload_api_uri": "https://claim-api.tonapi.io/jettons/TESTMINT"
      },
      "preview": "https://cache.tonapi.io/images/jetton.jpg",
      "verification": "whitelist",
      "holders_count": 2000
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Jetton Info

Get jetton metadata by jetton master address

GET
/v2/jettons/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "mintable": true,
  "total_supply": "5887105890579978",
  "admin": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "metadata": {
    "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
    "name": "Wrapped TON",
    "symbol": "WTON",
    "decimals": "9",
    "image": "https://bitcoincash-example.github.io/website/logo.png",
    "description": "Wrapped Toncoin",
    "social": [
      [
        "https://t.me/durov_coin",
        "https://twitter.com/durov_coin"
      ]
    ],
    "websites": [
      [
        "https://durov.coin",
        "ton://durov-coin.ton"
      ]
    ],
    "catalogs": [
      [
        "https://coinmarketcap.com/currencies/drv/",
        "https://www.coingecko.com/en/coins/durov"
      ]
    ],
    "custom_payload_api_uri": "https://claim-api.tonapi.io/jettons/TESTMINT"
  },
  "preview": "https://cache.tonapi.io/images/jetton.jpg",
  "verification": "whitelist",
  "holders_count": 2000
}
{
  "error": "string",
  "error_code": 0
}

Get Jetton Infos By Addresses

Get jetton metadata items by jetton master addresses

POST
/v2/jettons/_bulk

a list of account ids

account_idsarray<string>

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/jettons/_bulk" \  -H "Content-Type: application/json" \  -d '{    "account_ids": [      "0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"    ]  }'
{
  "jettons": [
    {
      "mintable": true,
      "total_supply": "5887105890579978",
      "admin": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "metadata": {
        "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "name": "Wrapped TON",
        "symbol": "WTON",
        "decimals": "9",
        "image": "https://bitcoincash-example.github.io/website/logo.png",
        "description": "Wrapped Toncoin",
        "social": [
          [
            "https://t.me/durov_coin",
            "https://twitter.com/durov_coin"
          ]
        ],
        "websites": [
          [
            "https://durov.coin",
            "ton://durov-coin.ton"
          ]
        ],
        "catalogs": [
          [
            "https://coinmarketcap.com/currencies/drv/",
            "https://www.coingecko.com/en/coins/durov"
          ]
        ],
        "custom_payload_api_uri": "https://claim-api.tonapi.io/jettons/TESTMINT"
      },
      "preview": "https://cache.tonapi.io/images/jetton.jpg",
      "verification": "whitelist",
      "holders_count": 2000
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Jetton Holders

Get jetton's holders

GET
/v2/jettons/{account_id}/holders

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

limit?integer
Default1000
Range1 <= value <= 1000
offset?integer
Default0
Range0 <= value <= 9000

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/holders"
{
  "addresses": [
    {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "owner": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "balance": "168856200518084"
    }
  ],
  "total": 2000
}
{
  "error": "string",
  "error_code": 0
}

Get Jetton Transfer Payload

Get jetton's custom payload and state init required for transfer

GET
/v2/jettons/{jetton_id}/transfer/{account_id}/payload

Path Parameters

account_idstring

account ID

Formataddress
jetton_idstring

jetton ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/transfer/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/payload"
{
  "custom_payload": "b5ee9c72410212010001b40009460395b521c9251151ae7987e03c544bd275d6cd42c2d157f840beb14d5454b96718000d012205817002020328480101fd7f6a648d4f771d7f0abc1707e4e806b19de1801f65eb8c133a4cfb0c33d847000b22012004052848010147da975b922d89192f4c9b68a640daa6764ec398c93cec025e17f0c1852a711a0009220120061122012007082848010170d9fb0423cbef6c2cf1f3811a2f640daf8c9a326b6f8816c1b993e90d88e2100006220120090a28480101f6df1d75f6b9e45f224b2cb4fc2286d927d47b468b6dbf1fedc4316290ec2ae900042201200b102201200c0f2201200d",
  "state_init": "b5ee9c72410212010001b40009460395b521c9251151ae7987e03c544bd275d6cd42c2d157f840beb14d5454b96718000d012205817002020328480101fd7f6a648d4f771d7f0abc1707e4e806b19de1801f65eb8c133a4cfb0c33d847000b22012004052848010147da975b922d89192f4c9b68a640daa6764ec398c93cec025e17f0c1852a711a0009220120061122012007082848010170d9fb0423cbef6c2cf1f3811a2f640daf8c9a326b6f8816c1b993e90d88e2100006220120090a28480101f6df1d75f6b9e45f224b2cb4fc2286d927d47b468b6dbf1fedc4316290ec2ae900042201200b102201200c0f2201200d"
}
{
  "error": "string",
  "error_code": 0
}

Get Jettons Events

Get only jetton transfers in the event

GET
/v2/events/{event_id}/jettons

Path Parameters

event_idstring

event ID or transaction hash in hex (without 0x) or base64url format

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/events/97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/jettons"
{
  "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
  "timestamp": 1234567890,
  "actions": [
    {
      "type": "TonTransfer",
      "status": "ok",
      "TonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 123456789,
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "ExtraCurrencyTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": "1000000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "currency": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      },
      "ContractDeploy": {
        "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "interfaces": [
          "nft_item",
          "nft_royalty"
        ]
      },
      "JettonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "scaled_ui_amount": "1100000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonBurn": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonMint": {
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "NftItemTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "nft": "",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "payload": "0234de3e21d21b3ee21f3",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "Subscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 1000000000,
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "initial": false
      },
      "UnSubscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "AuctionBid": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "bidder": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "auction": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "NftPurchase": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "seller": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "buyer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStakeRequest": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "ElectionsDepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "ElectionsRecoverStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "JettonSwap": {
        "dex": "stonfi",
        "amount_in": "1660050553",
        "amount_out": "1660050553",
        "ton_in": 1000000000,
        "ton_out": 2000000000,
        "user_wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "router": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton_master_in": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        },
        "jetton_master_out": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "SmartContractExec": {
        "executor": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "contract": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "ton_attached": 123456789,
        "operation": "NftTransfer or 0x35d95a12",
        "payload": "string",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "DomainRenew": {
        "domain": "vasya.ton",
        "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "renewer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "Purchase": {
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "metadata": {
          "encrypted_binary": "string",
          "decryption_key": "dead.....beef"
        }
      },
      "AddExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "RemoveExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "SetSignatureAllowedAction": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "allowed": true
      },
      "GasRelay": {
        "amount": 1000000000,
        "relayer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "target": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositTokenStake": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "WithdrawTokenStakeRequest": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "LiquidityDeposit": {
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "from": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "tokens": [
          {
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        ]
      },
      "simple_preview": {
        "name": "Ton Transfer",
        "description": "Transferring 5 Ton",
        "action_image": "string",
        "value": "5 Ton",
        "value_image": "string",
        "accounts": [
          {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        ]
      },
      "base_transactions": [
        "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
      ]
    }
  ],
  "value_flow": [
    {
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "ton": 80,
      "fees": 10,
      "jettons": [
        {
          "account": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          },
          "qty": "200",
          "quantity": 10
        }
      ]
    }
  ],
  "is_scam": false,
  "lt": 25713146000001,
  "in_progress": false,
  "progress": 0.5
}
{
  "error": "string",
  "error_code": 0
}

Get Jetton Account History By I D

Get the transfer jetton history for account and jetton

GET
/v2/jettons/{jetton_id}/accounts/{account_id}/history

Path Parameters

account_idstring

account ID

Formataddress
jetton_idstring

jetton ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last events

Formatint64
limitinteger
Range1 <= value <= 1000
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/jettons/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/history?limit=100"
{
  "operations": [
    {
      "operation": "transfer",
      "utime": 1234567890,
      "lt": 25713146000001,
      "transaction_hash": "cbf3e3d70ecf6f69643dd430761cd6004de2cacbdbc3029b0abd30ca3cc1c67e",
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "amount": "1000000000",
      "jetton": {
        "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
        "name": "Wrapped TON",
        "symbol": "WTON",
        "decimals": 9,
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "verification": "whitelist",
        "custom_payload_api_uri": "string",
        "score": 0
      },
      "trace_id": "8fa19eec7bd6d00d0d76048cebe31e34082a859410c9fcf7d55ef4ff8f7fcb47",
      "query_id": "17286061481122318000",
      "payload": null
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Get Extra Currency Info

Get extra currency info by id

GET
/v2/extra-currency/{id}

Path Parameters

idinteger

extra currency id

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/extra-currency/239"
{
  "id": 239,
  "symbol": "FMS",
  "decimals": 5,
  "image": "https://cache.tonapi.io/images/extra.jpg"
}
{
  "error": "string",
  "error_code": 0
}

Get Account Nominators Pools

All pools where account participates

GET
/v2/staking/nominator/{account_id}/pools

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/staking/nominator/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/pools"
{
  "pools": [
    {
      "pool": "EQBI-wGVp_x0VFEjd7m9cEUD3tJ_bnxMSp0Tb9qz757ATEAM",
      "amount": 10050000000000,
      "pending_deposit": 500000000000,
      "pending_withdraw": 500000000000,
      "ready_withdraw": 500000000000
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Staking Pool Info

Stacking pool info

GET
/v2/staking/pool/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/staking/pool/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "implementation": {
    "name": "TON Whales",
    "description": "Oldest pool with minimal staking amount 50 TON",
    "url": "https://tonvalidators.org/",
    "socials": [
      "https://t.me/tonwhales"
    ]
  },
  "pool": {
    "address": "0:48fb0195a7fc7454512377b9bd704503ded27f6e7c4c4a9d136fdab3ef9ec04c",
    "name": "Tonkeeper pool",
    "total_amount": 0,
    "implementation": "whales",
    "apy": 5.31,
    "min_stake": 5000000000,
    "cycle_start": 1678223064,
    "cycle_end": 1678223064,
    "verified": true,
    "current_nominators": 10,
    "max_nominators": 100,
    "liquid_jetton_master": "0:4a91d32d0289bda9813ae00ff7640e6c38fdce76e4583dd6afc463b70c7d767c",
    "nominators_stake": 5000000000,
    "validator_stake": 5000000000,
    "cycle_length": 0
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Staking Pool History

Pool history

GET
/v2/staking/pool/{account_id}/history

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/staking/pool/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/history"
{
  "apy": [
    {
      "apy": 0,
      "time": 0
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Staking Pools

All pools available in network

GET
/v2/staking/pools

Query Parameters

available_for?string

account ID

Formataddress
include_unverified?boolean

return also pools not from white list - just compatible by interfaces (maybe dangerous!)

Header Parameters

Accept-Language?string
Default"en"

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/staking/pools"
{
  "pools": [
    {
      "address": "0:48fb0195a7fc7454512377b9bd704503ded27f6e7c4c4a9d136fdab3ef9ec04c",
      "name": "Tonkeeper pool",
      "total_amount": 0,
      "implementation": "whales",
      "apy": 5.31,
      "min_stake": 5000000000,
      "cycle_start": 1678223064,
      "cycle_end": 1678223064,
      "verified": true,
      "current_nominators": 10,
      "max_nominators": 100,
      "liquid_jetton_master": "0:4a91d32d0289bda9813ae00ff7640e6c38fdce76e4583dd6afc463b70c7d767c",
      "nominators_stake": 5000000000,
      "validator_stake": 5000000000,
      "cycle_length": 0
    }
  ],
  "implementations": {
    "property1": {
      "name": "TON Whales",
      "description": "Oldest pool with minimal staking amount 50 TON",
      "url": "https://tonvalidators.org/",
      "socials": [
        "https://t.me/tonwhales"
      ]
    },
    "property2": {
      "name": "TON Whales",
      "description": "Oldest pool with minimal staking amount 50 TON",
      "url": "https://tonvalidators.org/",
      "socials": [
        "https://t.me/tonwhales"
      ]
    }
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Storage Providers

Get TON storage providers deployed to the blockchain.

GET
/v2/storage/providers

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/storage/providers"
{
  "providers": [
    {
      "address": "0:FD595F36B4C1535BEC8461490D38EBB9AE3C38DD6ACE17CA63ABE2C6608BE159",
      "accept_new_contracts": true,
      "rate_per_mb_day": 50000000,
      "max_span": 604800,
      "minimal_file_size": 64,
      "maximal_file_size": 10485760
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Rates

Get the token price in the chosen currency for display only. Don’t use this for financial transactions.

GET
/v2/rates

Query Parameters

tokensarray<string>

accept ton and jetton master addresses, separated by commas

Itemsitems <= 100
currenciesarray<string>

accept ton and all possible fiat currencies, separated by commas

Itemsitems <= 50

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/rates?tokens=ton&currencies=ton%2Cusd%2Crub"
{
  "rates": {
    "property1": {
      "prices": {
        "TON": 1.3710752873163712
      },
      "diff_24h": {
        "TON": "-1.28%"
      },
      "diff_7d": {
        "TON": "-2.74%"
      },
      "diff_30d": {
        "TON": "-0.56%"
      }
    },
    "property2": {
      "prices": {
        "TON": 1.3710752873163712
      },
      "diff_24h": {
        "TON": "-1.28%"
      },
      "diff_7d": {
        "TON": "-2.74%"
      },
      "diff_30d": {
        "TON": "-0.56%"
      }
    }
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Chart Rates

Get chart by token

GET
/v2/rates/chart

Query Parameters

tokenstring

accept jetton master address

Formataddress
currency?string
start_date?integer
Formatint64
Rangevalue <= 2114380800
end_date?integer
Formatint64
Rangevalue <= 2114380800
points_count?integer
Default200
Formatint
Range0 <= value <= 200

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/rates/chart?token=string"
{
  "points": [
    [
      1668436763,
      97.21323234
    ]
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Markets Rates

Get the TON price from markets

GET
/v2/rates/markets

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/rates/markets"
{
  "markets": [
    {
      "market": "OKX",
      "usd_price": 5.2,
      "last_date_update": 1668436763
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Ton Connect Payload

Get a payload for further token receipt

GET
/v2/tonconnect/payload

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/tonconnect/payload"
{
  "payload": "84jHVNLQmZsAAAAAZB0Zryi2wqVJI-KaKNXOvCijEi46YyYzkaSHyJrMPBMOkVZa"
}
{
  "error": "string",
  "error_code": 0
}

Get Account Info By State Init

Get account info by state init

POST
/v2/tonconnect/stateinit

Data that is expected

state_initstring
Formatcell-base64

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/tonconnect/stateinit" \  -H "Content-Type: application/json" \  -d '{    "state_init": "string"  }'
{
  "public_key": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3...",
  "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b"
}
{
  "error": "string",
  "error_code": 0
}

Ton Connect Proof

Account verification and token issuance

POST
/v2/wallet/auth/proof

Data that is expected from TON Connect

addressstring
Formataddress
proof

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/wallet/auth/proof" \  -H "Content-Type: application/json" \  -d '{    "address": "0:97146a46acc2654y27947f14c4a4b14273e954f78bc017790b41208b0043200b",    "proof": {      "timestamp": "1678275313",      "domain": {        "value": "string"      },      "signature": "string",      "payload": "84jHVNLQmZsAAAAAZB0Zryi2wqVJI-KaKNXOvCijEi46YyYzkaSHyJrMPBMOkVZa"    }  }'
{
  "token": "NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3..."
}
{
  "error": "string",
  "error_code": 0
}

Get Account Seqno

Get account seqno

GET
/v2/wallet/{account_id}/seqno

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/wallet/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/seqno"
{
  "seqno": 0
}
{
  "error": "string",
  "error_code": 0
}

Get Wallet Info

Get human-friendly information about a wallet without low-level details.

GET
/v2/wallet/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/wallet/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "is_wallet": true,
  "balance": 123456789,
  "stats": {
    "nfts_count": 123456789,
    "jettons_count": 123456789,
    "multisig_count": 123456789,
    "staking_count": 123456789
  },
  "plugins": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "type": "subscription_v1",
      "status": "active"
    }
  ],
  "status": "active",
  "last_activity": 1720860269,
  "name": "Ton foundation",
  "icon": "https://ton.org/logo.png",
  "get_methods": [
    "get_item_data"
  ],
  "is_suspended": true,
  "signature_disabled": true,
  "interfaces": [
    "string"
  ],
  "last_lt": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

Gasless Config

Returns configuration of gasless transfers

GET
/v2/gasless/config

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/gasless/config"
{
  "relay_address": "0:dfbd5be8497fdc0c9fcbdfc676864840ddf8ad6423d6d5657d9b0e8270d6c8ac",
  "gas_jettons": [
    {
      "master_id": "string"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Gasless Estimate

Estimates the cost of the given messages and returns a payload to sign

POST
/v2/gasless/estimate/{master_id}

Path Parameters

master_idstring

jetton to pay commission

Formataddress

Header Parameters

Accept-Language?string
Default"en"

bag-of-cells serialized to hex

throw_error_if_not_enough_jettons?boolean

TONAPI verifies that the account has enough jettons to pay the commission and make a transfer.

Defaultfalse
return_emulation?boolean
Defaultfalse
wallet_addressstring
Formataddress
wallet_public_keystring
messages

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/gasless/estimate/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621" \  -H "Content-Type: application/json" \  -d '{    "wallet_address": "string",    "wallet_public_key": "string",    "messages": [      {        "boc": "string"      }    ]  }'
{
  "protocol_name": "string",
  "relay_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "commission": "1000000",
  "from": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "valid_until": 1717397217,
  "messages": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "amount": "string",
      "payload": "string",
      "stateInit": "string"
    }
  ],
  "emulation": {
    "trace": {
      "transaction": {
        "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "lt": 25713146000001,
        "account": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "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",
        "in_msg": {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        },
        "out_msgs": [
          {
            "msg_type": "int_msg",
            "created_lt": 25713146000001,
            "ihr_disabled": true,
            "bounce": true,
            "bounced": true,
            "value": 60000000,
            "value_extra": [
              {
                "amount": "1000000000",
                "preview": {
                  "id": 239,
                  "symbol": "FMS",
                  "decimals": 5,
                  "image": "https://cache.tonapi.io/images/extra.jpg"
                }
              }
            ],
            "fwd_fee": 5681002,
            "ihr_fee": 5681002,
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "import_fee": 5681002,
            "created_at": 5681002,
            "op_code": "0xdeadbeaf",
            "init": {
              "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
              "interfaces": [
                "string"
              ]
            },
            "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
            "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
            "decoded_op_name": "nft_transfer",
            "decoded_body": null
          }
        ],
        "block": "(-1,4234234,8000000000000000)",
        "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "prev_trans_lt": 25713146000001,
        "compute_phase": {
          "skipped": true,
          "skip_reason": "cskip_no_state",
          "success": true,
          "gas_fees": 1000,
          "gas_used": 10000,
          "vm_steps": 5,
          "exit_code": 0,
          "exit_code_description": "string"
        },
        "storage_phase": {
          "fees_collected": 25713146000001,
          "fees_due": 25713146000001,
          "status_change": "acst_unchanged"
        },
        "credit_phase": {
          "fees_collected": 100,
          "credit": 1000
        },
        "action_phase": {
          "success": true,
          "result_code": 5,
          "total_actions": 5,
          "skipped_actions": 5,
          "fwd_fees": 1000,
          "total_fees": 1000,
          "result_code_description": "string"
        },
        "bounce_phase": "cskip_no_state",
        "aborted": true,
        "destroyed": true,
        "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
      },
      "interfaces": [
        "wallet",
        "tep62_item"
      ],
      "children": [
        {
          "transaction": {
            "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
            "lt": 25713146000001,
            "account": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "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",
            "in_msg": {
              "msg_type": "int_msg",
              "created_lt": 25713146000001,
              "ihr_disabled": true,
              "bounce": true,
              "bounced": true,
              "value": 60000000,
              "value_extra": [
                {
                  "amount": "1000000000",
                  "preview": {
                    "id": 239,
                    "symbol": "FMS",
                    "decimals": 5,
                    "image": "https://cache.tonapi.io/images/extra.jpg"
                  }
                }
              ],
              "fwd_fee": 5681002,
              "ihr_fee": 5681002,
              "destination": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "source": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "import_fee": 5681002,
              "created_at": 5681002,
              "op_code": "0xdeadbeaf",
              "init": {
                "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
                "interfaces": [
                  "string"
                ]
              },
              "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
              "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
              "decoded_op_name": "nft_transfer",
              "decoded_body": null
            },
            "out_msgs": [
              {
                "msg_type": "int_msg",
                "created_lt": 25713146000001,
                "ihr_disabled": true,
                "bounce": true,
                "bounced": true,
                "value": 60000000,
                "value_extra": [
                  {
                    "amount": "1000000000",
                    "preview": {
                      "id": 239,
                      "symbol": "FMS",
                      "decimals": 5,
                      "image": "https://cache.tonapi.io/images/extra.jpg"
                    }
                  }
                ],
                "fwd_fee": 5681002,
                "ihr_fee": 5681002,
                "destination": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "source": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "import_fee": 5681002,
                "created_at": 5681002,
                "op_code": "0xdeadbeaf",
                "init": {
                  "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
                  "interfaces": [
                    "string"
                  ]
                },
                "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
                "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
                "decoded_op_name": "nft_transfer",
                "decoded_body": null
              }
            ],
            "block": "(-1,4234234,8000000000000000)",
            "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
            "prev_trans_lt": 25713146000001,
            "compute_phase": {
              "skipped": true,
              "skip_reason": "cskip_no_state",
              "success": true,
              "gas_fees": 1000,
              "gas_used": 10000,
              "vm_steps": 5,
              "exit_code": 0,
              "exit_code_description": "string"
            },
            "storage_phase": {
              "fees_collected": 25713146000001,
              "fees_due": 25713146000001,
              "status_change": "acst_unchanged"
            },
            "credit_phase": {
              "fees_collected": 100,
              "credit": 1000
            },
            "action_phase": {
              "success": true,
              "result_code": 5,
              "total_actions": 5,
              "skipped_actions": 5,
              "fwd_fees": 1000,
              "total_fees": 1000,
              "result_code_description": "string"
            },
            "bounce_phase": "cskip_no_state",
            "aborted": true,
            "destroyed": true,
            "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
          },
          "interfaces": [
            "wallet",
            "tep62_item"
          ],
          "children": [],
          "emulated": false
        }
      ],
      "emulated": false
    },
    "risk": {
      "transfer_all_remaining_balance": true,
      "ton": 500,
      "jettons": [
        {
          "quantity": "597968399",
          "wallet_address": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          }
        }
      ],
      "nfts": [
        {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        }
      ],
      "total_equivalent": 0.1
    },
    "event": {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "timestamp": 1234567890,
      "actions": [
        {
          "type": "TonTransfer",
          "status": "ok",
          "TonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 123456789,
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "ExtraCurrencyTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": "1000000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "currency": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          },
          "ContractDeploy": {
            "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "interfaces": [
              "nft_item",
              "nft_royalty"
            ]
          },
          "JettonTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "scaled_ui_amount": "1100000000",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonBurn": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "JettonMint": {
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "amount": "1000000000",
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "NftItemTransfer": {
            "sender": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "recipient": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "nft": "",
            "comment": "Hi! This is your salary. \nFrom accounting with love.",
            "encrypted_comment": {
              "encryption_type": "simple",
              "cipher_text": "A6A0BD6608672B...CE3AF8DB"
            },
            "payload": "0234de3e21d21b3ee21f3",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "Subscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "amount": 1000000000,
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "initial": false
          },
          "UnSubscribe": {
            "subscriber": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "beneficiary": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "admin": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "AuctionBid": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "bidder": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "auction": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "NftPurchase": {
            "auction_type": "DNS.ton",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "nft": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "index": 58,
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "collection": {
                "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
                "name": "TON Diamonds",
                "description": "Best collection in TON network"
              },
              "verified": true,
              "metadata": {},
              "sale": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "market": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "owner": {
                  "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                  "name": "Ton foundation",
                  "is_scam": true,
                  "icon": "https://ton.org/logo.png",
                  "is_wallet": true
                },
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                }
              },
              "previews": [
                {
                  "resolution": "100x100",
                  "url": "https://site.com/pic1.jpg"
                }
              ],
              "dns": "crypto.ton",
              "approved_by": [
                "getgems"
              ],
              "include_cnft": false,
              "trust": "whitelist"
            },
            "seller": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "buyer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "WithdrawStakeRequest": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "pool": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "implementation": "whales"
          },
          "ElectionsDepositStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "ElectionsRecoverStake": {
            "amount": 1660050553,
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "JettonSwap": {
            "dex": "stonfi",
            "amount_in": "1660050553",
            "amount_out": "1660050553",
            "ton_in": 1000000000,
            "ton_out": 2000000000,
            "user_wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "router": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton_master_in": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            },
            "jetton_master_out": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          },
          "SmartContractExec": {
            "executor": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "contract": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "ton_attached": 123456789,
            "operation": "NftTransfer or 0x35d95a12",
            "payload": "string",
            "refund": {
              "type": "DNS.ton",
              "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
            }
          },
          "DomainRenew": {
            "domain": "vasya.ton",
            "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
            "renewer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "Purchase": {
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
            "amount": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "metadata": {
              "encrypted_binary": "string",
              "decryption_key": "dead.....beef"
            }
          },
          "AddExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "RemoveExtension": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
          },
          "SetSignatureAllowedAction": {
            "wallet": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "allowed": true
          },
          "GasRelay": {
            "amount": 1000000000,
            "relayer": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "target": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          },
          "DepositTokenStake": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "WithdrawTokenStakeRequest": {
            "staker": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "stake_meta": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "LiquidityDeposit": {
            "protocol": {
              "name": "Ethena",
              "image": "https://cache.tonapi.io/images/jetton.jpg"
            },
            "from": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "tokens": [
              {
                "price": {
                  "currency_type": "jetton",
                  "value": "123000000000",
                  "decimals": 9,
                  "token_name": "TON",
                  "verification": "whitelist",
                  "image": "https://cache.tonapi.io/images/jetton.jpg",
                  "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
                },
                "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            ]
          },
          "simple_preview": {
            "name": "Ton Transfer",
            "description": "Transferring 5 Ton",
            "action_image": "string",
            "value": "5 Ton",
            "value_image": "string",
            "accounts": [
              {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              }
            ]
          },
          "base_transactions": [
            "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
          ]
        }
      ],
      "is_scam": false,
      "lt": 25713146000001,
      "in_progress": false,
      "extra": 3,
      "progress": 0.5
    }
  }
}
{
  "error": "string",
  "error_code": 0
}

Gasless Send

Submits the signed gasless transaction message to the network

POST
/v2/gasless/send

bag-of-cells serialized to hex

wallet_public_keystring

hex encoded public key

bocstring
Formatcell

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/gasless/send" \  -H "Content-Type: application/json" \  -d '{    "wallet_public_key": "string",    "boc": "string"  }'
{
  "protocol_name": "string"
}
{
  "error": "string",
  "error_code": 0
}

Get Wallets By Public Key

Get wallets by public key

GET
/v2/pubkeys/{public_key}/wallets

Path Parameters

public_keystring

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/pubkeys/NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2ODQ3.../wallets"
{
  "accounts": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "is_wallet": true,
      "balance": 123456789,
      "stats": {
        "nfts_count": 123456789,
        "jettons_count": 123456789,
        "multisig_count": 123456789,
        "staking_count": 123456789
      },
      "plugins": [
        {
          "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "type": "subscription_v1",
          "status": "active"
        }
      ],
      "status": "active",
      "last_activity": 1720860269,
      "name": "Ton foundation",
      "icon": "https://ton.org/logo.png",
      "get_methods": [
        "get_item_data"
      ],
      "is_suspended": true,
      "signature_disabled": true,
      "interfaces": [
        "string"
      ],
      "last_lt": 25713146000001
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Masterchain Info

Get raw masterchain info

GET
/v2/liteserver/get_masterchain_info

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_masterchain_info"
{
  "last": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "state_root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "init": {
    "workchain": 4294967295,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Masterchain Info Ext

Get raw masterchain info ext

GET
/v2/liteserver/get_masterchain_info_ext

Query Parameters

modeinteger

mode

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_masterchain_info_ext?mode=0"
{
  "mode": 0,
  "version": 257,
  "capabilities": 7,
  "last": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "last_utime": 1687938199,
  "now": 1687938204,
  "state_root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "init": {
    "workchain": 4294967295,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  }
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Time

Get raw time

GET
/v2/liteserver/get_time

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_time"
{
  "time": 1687146728
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Blockchain Block

Get raw blockchain block

GET
/v2/liteserver/get_block/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_block/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "data": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Blockchain Block State

Get raw blockchain block state

GET
/v2/liteserver/get_state/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_state/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB",
  "data": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Blockchain Block Header

Get raw blockchain block header

GET
/v2/liteserver/get_block_header/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Query Parameters

modeinteger

mode

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_block_header/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)?mode=0"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "mode": 0,
  "header_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Send Raw Message

Send raw message to blockchain

POST
/v2/liteserver/send_message

Data that is expected

bodystring
Formatcell-base64

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/liteserver/send_message" \  -H "Content-Type: application/json" \  -d '{    "body": "string"  }'
{
  "code": 200
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Account State

Get raw account state

GET
/v2/liteserver/get_account_state/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

target_block?string

target block: (workchain,shard,seqno,root_hash,file_hash)

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_account_state/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "shardblk": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "shard_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "state": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Shard Info

Get raw shard info

GET
/v2/liteserver/get_shard_info/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Query Parameters

workchaininteger

workchain

Formatint32
shardinteger

shard

Formatint64
exactboolean

exact

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_shard_info/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)?workchain=1&shard=1&exact=false"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "shardblk": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "shard_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "shard_descr": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get All Raw Shards Info

Get all raw shards info

GET
/v2/liteserver/get_all_shards_info/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_all_shards_info/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "data": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Transactions

Get raw transactions

GET
/v2/liteserver/get_transactions/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

countinteger

count

Formatint32
ltinteger

lt

Formatint64
hashstring

hash

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_transactions/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621?count=100&lt=23814011000000&hash=131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
{
  "ids": [
    {
      "workchain": 4294967295,
      "shard": "800000000000000",
      "seqno": 30699640,
      "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
      "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
    }
  ],
  "transactions": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw List Block Transactions

Get raw list block transactions

GET
/v2/liteserver/list_block_transactions/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Query Parameters

modeinteger

mode

Formatint32
countinteger

count

Formatint32
account_id?string

account ID

Formataddress
lt?integer

lt

Formatint64

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/list_block_transactions/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)?mode=0&count=100"
{
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "req_count": 100,
  "incomplete": true,
  "ids": [
    {
      "mode": 0,
      "account": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
      "lt": 0,
      "hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
    }
  ],
  "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Block Proof

Get raw block proof

GET
/v2/liteserver/get_block_proof

Query Parameters

known_blockstring

known block: (workchain,shard,seqno,root_hash,file_hash)

target_block?string

target block: (workchain,shard,seqno,root_hash,file_hash)

modeinteger

mode

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_block_proof?known_block=%28-1%2C8000000000000000%2C4234234%2C3E575DAB1D25...90D8%2C47192E5C46C...BB29%29&mode=0"
{
  "complete": true,
  "from": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "to": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "steps": [
    {
      "lite_server_block_link_back": {
        "to_key_block": false,
        "from": {
          "workchain": 4294967295,
          "shard": "800000000000000",
          "seqno": 30699640,
          "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
          "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
        },
        "to": {
          "workchain": 4294967295,
          "shard": "800000000000000",
          "seqno": 30699640,
          "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
          "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
        },
        "dest_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "state_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
      },
      "lite_server_block_link_forward": {
        "to_key_block": false,
        "from": {
          "workchain": 4294967295,
          "shard": "800000000000000",
          "seqno": 30699640,
          "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
          "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
        },
        "to": {
          "workchain": 4294967295,
          "shard": "800000000000000",
          "seqno": 30699640,
          "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
          "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
        },
        "dest_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "config_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "signatures": {
          "validator_set_hash": 0,
          "catchain_seqno": 0,
          "signatures": [
            {
              "node_id_short": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
              "signature": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
            }
          ]
        }
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Config

Get raw config

GET
/v2/liteserver/get_config_all/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Query Parameters

modeinteger

mode

Formatint32

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_config_all/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)?mode=0"
{
  "mode": 0,
  "id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "state_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
  "config_proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
}
{
  "error": "string",
  "error_code": 0
}

Get Raw Shard Block Proof

Get raw shard block proof

GET
/v2/liteserver/get_shard_block_proof/{block_id}

Path Parameters

block_idstring

block ID: (workchain,shard,seqno,root_hash,file_hash)

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_shard_block_proof/(-1,8000000000000000,4234234,3E575DAB1D25...90D8,47192E5C46C...BB29)"
{
  "masterchain_id": {
    "workchain": 4294967295,
    "shard": "800000000000000",
    "seqno": 30699640,
    "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
    "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
  },
  "links": [
    {
      "id": {
        "workchain": 4294967295,
        "shard": "800000000000000",
        "seqno": 30699640,
        "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
      },
      "proof": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85"
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Out Msg Queue Sizes

Get out msg queue sizes

GET
/v2/liteserver/get_out_msg_queue_sizes

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/liteserver/get_out_msg_queue_sizes"
{
  "ext_msg_queue_size_limit": 0,
  "shards": [
    {
      "id": {
        "workchain": 4294967295,
        "shard": "800000000000000",
        "seqno": 30699640,
        "root_hash": "131D0C65055F04E9C19D687B51BC70F952FD9CA6F02C2801D3B89964A779DF85",
        "file_hash": "A6A0BD6608672B11B79538A50B2204E748305C12AA0DED9C16CF0006CE3AF8DB"
      },
      "size": 0
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Multisig Account

Get multisig account info

GET
/v2/multisig/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/multisig/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "seqno": "string",
  "threshold": 0,
  "signers": [
    "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
  ],
  "proposers": [
    "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
  ],
  "orders": [
    {
      "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "order_seqno": "string",
      "threshold": 0,
      "sent_for_execution": false,
      "signers": [
        "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
      ],
      "approvals_num": 0,
      "expiration_date": 0,
      "risk": {
        "transfer_all_remaining_balance": true,
        "ton": 500,
        "jettons": [
          {
            "quantity": "597968399",
            "wallet_address": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "jetton": {
              "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
              "name": "Wrapped TON",
              "symbol": "WTON",
              "decimals": 9,
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "verification": "whitelist",
              "custom_payload_api_uri": "string",
              "score": 0
            }
          }
        ],
        "nfts": [
          {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "index": 58,
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "collection": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "name": "TON Diamonds",
              "description": "Best collection in TON network"
            },
            "verified": true,
            "metadata": {},
            "sale": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "market": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "price": {
                "currency_type": "jetton",
                "value": "123000000000",
                "decimals": 9,
                "token_name": "TON",
                "verification": "whitelist",
                "image": "https://cache.tonapi.io/images/jetton.jpg",
                "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            },
            "previews": [
              {
                "resolution": "100x100",
                "url": "https://site.com/pic1.jpg"
              }
            ],
            "dns": "crypto.ton",
            "approved_by": [
              "getgems"
            ],
            "include_cnft": false,
            "trust": "whitelist"
          }
        ],
        "total_equivalent": 0.1
      },
      "creation_date": 0,
      "signed_by": [
        "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
      ],
      "multisig_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
      "changing_parameters": {
        "threshold": 0,
        "signers": [
          "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        ],
        "proposers": [
          "string"
        ]
      }
    }
  ]
}
{
  "error": "string",
  "error_code": 0
}

Get Multisig Order

Get multisig order

GET
/v2/multisig/order/{account_id}

Path Parameters

account_idstring

account ID

Formataddress

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/multisig/order/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621"
{
  "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "order_seqno": "string",
  "threshold": 0,
  "sent_for_execution": false,
  "signers": [
    "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
  ],
  "approvals_num": 0,
  "expiration_date": 0,
  "risk": {
    "transfer_all_remaining_balance": true,
    "ton": 500,
    "jettons": [
      {
        "quantity": "597968399",
        "wallet_address": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      }
    ],
    "nfts": [
      {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "index": 58,
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "collection": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "name": "TON Diamonds",
          "description": "Best collection in TON network"
        },
        "verified": true,
        "metadata": {},
        "sale": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "market": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "price": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "previews": [
          {
            "resolution": "100x100",
            "url": "https://site.com/pic1.jpg"
          }
        ],
        "dns": "crypto.ton",
        "approved_by": [
          "getgems"
        ],
        "include_cnft": false,
        "trust": "whitelist"
      }
    ],
    "total_equivalent": 0.1
  },
  "creation_date": 0,
  "signed_by": [
    "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
  ],
  "multisig_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
  "changing_parameters": {
    "threshold": 0,
    "signers": [
      "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
    ],
    "proposers": [
      "string"
    ]
  }
}
{
  "error": "string",
  "error_code": 0
}

Decode Message

Decode a given message. Only external incoming messages can be decoded currently.

POST
/v2/message/decode

bag-of-cells serialized to hex

bocstring
Formatcell

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/message/decode" \  -H "Content-Type: application/json" \  -d '{    "boc": "string"  }'
{
  "destination": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "destination_wallet_version": "v3R2",
  "ext_in_msg_decoded": {
    "wallet_v3": {
      "subwallet_id": 1,
      "valid_until": 1,
      "seqno": 1,
      "raw_messages": [
        {
          "message": {
            "boc": "string",
            "decoded_op_name": "nft_transfer",
            "op_code": "0xdeadbeaf",
            "decoded_body": null
          },
          "mode": 2
        }
      ]
    },
    "wallet_v4": {
      "subwallet_id": 1,
      "valid_until": 1,
      "seqno": 1,
      "op": 1,
      "raw_messages": [
        {
          "message": {
            "boc": "string",
            "decoded_op_name": "nft_transfer",
            "op_code": "0xdeadbeaf",
            "decoded_body": null
          },
          "mode": 2
        }
      ]
    },
    "wallet_v5": {
      "valid_until": 1,
      "raw_messages": [
        {
          "message": {
            "boc": "string",
            "decoded_op_name": "nft_transfer",
            "op_code": "0xdeadbeaf",
            "decoded_body": null
          },
          "mode": 2
        }
      ]
    },
    "wallet_highload_v2": {
      "subwallet_id": 1,
      "bounded_query_id": "34254528475294857",
      "raw_messages": [
        {
          "message": {
            "boc": "string",
            "decoded_op_name": "nft_transfer",
            "op_code": "0xdeadbeaf",
            "decoded_body": null
          },
          "mode": 2
        }
      ]
    }
  }
}
{
  "error": "string",
  "error_code": 0
}

Emulate Message To Event

Emulate sending message to retrieve general blockchain events

POST
/v2/events/emulate

Query Parameters

ignore_signature_check?boolean

Header Parameters

Accept-Language?string
Default"en"

bag-of-cells serialized to hex

bocstring
Formatcell

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/events/emulate" \  -H "Content-Type: application/json" \  -d '{    "boc": "string"  }'
{
  "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
  "timestamp": 1234567890,
  "actions": [
    {
      "type": "TonTransfer",
      "status": "ok",
      "TonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 123456789,
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "ExtraCurrencyTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": "1000000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "currency": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      },
      "ContractDeploy": {
        "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "interfaces": [
          "nft_item",
          "nft_royalty"
        ]
      },
      "JettonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "scaled_ui_amount": "1100000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonBurn": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonMint": {
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "NftItemTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "nft": "",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "payload": "0234de3e21d21b3ee21f3",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "Subscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 1000000000,
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "initial": false
      },
      "UnSubscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "AuctionBid": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "bidder": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "auction": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "NftPurchase": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "seller": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "buyer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStakeRequest": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "ElectionsDepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "ElectionsRecoverStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "JettonSwap": {
        "dex": "stonfi",
        "amount_in": "1660050553",
        "amount_out": "1660050553",
        "ton_in": 1000000000,
        "ton_out": 2000000000,
        "user_wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "router": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton_master_in": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        },
        "jetton_master_out": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "SmartContractExec": {
        "executor": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "contract": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "ton_attached": 123456789,
        "operation": "NftTransfer or 0x35d95a12",
        "payload": "string",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "DomainRenew": {
        "domain": "vasya.ton",
        "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "renewer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "Purchase": {
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "metadata": {
          "encrypted_binary": "string",
          "decryption_key": "dead.....beef"
        }
      },
      "AddExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "RemoveExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "SetSignatureAllowedAction": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "allowed": true
      },
      "GasRelay": {
        "amount": 1000000000,
        "relayer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "target": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositTokenStake": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "WithdrawTokenStakeRequest": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "LiquidityDeposit": {
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "from": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "tokens": [
          {
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        ]
      },
      "simple_preview": {
        "name": "Ton Transfer",
        "description": "Transferring 5 Ton",
        "action_image": "string",
        "value": "5 Ton",
        "value_image": "string",
        "accounts": [
          {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        ]
      },
      "base_transactions": [
        "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
      ]
    }
  ],
  "value_flow": [
    {
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "ton": 80,
      "fees": 10,
      "jettons": [
        {
          "account": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          },
          "qty": "200",
          "quantity": 10
        }
      ]
    }
  ],
  "is_scam": false,
  "lt": 25713146000001,
  "in_progress": false,
  "progress": 0.5
}
{
  "error": "string",
  "error_code": 0
}

Emulate Message To Trace

Emulate sending message to retrieve with a detailed execution trace

POST
/v2/traces/emulate

Query Parameters

ignore_signature_check?boolean

bag-of-cells serialized to hex

bocstring
Formatcell

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/traces/emulate" \  -H "Content-Type: application/json" \  -d '{    "boc": "string"  }'
{
  "transaction": {
    "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "lt": 25713146000001,
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "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",
    "in_msg": {
      "msg_type": "int_msg",
      "created_lt": 25713146000001,
      "ihr_disabled": true,
      "bounce": true,
      "bounced": true,
      "value": 60000000,
      "value_extra": [
        {
          "amount": "1000000000",
          "preview": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        }
      ],
      "fwd_fee": 5681002,
      "ihr_fee": 5681002,
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "import_fee": 5681002,
      "created_at": 5681002,
      "op_code": "0xdeadbeaf",
      "init": {
        "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
        "interfaces": [
          "string"
        ]
      },
      "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
      "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
      "decoded_op_name": "nft_transfer",
      "decoded_body": null
    },
    "out_msgs": [
      {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      }
    ],
    "block": "(-1,4234234,8000000000000000)",
    "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
    "prev_trans_lt": 25713146000001,
    "compute_phase": {
      "skipped": true,
      "skip_reason": "cskip_no_state",
      "success": true,
      "gas_fees": 1000,
      "gas_used": 10000,
      "vm_steps": 5,
      "exit_code": 0,
      "exit_code_description": "string"
    },
    "storage_phase": {
      "fees_collected": 25713146000001,
      "fees_due": 25713146000001,
      "status_change": "acst_unchanged"
    },
    "credit_phase": {
      "fees_collected": 100,
      "credit": 1000
    },
    "action_phase": {
      "success": true,
      "result_code": 5,
      "total_actions": 5,
      "skipped_actions": 5,
      "fwd_fees": 1000,
      "total_fees": 1000,
      "result_code_description": "string"
    },
    "bounce_phase": "cskip_no_state",
    "aborted": true,
    "destroyed": true,
    "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
  },
  "interfaces": [
    "wallet",
    "tep62_item"
  ],
  "children": [
    {
      "transaction": {
        "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "lt": 25713146000001,
        "account": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "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",
        "in_msg": {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        },
        "out_msgs": [
          {
            "msg_type": "int_msg",
            "created_lt": 25713146000001,
            "ihr_disabled": true,
            "bounce": true,
            "bounced": true,
            "value": 60000000,
            "value_extra": [
              {
                "amount": "1000000000",
                "preview": {
                  "id": 239,
                  "symbol": "FMS",
                  "decimals": 5,
                  "image": "https://cache.tonapi.io/images/extra.jpg"
                }
              }
            ],
            "fwd_fee": 5681002,
            "ihr_fee": 5681002,
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "import_fee": 5681002,
            "created_at": 5681002,
            "op_code": "0xdeadbeaf",
            "init": {
              "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
              "interfaces": [
                "string"
              ]
            },
            "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
            "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
            "decoded_op_name": "nft_transfer",
            "decoded_body": null
          }
        ],
        "block": "(-1,4234234,8000000000000000)",
        "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
        "prev_trans_lt": 25713146000001,
        "compute_phase": {
          "skipped": true,
          "skip_reason": "cskip_no_state",
          "success": true,
          "gas_fees": 1000,
          "gas_used": 10000,
          "vm_steps": 5,
          "exit_code": 0,
          "exit_code_description": "string"
        },
        "storage_phase": {
          "fees_collected": 25713146000001,
          "fees_due": 25713146000001,
          "status_change": "acst_unchanged"
        },
        "credit_phase": {
          "fees_collected": 100,
          "credit": 1000
        },
        "action_phase": {
          "success": true,
          "result_code": 5,
          "total_actions": 5,
          "skipped_actions": 5,
          "fwd_fees": 1000,
          "total_fees": 1000,
          "result_code_description": "string"
        },
        "bounce_phase": "cskip_no_state",
        "aborted": true,
        "destroyed": true,
        "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
      },
      "interfaces": [
        "wallet",
        "tep62_item"
      ],
      "children": [],
      "emulated": false
    }
  ],
  "emulated": false
}
{
  "error": "string",
  "error_code": 0
}

Emulate Message To Wallet

Emulate sending message to retrieve the resulting wallet state

POST
/v2/wallet/emulate

Query Parameters

currency?string

Header Parameters

Accept-Language?string
Default"en"

bag-of-cells serialized to base64/hex and additional parameters to configure emulation

bocstring
Formatcell
params?

additional per account configuration

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/wallet/emulate" \  -H "Content-Type: application/json" \  -d '{    "boc": "string"  }'
{
  "trace": {
    "transaction": {
      "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "lt": 25713146000001,
      "account": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "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",
      "in_msg": {
        "msg_type": "int_msg",
        "created_lt": 25713146000001,
        "ihr_disabled": true,
        "bounce": true,
        "bounced": true,
        "value": 60000000,
        "value_extra": [
          {
            "amount": "1000000000",
            "preview": {
              "id": 239,
              "symbol": "FMS",
              "decimals": 5,
              "image": "https://cache.tonapi.io/images/extra.jpg"
            }
          }
        ],
        "fwd_fee": 5681002,
        "ihr_fee": 5681002,
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "import_fee": 5681002,
        "created_at": 5681002,
        "op_code": "0xdeadbeaf",
        "init": {
          "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
          "interfaces": [
            "string"
          ]
        },
        "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
        "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
        "decoded_op_name": "nft_transfer",
        "decoded_body": null
      },
      "out_msgs": [
        {
          "msg_type": "int_msg",
          "created_lt": 25713146000001,
          "ihr_disabled": true,
          "bounce": true,
          "bounced": true,
          "value": 60000000,
          "value_extra": [
            {
              "amount": "1000000000",
              "preview": {
                "id": 239,
                "symbol": "FMS",
                "decimals": 5,
                "image": "https://cache.tonapi.io/images/extra.jpg"
              }
            }
          ],
          "fwd_fee": 5681002,
          "ihr_fee": 5681002,
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "import_fee": 5681002,
          "created_at": 5681002,
          "op_code": "0xdeadbeaf",
          "init": {
            "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
            "interfaces": [
              "string"
            ]
          },
          "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
          "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
          "decoded_op_name": "nft_transfer",
          "decoded_body": null
        }
      ],
      "block": "(-1,4234234,8000000000000000)",
      "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
      "prev_trans_lt": 25713146000001,
      "compute_phase": {
        "skipped": true,
        "skip_reason": "cskip_no_state",
        "success": true,
        "gas_fees": 1000,
        "gas_used": 10000,
        "vm_steps": 5,
        "exit_code": 0,
        "exit_code_description": "string"
      },
      "storage_phase": {
        "fees_collected": 25713146000001,
        "fees_due": 25713146000001,
        "status_change": "acst_unchanged"
      },
      "credit_phase": {
        "fees_collected": 100,
        "credit": 1000
      },
      "action_phase": {
        "success": true,
        "result_code": 5,
        "total_actions": 5,
        "skipped_actions": 5,
        "fwd_fees": 1000,
        "total_fees": 1000,
        "result_code_description": "string"
      },
      "bounce_phase": "cskip_no_state",
      "aborted": true,
      "destroyed": true,
      "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
    },
    "interfaces": [
      "wallet",
      "tep62_item"
    ],
    "children": [
      {
        "transaction": {
          "hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "lt": 25713146000001,
          "account": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "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",
          "in_msg": {
            "msg_type": "int_msg",
            "created_lt": 25713146000001,
            "ihr_disabled": true,
            "bounce": true,
            "bounced": true,
            "value": 60000000,
            "value_extra": [
              {
                "amount": "1000000000",
                "preview": {
                  "id": 239,
                  "symbol": "FMS",
                  "decimals": 5,
                  "image": "https://cache.tonapi.io/images/extra.jpg"
                }
              }
            ],
            "fwd_fee": 5681002,
            "ihr_fee": 5681002,
            "destination": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "source": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "import_fee": 5681002,
            "created_at": 5681002,
            "op_code": "0xdeadbeaf",
            "init": {
              "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
              "interfaces": [
                "string"
              ]
            },
            "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
            "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
            "decoded_op_name": "nft_transfer",
            "decoded_body": null
          },
          "out_msgs": [
            {
              "msg_type": "int_msg",
              "created_lt": 25713146000001,
              "ihr_disabled": true,
              "bounce": true,
              "bounced": true,
              "value": 60000000,
              "value_extra": [
                {
                  "amount": "1000000000",
                  "preview": {
                    "id": 239,
                    "symbol": "FMS",
                    "decimals": 5,
                    "image": "https://cache.tonapi.io/images/extra.jpg"
                  }
                }
              ],
              "fwd_fee": 5681002,
              "ihr_fee": 5681002,
              "destination": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "source": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "import_fee": 5681002,
              "created_at": 5681002,
              "op_code": "0xdeadbeaf",
              "init": {
                "boc": "b5ee9c72010106010044000114ff00f4a413f4bcf2c80b01020120020302014804050004f2300038d06c21d31f30ed44d0d33f3001c00197a4c8cb3fc9ed549330f206e20011a13431da89a1a67e61",
                "interfaces": [
                  "string"
                ]
              },
              "hash": "1219de582369ac80ee1afe12147930f458a54ff1eea612611a8bc6bd31581a6c",
              "raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
              "decoded_op_name": "nft_transfer",
              "decoded_body": null
            }
          ],
          "block": "(-1,4234234,8000000000000000)",
          "prev_trans_hash": "55e8809519cd3c49098c9ee45afdafcea7a894a74d0f628d94a115a50e045122",
          "prev_trans_lt": 25713146000001,
          "compute_phase": {
            "skipped": true,
            "skip_reason": "cskip_no_state",
            "success": true,
            "gas_fees": 1000,
            "gas_used": 10000,
            "vm_steps": 5,
            "exit_code": 0,
            "exit_code_description": "string"
          },
          "storage_phase": {
            "fees_collected": 25713146000001,
            "fees_due": 25713146000001,
            "status_change": "acst_unchanged"
          },
          "credit_phase": {
            "fees_collected": 100,
            "credit": 1000
          },
          "action_phase": {
            "success": true,
            "result_code": 5,
            "total_actions": 5,
            "skipped_actions": 5,
            "fwd_fees": 1000,
            "total_fees": 1000,
            "result_code_description": "string"
          },
          "bounce_phase": "cskip_no_state",
          "aborted": true,
          "destroyed": true,
          "raw": "b5ee9c72410206010001380003b372cf3b5b8c891e517c9addbda1c0386a09ccacbb0e3faf630b51cfc8152325acb00002ac5795c0e41fdf79135cb7da03cc623b165d614b562a51eeccd8a5e097f405abf6b37f4e73000002ac5629732c1666887ed000144030480102030101a004008272abc8f2971aa4404ac6da1597720f348b2e1247b1ad9f55cbd3b6812f0a5f08b269bb65039fb1f6074d00f794e857f6dfd01131d299df456af10a8a4943d4d165000d0c80608840492001ab48015581f575c3b8c6ab3d6"
        },
        "interfaces": [
          "wallet",
          "tep62_item"
        ],
        "children": [],
        "emulated": false
      }
    ],
    "emulated": false
  },
  "risk": {
    "transfer_all_remaining_balance": true,
    "ton": 500,
    "jettons": [
      {
        "quantity": "597968399",
        "wallet_address": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      }
    ],
    "nfts": [
      {
        "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "index": 58,
        "owner": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "collection": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "name": "TON Diamonds",
          "description": "Best collection in TON network"
        },
        "verified": true,
        "metadata": {},
        "sale": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "market": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "price": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "previews": [
          {
            "resolution": "100x100",
            "url": "https://site.com/pic1.jpg"
          }
        ],
        "dns": "crypto.ton",
        "approved_by": [
          "getgems"
        ],
        "include_cnft": false,
        "trust": "whitelist"
      }
    ],
    "total_equivalent": 0.1
  },
  "event": {
    "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
    "account": {
      "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
      "name": "Ton foundation",
      "is_scam": true,
      "icon": "https://ton.org/logo.png",
      "is_wallet": true
    },
    "timestamp": 1234567890,
    "actions": [
      {
        "type": "TonTransfer",
        "status": "ok",
        "TonTransfer": {
          "sender": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "recipient": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "amount": 123456789,
          "comment": "Hi! This is your salary. \nFrom accounting with love.",
          "encrypted_comment": {
            "encryption_type": "simple",
            "cipher_text": "A6A0BD6608672B...CE3AF8DB"
          },
          "refund": {
            "type": "DNS.ton",
            "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          }
        },
        "ExtraCurrencyTransfer": {
          "sender": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "recipient": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "amount": "1000000000",
          "comment": "Hi! This is your salary. \nFrom accounting with love.",
          "encrypted_comment": {
            "encryption_type": "simple",
            "cipher_text": "A6A0BD6608672B...CE3AF8DB"
          },
          "currency": {
            "id": 239,
            "symbol": "FMS",
            "decimals": 5,
            "image": "https://cache.tonapi.io/images/extra.jpg"
          }
        },
        "ContractDeploy": {
          "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "interfaces": [
            "nft_item",
            "nft_royalty"
          ]
        },
        "JettonTransfer": {
          "sender": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "recipient": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "amount": "1000000000",
          "scaled_ui_amount": "1100000000",
          "comment": "Hi! This is your salary. \nFrom accounting with love.",
          "encrypted_comment": {
            "encryption_type": "simple",
            "cipher_text": "A6A0BD6608672B...CE3AF8DB"
          },
          "refund": {
            "type": "DNS.ton",
            "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          },
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          }
        },
        "JettonBurn": {
          "sender": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "amount": "1000000000",
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          }
        },
        "JettonMint": {
          "recipient": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "amount": "1000000000",
          "jetton": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          }
        },
        "NftItemTransfer": {
          "sender": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "recipient": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "nft": "",
          "comment": "Hi! This is your salary. \nFrom accounting with love.",
          "encrypted_comment": {
            "encryption_type": "simple",
            "cipher_text": "A6A0BD6608672B...CE3AF8DB"
          },
          "payload": "0234de3e21d21b3ee21f3",
          "refund": {
            "type": "DNS.ton",
            "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          }
        },
        "Subscribe": {
          "subscriber": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "beneficiary": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "admin": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "amount": 1000000000,
          "price": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          },
          "initial": false
        },
        "UnSubscribe": {
          "subscriber": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "beneficiary": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "admin": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "AuctionBid": {
          "auction_type": "DNS.ton",
          "amount": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          },
          "nft": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "index": 58,
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "collection": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "name": "TON Diamonds",
              "description": "Best collection in TON network"
            },
            "verified": true,
            "metadata": {},
            "sale": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "market": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "price": {
                "currency_type": "jetton",
                "value": "123000000000",
                "decimals": 9,
                "token_name": "TON",
                "verification": "whitelist",
                "image": "https://cache.tonapi.io/images/jetton.jpg",
                "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            },
            "previews": [
              {
                "resolution": "100x100",
                "url": "https://site.com/pic1.jpg"
              }
            ],
            "dns": "crypto.ton",
            "approved_by": [
              "getgems"
            ],
            "include_cnft": false,
            "trust": "whitelist"
          },
          "bidder": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "auction": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "NftPurchase": {
          "auction_type": "DNS.ton",
          "amount": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          },
          "nft": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "index": 58,
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "collection": {
              "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
              "name": "TON Diamonds",
              "description": "Best collection in TON network"
            },
            "verified": true,
            "metadata": {},
            "sale": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "market": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "owner": {
                "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
                "name": "Ton foundation",
                "is_scam": true,
                "icon": "https://ton.org/logo.png",
                "is_wallet": true
              },
              "price": {
                "currency_type": "jetton",
                "value": "123000000000",
                "decimals": 9,
                "token_name": "TON",
                "verification": "whitelist",
                "image": "https://cache.tonapi.io/images/jetton.jpg",
                "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              }
            },
            "previews": [
              {
                "resolution": "100x100",
                "url": "https://site.com/pic1.jpg"
              }
            ],
            "dns": "crypto.ton",
            "approved_by": [
              "getgems"
            ],
            "include_cnft": false,
            "trust": "whitelist"
          },
          "seller": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "buyer": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "DepositStake": {
          "amount": 1660050553,
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "pool": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "implementation": "whales"
        },
        "WithdrawStake": {
          "amount": 1660050553,
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "pool": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "implementation": "whales"
        },
        "WithdrawStakeRequest": {
          "amount": 1660050553,
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "pool": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "implementation": "whales"
        },
        "ElectionsDepositStake": {
          "amount": 1660050553,
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "ElectionsRecoverStake": {
          "amount": 1660050553,
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "JettonSwap": {
          "dex": "stonfi",
          "amount_in": "1660050553",
          "amount_out": "1660050553",
          "ton_in": 1000000000,
          "ton_out": 2000000000,
          "user_wallet": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "router": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "jetton_master_in": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          },
          "jetton_master_out": {
            "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
            "name": "Wrapped TON",
            "symbol": "WTON",
            "decimals": 9,
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "verification": "whitelist",
            "custom_payload_api_uri": "string",
            "score": 0
          }
        },
        "SmartContractExec": {
          "executor": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "contract": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "ton_attached": 123456789,
          "operation": "NftTransfer or 0x35d95a12",
          "payload": "string",
          "refund": {
            "type": "DNS.ton",
            "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
          }
        },
        "DomainRenew": {
          "domain": "vasya.ton",
          "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
          "renewer": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "Purchase": {
          "source": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "destination": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
          "amount": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          },
          "metadata": {
            "encrypted_binary": "string",
            "decryption_key": "dead.....beef"
          }
        },
        "AddExtension": {
          "wallet": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
        },
        "RemoveExtension": {
          "wallet": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
        },
        "SetSignatureAllowedAction": {
          "wallet": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "allowed": true
        },
        "GasRelay": {
          "amount": 1000000000,
          "relayer": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "target": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        },
        "DepositTokenStake": {
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "protocol": {
            "name": "Ethena",
            "image": "https://cache.tonapi.io/images/jetton.jpg"
          },
          "stake_meta": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "WithdrawTokenStakeRequest": {
          "staker": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "protocol": {
            "name": "Ethena",
            "image": "https://cache.tonapi.io/images/jetton.jpg"
          },
          "stake_meta": {
            "currency_type": "jetton",
            "value": "123000000000",
            "decimals": 9,
            "token_name": "TON",
            "verification": "whitelist",
            "image": "https://cache.tonapi.io/images/jetton.jpg",
            "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        },
        "LiquidityDeposit": {
          "protocol": {
            "name": "Ethena",
            "image": "https://cache.tonapi.io/images/jetton.jpg"
          },
          "from": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "tokens": [
            {
              "price": {
                "currency_type": "jetton",
                "value": "123000000000",
                "decimals": 9,
                "token_name": "TON",
                "verification": "whitelist",
                "image": "https://cache.tonapi.io/images/jetton.jpg",
                "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
              },
              "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          ]
        },
        "simple_preview": {
          "name": "Ton Transfer",
          "description": "Transferring 5 Ton",
          "action_image": "string",
          "value": "5 Ton",
          "value_image": "string",
          "accounts": [
            {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            }
          ]
        },
        "base_transactions": [
          "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
        ]
      }
    ],
    "is_scam": false,
    "lt": 25713146000001,
    "in_progress": false,
    "extra": 3,
    "progress": 0.5
  }
}
{
  "error": "string",
  "error_code": 0
}

Emulate Message To Account Event

Emulate sending message to retrieve account-specific events

POST
/v2/accounts/{account_id}/events/emulate

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

ignore_signature_check?boolean

Header Parameters

Accept-Language?string
Default"en"

bag-of-cells serialized to hex

bocstring
Formatcell

Response Body

application/json

application/json

curl -X POST "https://tonapi.io/v2/accounts/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/events/emulate" \  -H "Content-Type: application/json" \  -d '{    "boc": "string"  }'
{
  "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
  "account": {
    "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
    "name": "Ton foundation",
    "is_scam": true,
    "icon": "https://ton.org/logo.png",
    "is_wallet": true
  },
  "timestamp": 1234567890,
  "actions": [
    {
      "type": "TonTransfer",
      "status": "ok",
      "TonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 123456789,
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "ExtraCurrencyTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": "1000000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "currency": {
          "id": 239,
          "symbol": "FMS",
          "decimals": 5,
          "image": "https://cache.tonapi.io/images/extra.jpg"
        }
      },
      "ContractDeploy": {
        "address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "interfaces": [
          "nft_item",
          "nft_royalty"
        ]
      },
      "JettonTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "scaled_ui_amount": "1100000000",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        },
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonBurn": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "senders_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "JettonMint": {
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipients_wallet": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
        "amount": "1000000000",
        "jetton": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "NftItemTransfer": {
        "sender": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "recipient": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "nft": "",
        "comment": "Hi! This is your salary. \nFrom accounting with love.",
        "encrypted_comment": {
          "encryption_type": "simple",
          "cipher_text": "A6A0BD6608672B...CE3AF8DB"
        },
        "payload": "0234de3e21d21b3ee21f3",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "Subscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "amount": 1000000000,
        "price": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "initial": false
      },
      "UnSubscribe": {
        "subscriber": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "subscription": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "beneficiary": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "admin": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "AuctionBid": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "bidder": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "auction": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "NftPurchase": {
        "auction_type": "DNS.ton",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "nft": {
          "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
          "index": 58,
          "owner": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          },
          "collection": {
            "address": "0:E93E7D444180608B8520C00DC664383A387356FB6E16FDDF99DBE5E1415A574B",
            "name": "TON Diamonds",
            "description": "Best collection in TON network"
          },
          "verified": true,
          "metadata": {},
          "sale": {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "market": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "owner": {
              "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
              "name": "Ton foundation",
              "is_scam": true,
              "icon": "https://ton.org/logo.png",
              "is_wallet": true
            },
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            }
          },
          "previews": [
            {
              "resolution": "100x100",
              "url": "https://site.com/pic1.jpg"
            }
          ],
          "dns": "crypto.ton",
          "approved_by": [
            "getgems"
          ],
          "include_cnft": false,
          "trust": "whitelist"
        },
        "seller": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "buyer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "WithdrawStakeRequest": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "pool": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "implementation": "whales"
      },
      "ElectionsDepositStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "ElectionsRecoverStake": {
        "amount": 1660050553,
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "JettonSwap": {
        "dex": "stonfi",
        "amount_in": "1660050553",
        "amount_out": "1660050553",
        "ton_in": 1000000000,
        "ton_out": 2000000000,
        "user_wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "router": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "jetton_master_in": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        },
        "jetton_master_out": {
          "address": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0",
          "name": "Wrapped TON",
          "symbol": "WTON",
          "decimals": 9,
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "verification": "whitelist",
          "custom_payload_api_uri": "string",
          "score": 0
        }
      },
      "SmartContractExec": {
        "executor": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "contract": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "ton_attached": 123456789,
        "operation": "NftTransfer or 0x35d95a12",
        "payload": "string",
        "refund": {
          "type": "DNS.ton",
          "origin": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf"
        }
      },
      "DomainRenew": {
        "domain": "vasya.ton",
        "contract_address": "0:da6b1b6663a0e4d18cc8574ccd9db5296e367dd9324706f3bbd9eb1cd2caf0bf",
        "renewer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "Purchase": {
        "source": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "destination": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
        "amount": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        },
        "metadata": {
          "encrypted_binary": "string",
          "decryption_key": "dead.....beef"
        }
      },
      "AddExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "RemoveExtension": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "extension": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365"
      },
      "SetSignatureAllowedAction": {
        "wallet": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "allowed": true
      },
      "GasRelay": {
        "amount": 1000000000,
        "relayer": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "target": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        }
      },
      "DepositTokenStake": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "WithdrawTokenStakeRequest": {
        "staker": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "stake_meta": {
          "currency_type": "jetton",
          "value": "123000000000",
          "decimals": 9,
          "token_name": "TON",
          "verification": "whitelist",
          "image": "https://cache.tonapi.io/images/jetton.jpg",
          "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
        }
      },
      "LiquidityDeposit": {
        "protocol": {
          "name": "Ethena",
          "image": "https://cache.tonapi.io/images/jetton.jpg"
        },
        "from": {
          "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
          "name": "Ton foundation",
          "is_scam": true,
          "icon": "https://ton.org/logo.png",
          "is_wallet": true
        },
        "tokens": [
          {
            "price": {
              "currency_type": "jetton",
              "value": "123000000000",
              "decimals": 9,
              "token_name": "TON",
              "verification": "whitelist",
              "image": "https://cache.tonapi.io/images/jetton.jpg",
              "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
            },
            "vault": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
          }
        ]
      },
      "simple_preview": {
        "name": "Ton Transfer",
        "description": "Transferring 5 Ton",
        "action_image": "string",
        "value": "5 Ton",
        "value_image": "string",
        "accounts": [
          {
            "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
            "name": "Ton foundation",
            "is_scam": true,
            "icon": "https://ton.org/logo.png",
            "is_wallet": true
          }
        ]
      },
      "base_transactions": [
        "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e"
      ]
    }
  ],
  "is_scam": false,
  "lt": 25713146000001,
  "in_progress": false,
  "extra": 3,
  "progress": 0.5
}
{
  "error": "string",
  "error_code": 0
}

Get Purchase History

Get history of purchases

GET
/v2/purchases/{account_id}/history

Path Parameters

account_idstring

account ID

Formataddress

Query Parameters

before_lt?integer

omit this parameter to get last invoices

Formatint64
limit?integer
Default100
Range1 <= value <= 1000

Response Body

application/json

application/json

curl -X GET "https://tonapi.io/v2/purchases/0:97264395BD65A255A429B11326C84128B7D70FFED7949ABAE3036D506BA38621/history"
{
  "purchases": [
    {
      "event_id": "e8b0e3fee4a26bd2317ac1f9952fcdc87dc08fdb617656b5202416323337372e",
      "invoice_id": "03cfc582-b1c3-410a-a9a7-1f3afe326b3b",
      "source": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "destination": {
        "address": "0:10C1073837B93FDAAD594284CE8B8EFF7B9CF25427440EB2FC682762E1471365",
        "name": "Ton foundation",
        "is_scam": true,
        "icon": "https://ton.org/logo.png",
        "is_wallet": true
      },
      "lt": 25713146000001,
      "utime": 1645544908,
      "amount": {
        "currency_type": "jetton",
        "value": "123000000000",
        "decimals": 9,
        "token_name": "TON",
        "verification": "whitelist",
        "image": "https://cache.tonapi.io/images/jetton.jpg",
        "jetton": "0:0BB5A9F69043EEBDDA5AD2E946EB953242BD8F603FE795D90698CEEC6BFC60A0"
      },
      "metadata": {
        "encrypted_binary": "string",
        "decryption_key": "dead.....beef"
      }
    }
  ],
  "next_from": 25713146000001
}
{
  "error": "string",
  "error_code": 0
}

How is this guide?