Blocks

Latest blocks, a single block and the transactions, internal calls and withdrawals it contains. Blockscout API v2 paths, served for every chain with a public Routescan API. Requests need the key of a paid plan, see Authentication.

Get blocks

Latest blocks, newest first, 50 per page.

GEThttps://blockscout.routescan.io/{chainId}/api/v2/blocks
GET
https://blockscout.routescan.io/1/api/v2/blocks?type=block&apikey=YourApiKeyToken
1curl 'https://blockscout.routescan.io/1/api/v2/blocks?type=block' \
2 -H 'x-api-key: YourApiKeyToken'
1{
2 items: {
3 height: number;
4 timestamp: string;
5 transactions_count: number;
6 internal_transactions_count: string;
7 miner: {
8 hash: string;
9 is_contract: boolean;
10 name: string;
11 is_scam: boolean;
12 reputation: string;
13 proxy_type: string;
14 implementations: Record<string, unknown>[];
15 is_verified: boolean;
16 ens_domain_name: string;
17 metadata: {
18 tags: Record<string, unknown>[];
19 };
20 private_tags: Record<string, unknown>[];
21 watchlist_names: Record<string, unknown>[];
22 public_tags: Record<string, unknown>[];
23 };
24 size: number;
25 hash: string;
26 parent_hash: string;
27 difficulty: string;
28 total_difficulty: string;
29 gas_used: string;
30 gas_limit: string;
31 nonce: string;
32 base_fee_per_gas: string;
33 burnt_fees: string;
34 priority_fee: string;
35 uncles_hashes: Record<string, unknown>[];
36 rewards: {
37 reward: string;
38 type: string;
39 }[];
40 gas_target_percentage: number;
41 gas_used_percentage: number;
42 burnt_fees_percentage: number;
43 type: string;
44 transaction_fees: string;
45 withdrawals_count: string;
46 is_pending_update: boolean;
47 blob_transactions_count: number;
48 blob_gas_used: string;
49 excess_blob_gas: string;
50 beacon_deposits_count: string;
51 }[];
52 next_page_params: {
53 cursor: string;
54 };
55}

Example response (Ethereum, lists cut to their first item)

jsonCopy code
1{
2 "items": [
3 {
4 "height": 26292835,
5 "timestamp": "2026-10-28T17:50:23.000000Z",
6 "transactions_count": 293,
7 "internal_transactions_count": null,
8 "miner": {
9 "hash": "0x4838B106FCe9647Bdf1E7877BF73cE8B0BAD5f97",
10 "is_contract": false,
11 "name": "Titan Builder",
12 "is_scam": false,
13 "reputation": "ok",
14 "proxy_type": null,
15 "implementations": [],
16 "is_verified": false,
17 "ens_domain_name": "titanbuilder.eth",
18 "metadata": {
19 "tags": [
20 {
21 "slug": "routescan-titan-builder",
22 "name": "Titan Builder",
23 "tagType": "name",
24 "ordinal": 10,
25 "meta": {
26 "tagIcon": "https://cms-cdn.avascan.com/cms2/titan-builder.f02c5e38a2ae.png"
27 }
28 },
29 {
30 "slug": "routescan-dapp-titan-builder",
31 "name": "Titan Builder",
32 "tagType": "protocol",
33 "ordinal": 0,
34 "meta": {
35 "tagIcon": "https://cms-cdn.avascan.com/cms2/titan-builder.f02c5e38a2ae.png",
36 "tooltipTitle": "Titan Builder"
37 }
38 }
39 ]
40 },
41 "private_tags": [],
42 "watchlist_names": [],
43 "public_tags": []
44 },
45 "size": 240240,
46 "hash": "0x0898fc6b14a84a8bc4175f07c3f648526898e268befa6605ca9b00feb91a0403",
47 "parent_hash": "0xca90fc244b04687de8c728dd33f91a3411a8a650d776f22e718ae3b177712fae",
48 "difficulty": "0",
49 "total_difficulty": "58750003716598352816469",
50 "gas_used": "37082505",
51 "gas_limit": "60000000",
52 "nonce": "0x0000000000000000",
53 "base_fee_per_gas": "168063758",
54 "burnt_fees": "6232225146353790",
55 "priority_fee": "11546417352781987",
56 "uncles_hashes": [],
57 "rewards": [
58 {
59 "reward": "11546417352781987",
60 "type": "validator"
61 }
62 ],
63 "gas_target_percentage": 23.60835,
64 "gas_used_percentage": 61.804175,
65 "burnt_fees_percentage": 35.05456137416982,
66 "type": "block",
67 "transaction_fees": "17778642499135777",
68 "withdrawals_count": null,
69 "is_pending_update": false,
70 "blob_transactions_count": 1,
71 "blob_gas_used": "131072",
72 "excess_blob_gas": "187726381",
73 "beacon_deposits_count": null
74 }
75 ],
76 "next_page_params": {
77 "cursor": "7b2276223a312c2273636f7065223a226d61696e6e65743a313a626c6f636b733a626c6f636b222c226b223a5b2231373933323039323233303030222c223236323932373836225d2c2277223a313739…"
78 }
79}

