From 148765beeb7fd464731ffb93c95b750e54429511 Mon Sep 17 00:00:00 2001 From: peachbits Date: Thu, 5 Sep 2024 13:15:30 -0700 Subject: [PATCH] Update tx_info request to include inputs The Koios tx_info endpoint changed and you must now request input data --- CHANGELOG.md | 1 + src/cardano/CardanoEngine.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 11acb0532..6758a87b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - added: (Ethereum/Solana) Support additional tokens provided by info server - added: (Thorchain) Add Midgard API for transaction queries - changed: (Thorchain) Move most Thorchain-specific functionality out of CosmosEngine and into to ThorchainEngine subclass +- fixed: Update tx_info request to include inputs ## 4.23.0 (2024-09-03) diff --git a/src/cardano/CardanoEngine.ts b/src/cardano/CardanoEngine.ts index 71db3e67c..1195ddc10 100644 --- a/src/cardano/CardanoEngine.ts +++ b/src/cardano/CardanoEngine.ts @@ -282,6 +282,7 @@ export class CardanoEngine extends CurrencyEngine< break } const rawTxInfos = await this.fetchPost(`tx_info`, { + _inputs: true, _tx_hashes: txids }) const txs = asKoiosTransactionsRes(rawTxInfos)