Tatum-JS / LTC transaction: TypeError, Fees and change

This page summarizes the projects mentioned and recommended in the original post on /r/tatum_io

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • bitcoinbook

    Mastering Bitcoin 3rd Edition - Programming the Open Blockchain

  • The data structure of transactions does not have a field for fees. Instead, fees are implied as the difference between the sum of inputs and the sum of outputs. Any excess amount that remains after all outputs have been deducted from all inputs is the fee that is collected by the miners: https://github.com/bitcoinbook/bitcoinbook/blob/develop/ch06.asciidoc#adding-fees-to-transactions

  • tatum-js

    🚀 Tatum SDK: A 💪 powerful, 🌟 feature-rich TypeScript/JavaScript 📚 library that streamlines the 🛠️ development of 🌐 blockchain applications.

  • Now I understand what I was doing wrong! I thought I had to first call prepareLitecoinSignedTransaction, and then sendLitecoinTransaction. But actually, looking at the sendLitecoinTransaction function at https://github.com/tatumio/tatum-js/blob/master/src/transaction/litecoin.ts line 88, I see it calls prepareLitecoinSignedTransaction! So, the second parameter it passes to the function prepareLitecoinSignedTransaction should be a transferBtcBasedBlockchain (a json object), not the prepared result (a hexa string). The 'constructor of undefined' error was happening because my prepare object was a hexadecimal string.

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best Website for a noob to "learn bitcoin"?

    1 project | /r/Bitcoin | 10 Dec 2023
  • Free ebooks on Cryptocurrency, a small collection I read

    2 projects | /r/CryptoCurrency | 9 Sep 2023
  • Writing a summary on HD wallets, first part done, correct so far ?

    2 projects | /r/Bitcoin | 8 Jul 2023
  • Anything missing?

    3 projects | /r/BitcoinBeginners | 7 Jul 2023
  • Any good book about the math behind the encryption within Bitcoin?

    1 project | /r/Bitcoin | 24 Jun 2023