Update internal getRawTransactions to use new prefix

This commit is contained in:
Mononaut 2023-08-28 16:55:50 +09:00
parent 156b5d0b3c
commit 031e14f302
No known key found for this signature in database
GPG key ID: A3F058E41374C04E

View file

@ -214,7 +214,7 @@ class ElectrsApi implements AbstractBitcoinApi {
}
async $getRawTransactions(txids: string[]): Promise<IEsploraApi.Transaction[]> {
return this.failoverRouter.$post<IEsploraApi.Transaction[]>('/internal-api/txs', txids, 'json');
return this.failoverRouter.$post<IEsploraApi.Transaction[]>('/internal/txs', txids, 'json');
}
async $getMempoolTransactions(txids: string[]): Promise<IEsploraApi.Transaction[]> {