8000 small docs update · CashScript/cashscript@84f31df · GitHub
[go: up one dir, main page]

Skip to content

Commit 84f31df

Browse files
committed
small docs update
1 parent 9b772a4 commit 84f31df

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

website/docs/sdk/network-provider.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ The network parameter can be one of 5 different options.
2525
const provider = new ElectrumProvider('chipnet');
2626
```
2727

28-
### getUtxos
28+
### getUtxos()
2929
```ts
3030
async provider.getUtxos(address: string): Promise<Utxo[]>;
3131
```
@@ -45,7 +45,7 @@ interface Utxo {
4545
const userUtxos = await provider.getUtxos(userAddress)
4646
```
4747

48-
### getBlockHeight
48+
### getBlockHeight()
4949
```ts
5050
async provider.getBlockHeight(): Promise<number>;
5151
```
@@ -56,7 +56,7 @@ Get the current blockHeight.
5656
const currentBlockHeight = await provider.getBlockHeight()
5757
```
5858

59-
### getRawTransaction
59+
### getRawTransaction()
6060
```ts
6161
async provider.getRawTransaction(txid: string): Promise<string>;
6262
```
@@ -68,7 +68,7 @@ Retrieve the Hex transaction details for a given transaction ID.
6868
const rawTransaction = await provider.getRawTransaction(txid)
6969
```
7070

71-
### sendRawTransaction
71+
### sendRawTransaction()
7272
```ts
7373
async provider.sendRawTransaction(txHex: string): Promise<string>;
7474
```
@@ -79,7 +79,7 @@ Broadcast a raw hex transaction to the network.
7979
const txId = await provider.sendRawTransaction(txHex)
8080
```
8181

82-
### performRequest
82+
### performRequest()
8383

8484
Perform an arbitrary electrum request, refer to the docs at [electrum-cash-protocol](https://electrum-cash-protocol.readthedocs.io/en/latest/).
8585

0 commit comments

Comments
 (0)
0