feat: add /block/:hash/raw api route

This commit is contained in:
Leonardo Lima
2022-07-25 14:54:00 -03:00
parent 754ae231d1
commit 7f4a25baa0
4 changed files with 19 additions and 2 deletions

View File

@@ -2070,7 +2070,7 @@ export const restApiDocsData = [
fragment: "get-block-raw",
title: "GET Block Raw",
description: {
default: "Returns the raw block representation in binary."
default: "Returns the raw block representation in binary for Esplora backend, or hex for Bitcoin Core RPC backend."
},
urlString: "/block/:hash/raw",
showConditions: bitcoinNetworks.concat(liquidNetworks),