Actions113
- blocks Actions
- Get Block Details By Block Hash UTXOs
- List Transactions by Block Hash EVM
- List Transactions by Block Hash UTXOs
- List Transactions By Block Hash XRP
- List Transactions By Block Height XRP
- List Transactions by Block Height EVM
- List Transactions by Block Height UTXOs
- Get Block Details By Block Height UTXOs
- Get Block Details By Block Height EVM
- Get Block Details By Block Height XRP
- Get Block Details By Block Hash EVM
- Get Block Details By Block Hash XRP
- Get Last Mined Block EVM
- Get Last Mined Block UTXOs
- Get Latest Mined Block XRP
- List Latest Mined Blocks UTXOs
- List Latest Mined Blocks EVM
- List Latest Mined Blocks XRP
- HD Wallets Actions
- Sync HD Wallet (xPub, yPub, zPub)
- Derive And Sync New Receiving Addresses UTXO
- Derive And Sync New Change Addresses UTXO
- Derive And Sync New Receiving Addresses EVM
- Derive And Sync New Receiving Addresses XRP
- List Synced Addresses UTXO
- List Synced Addresses EVM
- List Synced Addresses XRP
- List HD Wallet (xPub, yPub, zPub) Transactions UTXO
- List HD Wallet (xPub, yPub, zPub) Transactions EVM
- List HD Wallet (xPub, yPub, zPub) Transactions XRP
- List HD Wallet (xPub, yPub, zPub) UTXOs
- Prepare A UTXO-Based Transaction From HD Wallet (xPub, yPub, zPub)
- Prepare A Transaction From an Address in HD Wallet (xPub, yPub, zPub) EVM
- Get HD Wallet (xPub, yPub, zPub) Assets UTXO
- Get HD Wallet (xPub, yPub, zPub) Assets EVM
- Get HD Wallet (xPub, yPub, zPub) Assets XRP
- Get HD Wallet (xPub, yPub, zPub) Details UTXO
- Get HD Wallet (xPub, yPub, zPub) Details EVM
- Get HD Wallet (xPub, yPub, zPub) Details XRP
- List Synced HD Wallets (xPub, yPub, zPub)
- Activate HD Wallet (xPub, yPub, zPub)
- Delete Synced HD Wallet (xPub, yPub, zPub)
- address-latest Actions
- Utilities Actions
- simulate-transactions Actions
- addresses-latest Actions
- Get Address Balance Solana
- List Transactions By Address Solana
- Get Address Balance EVM
- Get Address Balance XRP
- Get Address Balance Kaspa
- List Confirmed Transactions By Address EVM
- List Transactions by Address XRP
- List Confirmed Transactions By Address UTXOs
- List Confirmed Transactions By Address Kaspa
- List Unconfirmed Transactions by Address UTXOs
- List Internal Transactions By Address EVM
- Get Next Available Nonce EVM
- List Confirmed Tokens Transfers By Address EVM
- addresses-historical Actions
- Get Address Balance UTXOs
- List Confirmed Transactions By Address EVM history
- List Confirmed Transactions By Address UTXO Historical
- List Unspent Transaction Outputs By Address UTXOs
- Sync Address
- List Synced Addresses
- Get Synced Address Tokens Transfer EVM
- Activate Synced Address
- Delete Synced Address
- List Synced Address Internal Transactions EVM
- List Tokens By Address Synced EVM
- blockchain-events Actions
- New Confirmed Coins Transactions
- New Unconfirmed Coins Transactions
- New Confirmed Tokens Transactions
- New Confirmed Coins Transactions And Each Confirmation
- New Confirmed Tokens Transactions And Each Confirmation
- Mined Transaction
- New Block
- List Blockchain Events Subscriptions
- Get Blockchain Event Subscription Details By Reference ID
- Delete Blockchain Event Subscription
- Activate Blockchain Event Subscription
- New Confirmed Internal Transactions
- New Confirmed Internal Transactions And Each Confirmation
- Crypto Transactions Actions
- Get Transaction Details By Transaction Hash Solana
- Get Transaction Details By Transaction Id Kaspa
- Get Transaction Details By Transaction Hash EVM
- Get Transaction Details By Transaction Hash UTXOs
- Get Transaction Details By Transaction Hash XRP
- List Internal Transaction Details by Transaction Hash EVM
- List Tokens Transfers By Transaction Hash EVM
- List Logs By Transaction Hash EVM
- Get Raw Transaction Data UTXOs
- contracts Actions
- blockchain-fees Actions
- broadcast-transactions Actions
- prepare-transactions Actions
- Market Data & Prices Actions
Overview
This node interacts with the Crypto APIs REST API to retrieve blockchain-related data. Specifically, for the "blocks" resource and the "Get Last Mined Block EVM" operation, it fetches information about the most recently mined block on an Ethereum Virtual Machine (EVM) compatible blockchain network.
Common scenarios where this node is beneficial include:
- Monitoring the latest block on a specific blockchain network to track new transactions or blocks.
- Triggering workflows based on the arrival of new blocks.
- Gathering blockchain state information for analytics or reporting purposes.
For example, a user might configure this node to get the last mined block on the Ethereum mainnet or Binance Smart Chain, then use that data to analyze transaction volume or confirm block confirmations.
Properties
| Name | Meaning |
|---|---|
| blockchain | The name or identifier of the blockchain network to query (e.g., Ethereum, Binance Smart Chain). |
| network | The specific network within the blockchain (e.g., mainnet, testnet). |
| context | Optional string to correlate or label the request context; can be used for tracking or logging purposes. |
Output
The node outputs JSON data representing the details of the last mined block on the specified EVM-compatible blockchain network. This typically includes block attributes such as block number, hash, timestamp, miner address, transaction count, and other relevant metadata provided by the Crypto APIs service.
If the node supports binary data output, it would generally relate to any raw block data or associated files, but in this case, the output is primarily structured JSON describing the block.
Dependencies
- Requires an active connection to the Crypto APIs REST API.
- Needs an API key credential configured in n8n to authenticate requests.
- Relies on the Crypto APIs endpoint definitions loaded from a local JSON specification file (
2024-12-12-final.json). - Uses internal helper functions to make HTTP requests to the Crypto APIs service.
Troubleshooting
- Operation Not Found Error: If the specified operation ("Get Last Mined Block EVM") is not found in the API specification, the node will throw an error. Ensure the operation name is correct and supported by the installed version of the node.
- Missing Required Parameters: The
blockchainandnetworkparameters are required. Omitting them will cause errors or invalid API calls. - API Authentication Errors: If the API key credential is missing or invalid, requests will fail. Verify that the API key is correctly set up in n8n credentials.
- Network or Rate Limit Issues: Network connectivity problems or hitting API rate limits may cause request failures. Check network status and API usage quotas.
- Context Parameter Usage: The optional
contextparameter does not affect the API call but can be used for logging or tracing. Misuse should not cause errors but ensure it is used consistently if applied.
Links and References
- Crypto APIs Documentation
- Ethereum Blockchain Explorer (for verifying block data)
- n8n Documentation for configuring API credentials and using custom nodes