We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdc96f6 commit a549481Copy full SHA for a549481
1 file changed
pendle/typescript/src/index.ts
@@ -40,15 +40,15 @@ const marketAddress = market.address;
40
const underlyingAssetAddress = market.underlyingAsset.split("-")[1];
41
const ptAddress = market.pt.split("-")[1];
42
const ytAddress = market.yt.split("-")[1];
43
-// SNIPPET END 1
44
45
-// SNIPPET START 2
46
let userPosition = await compassApiSDK.pendle.position({
47
chain: "arbitrum:mainnet",
48
userAddress: WALLET_ADDRESS,
49
marketAddress,
50
});
+// SNIPPET END 1
51
+// SNIPPET START 2
52
let underlyingAssetAllowance = await compassApiSDK.universal.allowance({
53
54
user: WALLET_ADDRESS,
0 commit comments