From f290349febafa0af9a06057880ec08aeccc46da1 Mon Sep 17 00:00:00 2001 From: 0xFirekeeper <0xFirekeeper@gmail.com> Date: Sat, 6 Dec 2025 02:46:06 +0700 Subject: [PATCH] Update API reference links in dashboard and portal Changed sidebar and documentation links to point to updated API reference tags for contracts, payments, and wallets. Ensures users are directed to the correct sections in the thirdweb API documentation. --- .../[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx | 2 +- .../[team_slug]/[project_slug]/(sidebar)/payments/page.tsx | 2 +- apps/portal/src/app/contracts/sidebar.tsx | 2 +- apps/portal/src/app/wallets/server/page.mdx | 2 +- apps/portal/src/app/wallets/server/send-transactions/page.mdx | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx index deac8f52d17..177a926aeaf 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/contracts/page.tsx @@ -98,7 +98,7 @@ export default async function Page(props: { }, { type: "api", - href: "https://api.thirdweb.com/reference#tag/contracts", + href: "https://api.thirdweb.com/reference#tag/gateway", }, { type: "webhooks", diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/page.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/page.tsx index 36403f27fbe..b6250edb6af 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/page.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/(sidebar)/payments/page.tsx @@ -85,7 +85,7 @@ export default async function Page(props: { }, { type: "api", - href: "https://api.thirdweb.com/reference#tag/payments", + href: "https://api.thirdweb.com/reference#tag/x402", }, ], }} diff --git a/apps/portal/src/app/contracts/sidebar.tsx b/apps/portal/src/app/contracts/sidebar.tsx index 8512cea9b4b..735b89df899 100644 --- a/apps/portal/src/app/contracts/sidebar.tsx +++ b/apps/portal/src/app/contracts/sidebar.tsx @@ -71,7 +71,7 @@ export const sidebar: SideBar = { isCollapsible: false, links: [ { - href: "/reference#tag/contracts", + href: "/reference#tag/gateway", icon: , name: "HTTP API", }, diff --git a/apps/portal/src/app/wallets/server/page.mdx b/apps/portal/src/app/wallets/server/page.mdx index 3ee379be219..b7d2c2c1431 100644 --- a/apps/portal/src/app/wallets/server/page.mdx +++ b/apps/portal/src/app/wallets/server/page.mdx @@ -35,7 +35,7 @@ Server wallets are wallets that are managed by your own application, like a trea ### Use an existing Server Wallet -Once created, you can use your server wallet by passing it as the `from` field of the [thirdweb API](/reference#tag/transactions/post/v1/transactions). +Once created, you can use your server wallet by passing it as the `from` field of the [thirdweb API](/reference#tag/wallets/post/v1/transactions). ### Create a new Server Wallet diff --git a/apps/portal/src/app/wallets/server/send-transactions/page.mdx b/apps/portal/src/app/wallets/server/send-transactions/page.mdx index 0aef431b012..06f1bba29f9 100644 --- a/apps/portal/src/app/wallets/server/send-transactions/page.mdx +++ b/apps/portal/src/app/wallets/server/send-transactions/page.mdx @@ -64,7 +64,7 @@ Send, monitor, and manage transactions. Send transactions from user or server wa ### Send raw transactions - Send a raw transaction from a [user wallet](/wallets/users) from the frontend, or [server wallet](/wallets/server) from the backend using the [thirdweb API](/reference#tag/transactions/post/v1/transactions). + Send a raw transaction from a [user wallet](/wallets/users) from the frontend, or [server wallet](/wallets/server) from the backend using the [thirdweb API](/reference#tag/wallets/post/v1/transactions). - For server wallets, you can execute transactions with just your project secret key. - For user wallets in React applications that use the SDK, you can obtain the user wallet auth token (JWT) with the [`useAuthToken()`](/references/typescript/v5/useAuthToken) hook. @@ -74,7 +74,7 @@ Send, monitor, and manage transactions. Send transactions from user or server wa ### Send contract calls - Send a transaction to a contract from a [user wallet](/wallets/users) from the frontend, or [server wallet](/wallets/server) from the backend using the [thirdweb API](/reference#tag/contracts/post/v1/contracts/{chainId}/{address}/write). + Send a transaction to a contract from a [user wallet](/wallets/users) from the frontend, or [server wallet](/wallets/server) from the backend using the [thirdweb API](/reference#tag/wallets/post/v1/contracts/{chainId}/{address}/write). - For server wallets, you can execute transactions with just your project secret key. - For user wallets in React applications that use the SDK, you can obtain the user wallet auth token (JWT) with the [`useAuthToken()`](/references/typescript/v5/useAuthToken) hook.