Access to api/v2/transactions/:hash
Access to api/v2/transactions/:hash. Retrieve detailed information about a specific transaction
2000 (raw units)
price
12
calls / 30d
2
unique payers
2026-09-14
updated
Provider
api.blockscout.com · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xd441D9F4c59CB26253E2F0A7a62ac9cE7823b4b4",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"maxTimeoutSeconds": 60
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"method": "GET",
"pathParams": {
"chain_id": "8453",
"transaction_hash_param": "0x4205f54e3dba5411b141368c30230c090404d04ec55349993a75720848774f72"
},
"type": "http"
},
"output": {
"example": {
"arbitrum": {
"batch_data_container": "string",
"batch_number": 0,
"commitment_transaction": {
"hash": "string",
"status": "string",
"timestamp": "string"
},
"confirmation_transaction": {
"hash": "string",
"status": "string",
"timestamp": "string"
},
"contains_message": "string",
"gas_used_for_l1": "string",
"gas_used_for_l2": "string",
"message_related_info": {
"associated_l1_transaction_hash": "string",
"message_id": 0,
"message_status": "string"
},
"network_fee": "string",
"poster_fee": "string",
"status": "string"
},
"authorization_list": [
{
"address_hash": "string",
"authority": "string",
"chain_id": 0,
"nonce": "string",
"r": "string",
"s": "string",
"status": "string",
"v": 0
}
],
"base_fee_per_gas": "string",
"block_number": 0,
"confirmation_duration": [
0
],
"confirmations": 0,
"created_contract": {},
"decoded_input": {},
"exchange_rate": "string",
"fee": {
"type": "string",
"value": "string"
},
"fhe_operations_count": 0,
"from": {
"ens_domain_name": "string",
"hash": "string",
"implementations": [
{
"address_hash": "string",
"name": "string"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {},
"name": "string",
"private_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"proxy_type": "string",
"public_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"reputation": "string",
"watchlist_names": [
{
"display_name": "string",
"label": "string"
}
]
},
"gas_limit": "string",
"gas_price": "string",
"gas_used": "string",
"has_error_in_internal_transactions": true,
"hash": "string",
"historic_exchange_rate": "string",
"is_pending_update": true,
"max_fee_per_gas": "string",
"max_priority_fee_per_gas": "string",
"method": "string",
"nonce": 0,
"position": 0,
"priority_fee": "string",
"raw_input": "string",
"result": {},
"revert_reason": {},
"status": "string",
"timestamp": "string",
"to": {},
"token_transfers": [
{
"block_hash": "string",
"block_number": 0,
"from": {
"ens_domain_name": "string",
"hash": "string",
"implementations": [
{
"address_hash": "string",
"name": "string"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {},
"name": "string",
"private_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"proxy_type": "string",
"public_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"reputation": "string",
"watchlist_names": [
{
"display_name": "string",
"label": "string"
}
]
},
"log_index": 0,
"method": "string",
"timestamp": "string",
"to": {
"ens_domain_name": "string",
"hash": "string",
"implementations": [
{
"address_hash": "string",
"name": "string"
}
],
"is_contract": true,
"is_scam": true,
"is_verified": true,
"metadata": {},
"name": "string",
"private_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"proxy_type": "string",
"public_tags": [
{
"address_hash": "string",
"display_name": "string",
"label": "string"
}
],
"reputation": "string",
"watchlist_names": [
{
"display_name": "string",
"label": "string"
}
]
},
"token": {
"address_hash": "string",
"bridge_type": "string",
"circulating_market_cap": "string",
"circulating_supply": "string",
"decimals": "string",
"exchange_rate": "string",
"foreign_address": "string",
"holders_count": "string",
"icon_url": "string",
"name": "string",
"origin_chain_id": "string",
"reputation": "string",
"symbol": "string",
"total_supply": "string",
"type": {},
"volume_24h": "string"
},
"token_type": "string",
"total": {},
"transaction_hash": "string",
"type": "string"
}
],
"token_transfers_overflow": true,
"transaction_burnt_fee": "string",
"transaction_tag": "string",
"transaction_types": [
"string"
],
"type": 0,
"value": "string"
},
"type": "json"
}
},
"routeTemplate": "/:chain_id/api/v2/transactions/:transaction_hash_param",
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET",
"HEAD",
"DELETE"
],
"type": "string"
},
"pathParams": {
"properties": {
"chain_id": {
"type": "string"
},
"transaction_hash_param": {
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.blockscout.com/:chain_id/api/v2/transactions/:transaction_hash_param" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.blockscout.com/:chain_id/api/v2/transactions/:transaction_hash_param");
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}Python
import httpx
res = httpx.get("https://api.blockscout.com/:chain_id/api/v2/transactions/:transaction_hash_param")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/5397.json, and this resource appears in /discovery/resources and /discovery/search.