Get block

Block header, producer, gas, fees and rewards.

GEThttps://blockscout.routescan.io/{chainId}/api/v2/blocks/{block_number_or_hash}

Path parameters

block_number_or_hashstringrequired

Block number or block hash.

GET
https://blockscout.routescan.io/1/api/v2/blocks/18000000?apikey=YourApiKeyToken
1curl 'https://blockscout.routescan.io/1/api/v2/blocks/18000000' \
2 -H 'x-api-key: YourApiKeyToken'
1{
2 height: number;
3 timestamp: string;
4 transactions_count: number;
5 internal_transactions_count: number;
6 miner: {
7 hash: string;
8 is_contract: boolean;
9 name: string;
10 is_scam: boolean;
11 reputation: string;
12 proxy_type: string;
13 implementations: Record<string, unknown>[];
14 is_verified: boolean;
15 ens_domain_name: string;
16 metadata: {
17 tags: {
18 slug: string;
19 name: string;
20 tagType: string;
21 ordinal: number;
22 meta: Record<string, unknown>;
23 }[];
24 };
25 private_tags: Record<string, unknown>[];
26 watchlist_names: Record<string, unknown>[];
27 public_tags: Record<string, unknown>[];
28 };
29 size: number;
30 hash: string;
31 parent_hash: string;
32 difficulty: string;
33 total_difficulty: string;
34 gas_used: string;
35 gas_limit: string;
36 nonce: string;
37 base_fee_per_gas: string;
38 burnt_fees: string;
39 priority_fee: string;
40 uncles_hashes: Record<string, unknown>[];
41 rewards: {
42 reward: string;
43 type: string;
44 }[];
45 gas_target_percentage: number;
46 gas_used_percentage: number;
47 burnt_fees_percentage: number;
48 type: string;
49 transaction_fees: string;
50 withdrawals_count: number;
51 is_pending_update: boolean;
52 blob_transactions_count: number;
53 blob_gas_used: string;
54 excess_blob_gas: string;
55 beacon_deposits_count: number;
56 blob_gas_price: string;
57 burnt_blob_fees: string;
58}

Example response (Ethereum, lists cut to their first item)

jsonCopy code
1{
2 "height": 18000000,
3 "timestamp": "2023-08-26T16:21:35.000000Z",
4 "transactions_count": 94,
5 "internal_transactions_count": 485,
6 "miner": {
7 "hash": "0xDAFEA492D9c6733ae3d56b7Ed1ADB60692c98Bc5",
8 "is_contract": false,
9 "name": "Flashbots: Builder",
10 "is_scam": false,
11 "reputation": "ok",
12 "proxy_type": null,
13 "implementations": [],
14 "is_verified": false,
15 "ens_domain_name": "flashbots-builder.eth",
16 "metadata": {
17 "tags": [
18 {
19 "slug": "routescan-flashbots-builder",
20 "name": "Flashbots: Builder",
21 "tagType": "name",
22 "ordinal": 10,
23 "meta": {}
24 },
25 {
26 "slug": "routescan-dapp-flashbots-builder",
27 "name": "Flashbots: Builder",
28 "tagType": "protocol",
29 "ordinal": 0,
30 "meta": {
31 "tooltipTitle": "Flashbots: Builder"
32 }
33 }
34 ]
35 },
36 "private_tags": [],
37 "watchlist_names": [],
38 "public_tags": []
39 },
40 "size": 289190,
41 "hash": "0x95b198e154acbfc64109dfd22d8224fe927fd8dfdedfae01587674482ba4baf3",
42 "parent_hash": "0x198723e0ddf20153951c6304093cbd97fd306c5db03287c5586c0430a986080d",
43 "difficulty": "0",
44 "total_difficulty": "58750003716598352816469",
45 "gas_used": "16247211",
46 "gas_limit": "30000000",
47 "nonce": "0x0000000000000000",
48 "base_fee_per_gas": "21721091641",
49 "burnt_fees": "352907159041663251",
50 "priority_fee": "30697207500857250",
51 "uncles_hashes": [],
52 "rewards": [
53 {
54 "reward": "30697207500857250",
55 "type": "Miner Reward"
56 }
57 ],
58 "gas_target_percentage": 8.31474,
59 "gas_used_percentage": 54.15737,
60 "burnt_fees_percentage": 91.9976908037999,
61 "type": "block",
62 "transaction_fees": "383604366542520501",
63 "withdrawals_count": 16,
64 "is_pending_update": false,
65 "blob_transactions_count": 0,
66 "blob_gas_used": null,
67 "excess_blob_gas": null,
68 "beacon_deposits_count": 0,
69 "blob_gas_price": null,
70 "burnt_blob_fees": "0"
71}

