Skip to content

Commit

Permalink
fix(explored-js): corrected transactionChainIndices request from POST…
Browse files Browse the repository at this point in the history
… to GET
  • Loading branch information
telestrial committed Sep 11, 2024
1 parent ff5dc11 commit be553c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/spicy-bugs-hang.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@siafoundation/explored-js': minor
---

Corrected transactionChainIndices method from POST to GET.
2 changes: 1 addition & 1 deletion libs/explored-js/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export function Explored({
TransactionChainIndicesParams,
TransactionChainIndicesPayload,
TransactionChainIndicesResponse
>(axios, 'post', transactionChainIndicesRoute),
>(axios, 'get', transactionChainIndicesRoute),
// Address
addressSiacoinUTXOs: buildRequestHandler<
AddressSiacoinUTXOsParams,
Expand Down

0 comments on commit be553c0

Please sign in to comment.