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