fix: add blockchainBlock_header

This commit is contained in:
Ivan Vershigora 2023-07-29 12:31:26 +01:00
parent 76c0ea35e1
commit b0bcbe3def
No known key found for this signature in database
GPG Key ID: DCCF7FB5ED2CEBD7

View File

@ -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]);
}