File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -9,9 +9,7 @@ if (!process.env.JWK) {
99
1010const JWK : any = JSON . parse ( process . env . JWK ) ;
1111const signer = createDataItemSigner ( JWK ) ;
12- const client = new LiquidOps ( signer , {
13- CU_URL : "https://cu.liquidops.io/" ,
14- } ) ;
12+ const client = new LiquidOps ( signer ) ;
1513
1614const walletAddress = await ownerToAddress ( JWK . n ) ;
1715
@@ -131,11 +129,11 @@ const walletAddress = await ownerToAddress(JWK.n);
131129
132130//-------------------------------
133131
134- // const getGlobalPosition = await client.getGlobalPosition({
135- // walletAddress: 'h037Kd9sfjYn7KyDvzkdqG5LVhry1dkKMj8aOJDq1F8'
136- // });
132+ const getGlobalPosition = await client . getGlobalPosition ( {
133+ walletAddress : "enMTr4rGpzcmno1W4RgihNfa2haOIuJoRD6OxSEvdH8" ,
134+ } ) ;
137135
138- // console.log(formatGlobalPosition(getGlobalPosition));
136+ console . log ( formatGlobalPosition ( getGlobalPosition ) ) ;
139137
140138//-------------------------------
141139
You can’t perform that action at this time.
0 commit comments