From ed5e9c9f62ebe55f46f8cf074301285beac0131c Mon Sep 17 00:00:00 2001 From: Tien Tran Date: Mon, 19 Aug 2024 12:22:06 +0700 Subject: [PATCH] Add `/api` to endpoints --- hosted-sdk-demo/src/helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosted-sdk-demo/src/helper.ts b/hosted-sdk-demo/src/helper.ts index 5e2da76..6f3171a 100644 --- a/hosted-sdk-demo/src/helper.ts +++ b/hosted-sdk-demo/src/helper.ts @@ -1,7 +1,7 @@ import axios from 'axios'; import { ethers } from 'ethers'; -const HOSTED_SDK_URL = 'https://api-v2.pendle.finance/external/'; +const HOSTED_SDK_URL = 'https://api-v2.pendle.finance/api/external/'; type MethodReturnType = { tx: {