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

This commit is contained in:
Leonardo Lima
2022-07-25 14:54:00 -03:00
parent 6ae05c2023
commit 46e63ca6cf
4 changed files with 19 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ export interface AbstractBitcoinApi {
$getBlockHash(height: number): Promise<string>;
$getBlockHeader(hash: string): Promise<string>;
$getBlock(hash: string): Promise<IEsploraApi.Block>;
$getRawBlock(hash: string): Promise<string>;
$getAddress(address: string): Promise<IEsploraApi.Address>;
$getAddressTransactions(address: string, lastSeenTxId: string): Promise<IEsploraApi.Transaction[]>;
$getAddressPrefix(prefix: string): string[];