IntersectMBO / IntersectMBO/cardano-node

[FR] - need cli query to fetch a specific transaction and block

Open
#6,121 34 comments 0 reactions 0 assignees View on GitHub
needs triage type: enhancement
Dominant language
Haskell
Stars
3.2k
Forks
754
Avg merge
4d 20h
Merged PRs (30d)
20

Description

*External*

**Area**
*Other* new cli query, potentially a new node-to-client mini protocol.

**Describe the feature you'd like**
There is a need for third-party blockchain integration platforms to fetch a transaction, and a block using cli. It is a common feature available across chains including bitcoin to be able to fetch a transaction and confirm its meta details like the block height and confirmation etc. And to be able to fetch a block and get meta info like next block hash and other details. We would like to have similar queries to be able to fetch a transaction and a block using cardano-cli

**Describe alternatives you've considered**
1 - use ouroboros node-to-node for block fetch, local chain sync for getting subsequent blocks, but its an overkill.
2 - could use db-sync or build a custom indexer, but its again an overkill for such a simple use case.
3 - use API providers, but it is required for many platforms to use cardano-node directly for security reasons, eg. exchanges.

**Additional context / screenshots**
N/A

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.