Get transactions from block
block ID
"(-1,8000000000000000,4234234)"
blockchain block transactions
const response = await fetch('https://ton-open-api.nownodes.io/v2/blockchain/blocks/{block_id}/transactions', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"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,
"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": "te6ccgEBBgEARAABFP8A9KQT9LzyyAsBAgEgAgMCAUgEBQAE8jAAONBsIdMfMO1E0NM/MAHAAZekyMs/ye1UkzDyBuIAEaE0MdqJoaZ+YQ=="
},
"raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
"decoded_op_name": "nft_transfer"
},
"out_msgs": [
{
"msg_type": "int_msg",
"created_lt": 25713146000001,
"ihr_disabled": true,
"bounce": true,
"bounced": true,
"value": 60000000,
"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": "te6ccgEBBgEARAABFP8A9KQT9LzyyAsBAgEgAgMCAUgEBQAE8jAAONBsIdMfMO1E0NM/MAHAAZekyMs/ye1UkzDyBuIAEaE0MdqJoaZ+YQ=="
},
"raw_body": "B5EE9C7201010101001100001D00048656C6C6F2C20776F726C64218",
"decoded_op_name": "nft_transfer"
}
],
"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": "text"
},
"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": "text"
},
"bounce_phase": "cskip_no_state",
"aborted": true,
"destroyed": true
}
]
}