Get block transactions

Transactions included in a block.

GEThttps://blockscout.routescan.io/{chainId}/api/v2/blocks/{block_number_or_hash}/transactions

Path parameters

block_number_or_hashstringrequired

Block number or block hash.

GET
https://blockscout.routescan.io/1/api/v2/blocks/18000000/transactions?apikey=YourApiKeyToken
1curl 'https://blockscout.routescan.io/1/api/v2/blocks/18000000/transactions' \
2 -H 'x-api-key: YourApiKeyToken'
1{
2 items: {
3 hash: string;
4 result: string;
5 status: string;
6 block_number: number;
7 timestamp: string;
8 from: {
9 hash: string;
10 is_contract: boolean;
11 name: string;
12 is_scam: boolean;
13 reputation: string;
14 proxy_type: string;
15 implementations: Record<string, unknown>[];
16 is_verified: string;
17 ens_domain_name: string;
18 metadata: string;
19 private_tags: Record<string, unknown>[];
20 watchlist_names: Record<string, unknown>[];
21 public_tags: Record<string, unknown>[];
22 };
23 to: {
24 hash: string;
25 is_contract: boolean;
26 name: string;
27 is_scam: boolean;
28 reputation: string;
29 proxy_type: string;
30 implementations: Record<string, unknown>[];
31 is_verified: boolean;
32 ens_domain_name: string;
33 metadata: string;
34 private_tags: Record<string, unknown>[];
35 watchlist_names: Record<string, unknown>[];
36 public_tags: Record<string, unknown>[];
37 };
38 created_contract: string;
39 confirmations: number;
40 confirmation_duration: number[];
41 value: string;
42 fee: {
43 type: string;
44 value: string;
45 };
46 gas_price: string;
47 type: number;
48 gas_used: string;
49 gas_limit: string;
50 max_fee_per_gas: string;
51 max_priority_fee_per_gas: string;
52 base_fee_per_gas: string;
53 priority_fee: string;
54 transaction_burnt_fee: string;
55 nonce: number;
56 position: number;
57 revert_reason: string;
58 raw_input: string;
59 decoded_input: {
60 method_call: string;
61 method_id: string;
62 parameters: {
63 name: string;
64 type: string;
65 value: string;
66 }[];
67 };
68 token_transfers: string;
69 token_transfers_overflow: string;
70 exchange_rate: string;
71 historic_exchange_rate: string;
72 method: string;
73 transaction_types: string[];
74 transaction_tag: string;
75 has_error_in_internal_transactions: boolean;
76 authorization_list: Record<string, unknown>[];
77 is_pending_update: boolean;
78 fhe_operations_count: number;
79 }[];
80 next_page_params: {
81 cursor: string;
82 };
83}

Example response (Ethereum, lists cut to their first item)

