Skip to content

Commit

Permalink
update curl command
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanwaits committed Oct 1, 2024
1 parent 99414d2 commit 2180ebf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions content/docs/stacks/api/transactions/get-transaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ Transaction ID
<Request value={"cURL"}>

```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}"
```

</Request>

<Request value={"JavaScript"}>

```js
fetch("https://api.hiro.so/extended/v1/tx/%7Btx_id%7D", {
fetch("https://api.hiro.so/extended/v1/tx/{tx_id}", {
method: "GET"
});
```
Expand All @@ -81,7 +81,7 @@ fetch("https://api.hiro.so/extended/v1/tx/%7Btx_id%7D", {

<Response value={"200"}>

Describes all transaction types on Stacks 2.0 blockchain
Fetches transaction details for a given transaction ID

<ResponseTypes>

Expand Down

0 comments on commit 2180ebf

Please sign in to comment.