Use internal /block/:hash/txs endpoint
This commit is contained in:
		
							parent
							
								
									4972f00a96
								
							
						
					
					
						commit
						2339a0771e
					
				@ -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…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user