jsonCopy code
1{
2 "items": [
3 {
4 "hash": "0x16e199673891df518e25db2ef5320155da82a3dd71a677e7d84363251885d133",
5 "result": "success",
6 "status": "ok",
7 "block_number": 18000000,
8 "timestamp": "2023-08-26T16:21:35.000000Z",
9 "from": {
10 "hash": "0x16D5783a96ab20c9157d7933ac236646B29589A4",
11 "is_contract": false,
12 "name": null,
13 "is_scam": false,
14 "reputation": "ok",
15 "proxy_type": null,
16 "implementations": [],
17 "is_verified": null,
18 "ens_domain_name": null,
19 "metadata": null,
20 "private_tags": [],
21 "watchlist_names": [],
22 "public_tags": []
23 },
24 "to": {
25 "hash": "0xFD14567eaf9ba941cB8c8a94eEC14831ca7fD1b4",
26 "is_contract": true,
27 "name": "MemoryPageFactRegistry",
28 "is_scam": false,
29 "reputation": "ok",
30 "proxy_type": null,
31 "implementations": [],
32 "is_verified": true,
33 "ens_domain_name": null,
34 "metadata": null,
35 "private_tags": [],
36 "watchlist_names": [],
37 "public_tags": []
38 },
39 "created_contract": null,
40 "confirmations": 8292836,
41 "confirmation_duration": [
42 0,
43 12121.212121212122
44 ],
45 "value": "0",
46 "fee": {
47 "type": "actual",
48 "value": "1373262778782040"
49 },
50 "gas_price": "22721091641",
51 "type": 2,
52 "gas_used": "60440",
53 "gas_limit": "11000000",
54 "max_fee_per_gas": "150000000000",
55 "max_priority_fee_per_gas": "1000000000",
56 "base_fee_per_gas": "21721091641",
57 "priority_fee": "60440000000000",
58 "transaction_burnt_fee": "1312822778782040",
59 "nonce": 345344,
60 "position": 0,
61 "revert_reason": null,
62 "raw_input": "0x5578ceae000000000000000000000000000000000000000000000000000000000048f59600000000000000000000000000000000000000000000000000000000000000a00159832318997b5a1adb26…",
63 "decoded_input": {
64 "method_call": "registerContinuousMemoryPage(uint256 startAddr, uint256[] values, uint256 z, uint256 alpha, uint256 prime)",
65 "method_id": "5578ceae",
66 "parameters": [
67 {
68 "name": "startAddr",
69 "type": "uint256",
70 "value": "4781462"
71 },
72 {
73 "name": "values",
74 "type": "uint256[]",
75 "value": [
76 "3553219145883519488272655554263238749585336469097312974662206117830378381755",
77 "550070683385457600814382647531593912125246377692399852891702046332999895271"
78 ]
79 }
80 ]
81 },
82 "token_transfers": null,
83 "token_transfers_overflow": null,
84 "exchange_rate": "2333.65",
85 "historic_exchange_rate": null,
86 "method": "registerContinuousMemoryPage",
87 "transaction_types": [
88 "contract_call"
89 ],
90 "transaction_tag": null,
91 "has_error_in_internal_transactions": false,
92 "authorization_list": [],
93 "is_pending_update": false,
94 "fhe_operations_count": 0
95 }
96 ],
97 "next_page_params": {
98 "cursor": "7b2276223a312c2273636f7065223a226d61696e6e65743a313a626c6f636b3a307839356231393865313534616362666336343130396466643232643832323466653932376664386466646564666165…"
99 }
100}

Get block internal transactions

Internal calls executed by the transactions of a block.

GEThttps://blockscout.routescan.io/{chainId}/api/v2/blocks/{block_number_or_hash}/internal-transactions

Path parameters

block_number_or_hashstringrequired

Block number or block hash.

GET
https://blockscout.routescan.io/1/api/v2/blocks/18000000/internal-transactions?apikey=YourApiKeyToken
1curl 'https://blockscout.routescan.io/1/api/v2/blocks/18000000/internal-transactions' \
2 -H 'x-api-key: YourApiKeyToken'
1{
2 items: {
3 block_number: number;
4 created_contract: string;
5 error: string;
6 from: {
7 hash: string;
8 is_contract: boolean;
9 name: string;
10 is_scam: boolean;
11 reputation: string;
12 proxy_type: string;
13 implementations: Record<string, unknown>[];
14 is_verified: boolean;
15 ens_domain_name: string;
16 metadata: string;
17 private_tags: Record<string, unknown>[];
18 watchlist_names: Record<string, unknown>[];
19 public_tags: Record<string, unknown>[];
20 };
21 gas_limit: string;
22 index: number;
23 success: boolean;
24 timestamp: string;
25 to: {
26 hash: string;
27 is_contract: boolean;
28 name: string;
29 is_scam: boolean;
30 reputation: string;
31 proxy_type: string;
32 implementations: Record<string, unknown>[];
33 is_verified: boolean;
34 ens_domain_name: string;
35 metadata: {
36 tags: Record<string, unknown>[];
37 };
38 private_tags: Record<string, unknown>[];
39 watchlist_names: Record<string, unknown>[];
40 public_tags: Record<string, unknown>[];
41 };
42 transaction_hash: string;
43 transaction_index: number;
44 type: string;
45 value: string;
46 }[];
47 next_page_params: {
48 cursor: string;
49 };
50}

Example response (Ethereum, lists cut to their first item)

