Crypto APIs icon

Crypto APIs

Interact with Crypto APIs REST API

Actions113

Overview

This node interacts with a cryptocurrency API service to retrieve data about blockchain blocks. Specifically, the "List Latest Mined Blocks EVM" operation fetches the most recent mined blocks on an Ethereum Virtual Machine (EVM) compatible blockchain network.

Use cases include:

  • Monitoring newly mined blocks on a specific EVM-compatible blockchain.
  • Building dashboards or alerts based on the latest block data.
  • Integrating blockchain data into workflows for analytics or auditing purposes.

For example, you could use this node to get the latest 10 mined blocks on the Ethereum mainnet or any other supported EVM chain, then process or store that data downstream in your workflow.

Properties

Name Meaning
network The specific network within the chosen blockchain to query (e.g., mainnet, testnet).
blockchain The blockchain name or identifier (e.g., Ethereum, Binance Smart Chain).
context Optional context string to correlate requests or responses (usage depends on API).
count Optional number specifying how many of the latest mined blocks to retrieve.

Output

The node outputs an array of JSON objects, each representing a mined block on the specified EVM blockchain network. Each object typically contains details such as block number, timestamp, miner address, transaction count, and other relevant block metadata as provided by the underlying API.

No binary data output is produced by this operation.

Dependencies

  • Requires an API key credential for the connected cryptocurrency API service.
  • The node reads from a local OpenAPI specification file (2024-12-12-final.json) bundled with the node to dynamically configure operations and parameters.
  • Network connectivity to the external Crypto APIs REST endpoint is necessary.

Troubleshooting

  • Operation Not Found Error: If the node throws an error stating the operation was not found, ensure the operation name matches exactly and the bundled API spec file is present and uncorrupted.
  • Missing Required Parameters: The network and blockchain properties are required. Omitting them will cause errors.
  • API Authentication Errors: Verify that the API key credential is correctly configured and has sufficient permissions.
  • Empty or Unexpected Responses: Check if the specified network and blockchain combination is valid and supported by the API.
  • Rate Limits: The external API may enforce rate limits; consider adding delays or handling retries accordingly.

Links and References

Discussion