Transactions
Latest transactions, a single transaction and its token transfers, internal calls, logs and traces. Blockscout API v2 paths, served for every chain with a public Routescan API. Requests need the key of a paid plan, see Authentication.
Get transactions
Latest validated or pending transactions, 50 per page.
https://blockscout.routescan.io/{chainId}/api/v2/transactionshttps://blockscout.routescan.io/1/api/v2/transactions?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction
Status, value, fee, gas, decoded input and token transfers of a transaction.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}Path parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction token transfers
ERC-20, ERC-721 and ERC-1155 transfers emitted by a transaction.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/token-transfersPath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/token-transfers?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction internal transactions
Internal calls of a transaction, from its execution trace.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/internal-transactionsPath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/internal-transactions?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction logs
Event logs emitted by a transaction, decoded when the contract is verified.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/logsPath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/logs?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction raw trace
The full call trace of a transaction, as returned by the node.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/raw-tracePath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/raw-trace?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction state changes
Balance changes caused by a transaction, for native coin and tokens.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/state-changesPath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/state-changes?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get transaction summary
A human-readable summary of what a transaction did.
https://blockscout.routescan.io/{chainId}/api/v2/transactions/{transaction_hash}/summaryPath parameters
transaction_hashstringrequiredTransaction hash, 0x-prefixed (64 hex characters).
https://blockscout.routescan.io/1/api/v2/transactions/0xe4bee4633e263bed39ad812b2c8078fb7328c052c64f62903993074d20702fb2/summary?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get internal transactions
Latest internal transactions across the chain.
https://blockscout.routescan.io/{chainId}/api/v2/internal-transactionshttps://blockscout.routescan.io/1/api/v2/internal-transactions?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)
Get token transfers
Latest token transfers across the chain.
https://blockscout.routescan.io/{chainId}/api/v2/token-transfershttps://blockscout.routescan.io/1/api/v2/token-transfers?apikey=YourApiKeyTokenExample response (Ethereum, lists cut to their first item)