jsonCopy code
1{
2 "items": [
3 {
4 "block_number": 18000000,
5 "created_contract": null,
6 "error": null,
7 "from": {
8 "hash": "0xF409feED2fb7FcA68797f9Edfb1bCb0d6E88C7fC",
9 "is_contract": true,
10 "name": null,
11 "is_scam": false,
12 "reputation": "ok",
13 "proxy_type": null,
14 "implementations": [],
15 "is_verified": false,
16 "ens_domain_name": null,
17 "metadata": null,
18 "private_tags": [],
19 "watchlist_names": [],
20 "public_tags": []
21 },
22 "gas_limit": "972631",
23 "index": 1,
24 "success": true,
25 "timestamp": "2023-08-26T16:21:35.000000Z",
26 "to": {
27 "hash": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
28 "is_contract": true,
29 "name": "Tether: USDT Stablecoin",
30 "is_scam": false,
31 "reputation": "ok",
32 "proxy_type": null,
33 "implementations": [],
34 "is_verified": true,
35 "ens_domain_name": null,
36 "metadata": {
37 "tags": [
38 {
39 "slug": "routescan-tether-usdt-stablecoin",
40 "name": "Tether: USDT Stablecoin",
41 "tagType": "name",
42 "ordinal": 10,
43 "meta": {
44 "tagIcon": "https://cms-cdn.avascan.com/cms2/usdt-tether-logo.d57b7dec617b.png",
45 "tooltipDescription": "Tether gives you the joint benefits of open blockchain technology and traditional currency by converting your cash into a stable digital currency equivalent.",
46 "tooltipUrl": "https://tether.to"
47 }
48 },
49 {
50 "slug": "routescan-dapp-tether",
51 "name": "Tether",
52 "tagType": "protocol",
53 "ordinal": 0,
54 "meta": {
55 "tagIcon": "https://cms-cdn.avascan.com/cms2/Tether_logo_coin-4117213416.edfd2f1c4bc2.png",
56 "tooltipTitle": "Tether",
57 "tooltipDescription": "Tether, often referred to by its currency codes USD₮ and USDT, is a cryptocurrency stablecoin launched by Tether Limited Inc. in 2014."
58 }
59 }
60 ]
61 },
62 "private_tags": [],
63 "watchlist_names": [],
64 "public_tags": []
65 },
66 "transaction_hash": "0x6742cd57e6aefce4b96887bb3090371ac49414c6b45a21e43d9e41e0ea9ed5ab",
67 "transaction_index": 1,
68 "type": "call",
69 "value": "0"
70 }
71 ],
72 "next_page_params": {
73 "cursor": "7b2276223a312c2273636f7065223a226d61696e6e65743a313a626c6f636b3a307839356231393865313534616362666336343130396466643232643832323466653932376664386466646564666165…"
74 }
75}

Get block withdrawals

Validator withdrawals processed in a block.

GEThttps://blockscout.routescan.io/{chainId}/api/v2/blocks/{block_number_or_hash}/withdrawals

Path parameters

block_number_or_hashstringrequired

Block number or block hash.

GET
https://blockscout.routescan.io/1/api/v2/blocks/26000000/withdrawals?apikey=YourApiKeyToken
1curl 'https://blockscout.routescan.io/1/api/v2/blocks/26000000/withdrawals' \
2 -H 'x-api-key: YourApiKeyToken'
1{
2 items: {
3 amount: string;
4 index: number;
5 receiver: {
6 hash: string;
7 is_contract: boolean;
8 name: string;
9 is_scam: boolean;
10 reputation: string;
11 proxy_type: string;
12 implementations: {
13 address_hash: string;
14 name: string;
15 }[];
16 is_verified: boolean;
17 ens_domain_name: string;
18 metadata: string;
19 private_tags: Record<string, unknown>[];
20 watchlist_names: Record<string, unknown>[];
21 public_tags: Record<string, unknown>[];
22 };
23 validator_index: number;
24 }[];
25 next_page_params: string;
26}

Example response (Ethereum, lists cut to their first item)

jsonCopy code
1{
2 "items": [
3 {
4 "amount": "14320887000000000",
5 "index": 143440634,
6 "receiver": {
7 "hash": "0x9fB79dAd6544a353C0C28068266aB703E8C3eBA3",
8 "is_contract": true,
9 "name": "BeaconProxy",
10 "is_scam": false,
11 "reputation": "ok",
12 "proxy_type": "eip1967_beacon",
13 "implementations": [
14 {
15 "address_hash": "0x53cC2D82E08370Fe1e44a96f69CEc7d5b54ae868",
16 "name": "EigenPod"
17 }
18 ],
19 "is_verified": true,
20 "ens_domain_name": null,
21 "metadata": null,
22 "private_tags": [],
23 "watchlist_names": [],
24 "public_tags": []
25 },
26 "validator_index": 1959573
27 }
28 ],
29 "next_page_params": null
30}
Questions? Contact us