File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ import { XtzService } from "./services/xtz";
2020import { ZetaService } from "./services/zeta" ;
2121import { KILN_VALIDATORS as v } from "./validators" ;
2222import { KavaService } from "./services/kava" ;
23+ import { PolService } from "./services/pol" ;
2324
2425type Config = {
2526 apiToken : string ;
@@ -50,6 +51,7 @@ export class Kiln {
5051 ton : TonService ;
5152 zeta : ZetaService ;
5253 kava : KavaService ;
54+ pol : PolService ;
5355
5456 constructor ( { testnet, apiToken, baseUrl } : Config ) {
5557 api . defaults . headers . common . Authorization = `Bearer ${ apiToken } ` ;
@@ -76,5 +78,6 @@ export class Kiln {
7678 this . ton = new TonService ( { testnet } ) ;
7779 this . zeta = new ZetaService ( { testnet } ) ;
7880 this . kava = new KavaService ( { testnet } ) ;
81+ this . pol = new PolService ( { testnet } ) ;
7982 }
8083}
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export class XtzService extends Service {
3030 * Craft Tezos undelegation transaction
3131 * @param walletAddress wallet address delegating
3232 */
33- async craftUnStakeTx ( walletAddress : string ) : Promise < XtzTx > {
33+ async craftUnstakeTx ( walletAddress : string ) : Promise < XtzTx > {
3434 const { data } = await api . post < XtzTx > ( `/v1/xtz/transaction/unstake` , {
3535 wallet : walletAddress ,
3636 } ) ;
You can’t perform that action at this time.
0 commit comments