From 2180ebfcaf81fc358e09411bcdd3b4c45741b100 Mon Sep 17 00:00:00 2001 From: Ryan Waits Date: Mon, 30 Sep 2024 21:32:50 -0500 Subject: [PATCH] update curl command --- content/docs/stacks/api/transactions/get-transaction.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/content/docs/stacks/api/transactions/get-transaction.mdx b/content/docs/stacks/api/transactions/get-transaction.mdx index 6b582aca..b3036981 100644 --- a/content/docs/stacks/api/transactions/get-transaction.mdx +++ b/content/docs/stacks/api/transactions/get-transaction.mdx @@ -60,7 +60,7 @@ Transaction ID ```bash -curl -X GET "https://api.hiro.so/extended/v1/tx/%7Btx_id%7D" +curl -X GET "https://api.hiro.so/extended/v1/tx/{tx_id}" ``` @@ -68,7 +68,7 @@ curl -X GET "https://api.hiro.so/extended/v1/tx/%7Btx_id%7D" ```js -fetch("https://api.hiro.so/extended/v1/tx/%7Btx_id%7D", { +fetch("https://api.hiro.so/extended/v1/tx/{tx_id}", { method: "GET" }); ``` @@ -81,7 +81,7 @@ fetch("https://api.hiro.so/extended/v1/tx/%7Btx_id%7D", { -Describes all transaction types on Stacks 2.0 blockchain +Fetches transaction details for a given transaction ID