Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Transaction Data → List Logs

AI-generated

Summary

Lists logs for a transaction on Ethereum mainnet or Sepolia. Returns log records, with optional pagination controls to fetch all results or limit the number returned.

Inputs

  • Blockchain Type — Select EVM to use this operation.
  • Blockchain (required) — Ethereum is the only supported blockchain for this operation.
  • Network (required) — Choose Mainnet or Sepolia.
  • Transaction Hash (required) — Hash or ID of the transaction whose logs to retrieve.
  • Return All — When enabled, retrieves all available log results. Defaults to false.
  • Limit — Maximum number of results when Return All is disabled. Defaults to 50; allowed values are 1–200.

Output shape

A list of transaction log items.

The request is paginated; the returned list follows Return All and Limit. The node unwraps the API response's items array.

Links

Discussion