File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ The network parameter can be one of 5 different options.
25
25
const provider = new ElectrumProvider (' chipnet' );
26
26
```
27
27
28
- ### getUtxos
28
+ ### getUtxos()
29
29
``` ts
30
30
async provider .getUtxos (address : string ): Promise < Utxo []> ;
31
31
```
@@ -45,7 +45,7 @@ interface Utxo {
45
45
const userUtxos = await provider .getUtxos (userAddress )
46
46
```
47
47
48
- ### getBlockHeight
48
+ ### getBlockHeight()
49
49
``` ts
50
50
async provider .getBlockHeight (): Promise < number > ;
51
51
```
@@ -56,7 +56,7 @@ Get the current blockHeight.
56
56
const currentBlockHeight = await provider .getBlockHeight ()
57
57
```
58
58
59
- ### getRawTransaction
59
+ ### getRawTransaction()
60
60
``` ts
61
61
async provider .getRawTransaction (txid : string ): Promise < string > ;
62
62
```
@@ -68,7 +68,7 @@ Retrieve the Hex transaction details for a given transaction ID.
68
68
const rawTransaction = await provider .getRawTransaction (txid )
69
69
```
70
70
71
- ### sendRawTransaction
71
+ ### sendRawTransaction()
72
72
``` ts
73
73
async provider .sendRawTransaction (txHex : string ): Promise < string > ;
74
74
```
@@ -79,7 +79,7 @@ Broadcast a raw hex transaction to the network.
79
79
const txId = await provider .sendRawTransaction (txHex )
80
80
```
81
81
82
- ### performRequest
82
+ ### performRequest()
83
83
84
84
Perform an arbitrary electrum request, refer to the docs at [ electrum-cash-protocol] ( https://electrum-cash-protocol.readthedocs.io/en/latest/ ) .
85
85
You can’t perform that action at this time.
0 commit comments