From be553c04bb78489b32252aeff35567d25fed9457 Mon Sep 17 00:00:00 2001 From: John Williams Date: Wed, 11 Sep 2024 14:20:11 -0400 Subject: [PATCH] fix(explored-js): corrected transactionChainIndices request from POST to GET --- .changeset/spicy-bugs-hang.md | 5 +++++ libs/explored-js/src/api.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/spicy-bugs-hang.md diff --git a/.changeset/spicy-bugs-hang.md b/.changeset/spicy-bugs-hang.md new file mode 100644 index 000000000..37d105ce3 --- /dev/null +++ b/.changeset/spicy-bugs-hang.md @@ -0,0 +1,5 @@ +--- +'@siafoundation/explored-js': minor +--- + +Corrected transactionChainIndices method from POST to GET. diff --git a/libs/explored-js/src/api.ts b/libs/explored-js/src/api.ts index 9b6d424dd..e052fb2d5 100644 --- a/libs/explored-js/src/api.ts +++ b/libs/explored-js/src/api.ts @@ -190,7 +190,7 @@ export function Explored({ TransactionChainIndicesParams, TransactionChainIndicesPayload, TransactionChainIndicesResponse - >(axios, 'post', transactionChainIndicesRoute), + >(axios, 'get', transactionChainIndicesRoute), // Address addressSiacoinUTXOs: buildRequestHandler< AddressSiacoinUTXOsParams,