Removing "raw block".

This commit is contained in:
softsimon
2021-08-03 18:15:33 +03:00
parent b9246a72f2
commit 8eb70416da
9 changed files with 5 additions and 33 deletions

View File

@@ -40,12 +40,6 @@ class ElectrsApi implements AbstractBitcoinApi {
.then((response) => response.data);
}
$getRawBlock(hash: string): Promise<string> {
return axios.get<string>(config.ESPLORA.REST_API_URL + '/block/' + hash + '/raw', this.axiosConfig)
.then((response) => response.data);
}
$getBlock(hash: string): Promise<IEsploraApi.Block> {
return axios.get<IEsploraApi.Block>(config.ESPLORA.REST_API_URL + '/block/' + hash, this.axiosConfig)
.then((response) => response.data);