mirror of
https://github.com/mempool/mempool.git
synced 2026-08-20 13:28:00 +02:00
Use internal /block/:hash/txs endpoint
This commit is contained in:
parent
4972f00a96
commit
2339a0771e
1 changed files with 1 additions and 1 deletions
|
|
@ -238,7 +238,7 @@ class ElectrsApi implements AbstractBitcoinApi {
|
|||
}
|
||||
|
||||
$getTxsForBlock(hash: string): Promise<IEsploraApi.Transaction[]> {
|
||||
return this.failoverRouter.$get<IEsploraApi.Transaction[]>('/block/' + hash + '/txs');
|
||||
return this.failoverRouter.$get<IEsploraApi.Transaction[]>('/internal/block/' + hash + '/txs');
|
||||
}
|
||||
|
||||
$getBlockHash(height: number): Promise<string> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue