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,