fix: add blockchainBlock_header
This commit is contained in:
parent
76c0ea35e1
commit
b0bcbe3def
3
index.js
3
index.js
@ -134,6 +134,9 @@ class ElectrumClient extends Client {
|
||||
blockchainScripthash_subscribe(scripthash) {
|
||||
return this.request('blockchain.scripthash.subscribe', [scripthash]);
|
||||
}
|
||||
blockchainBlock_header(height) {
|
||||
return this.request('blockchain.block.header', [height]);
|
||||
}
|
||||
blockchainBlock_headers(start_height, count) {
|
||||
return this.request('blockchain.block.headeres', [start_height, count]);
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user