Skip to content

Commit

Permalink
Update tx_info request to include inputs
Browse files Browse the repository at this point in the history
The Koios tx_info endpoint changed and you must now request input data
  • Loading branch information
peachbits committed Sep 5, 2024
1 parent 559188d commit 80ce08c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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: (ADA) Update tx_info request to include inputs in order to fix all transactions show as receive bug

## 4.23.0 (2024-09-03)

Expand Down
1 change: 1 addition & 0 deletions src/cardano/CardanoEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 80ce08c

Please sign in to comment.