File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ Check out the [full documentation](https://docs.kiln.fi/v1/connect/overview).
1515- NEAR
1616- SOL
1717- XTZ
18+ - OSMO
1819- More protocol to come, don't hesitate to contact us (
[email protected] )
1920
2021## Installation
@@ -26,7 +27,7 @@ npm install --save @kilnfi/sdk
2627```
2728
2829## Setup
29- In order to use this sdk, you will need a kiln api token.
30+ In order to use this sdk, you will need a kiln api token.
3031Please contact
[email protected] to get one.
3132
3233``` typescript
@@ -65,13 +66,13 @@ try {
6566 ' withdrawal_address' ,
6667 32
6768 );
68-
69+
6970 // Sign it with your fireblock vault
7071 const txSigned = await k .eth .sign (vault , tx );
71-
72+
7273 // Broadcast it
7374 const hash = await k .eth .broadcast (txSigned );
74-
75+
7576} catch (err ) {
7677 // handle errors
7778}
8283try {
8384 // Get stakes by accounts
8485 const stakes = await k .eth .getAccountsRewards ([' kiln-account-id' ]);
85-
86+
8687 // Get stakes by wallets
8788 const stakesByWallet = await k .eth .getWalletRewards ([' wallet-address' ]);
8889
9192
9293 // Get network stats
9394 const stats = await k .eth .getNetworkStats ();
94-
95+
9596 } catch (err ) {
9697 // handle errors
9798 }
You can’t perform that action at this time.
0 commit comments