Hi, I am using your SDK in "swift" programming language. I'm trying to create a Bitcoin Raw Transaction and your SDK generates a hash of the transaction and when it comes to sending it to the network, various services return me various errors as if something is missing in this generated hash. I do everything as in your example (https://github.com/trustwallet/developer/blob/master/wallet-core/wallet-core-usage.md). Maybe I missed something or something was not mentioned in the example, I don't know.
Here is part of the code I use
I am trying to send this transaction to the network using different services: (https://blockchair.com/api/docs#link_201) (https://www.blockcypher.com/dev/bitcoin/#introduction)
Blockchair error says: "Invalid transaction. Error: bad-txns-inputs-missingorspent"
Blockcypher error says: "Error validating transaction: Transaction 59941837cb24649f473a61a8a5776abc7ce702924c800719c10134f3cc962ab5 orphaned, missing reference dbfbf1fa4400f3f50d46897ef0274e3c4ae1a95deca38fbb80c46e9ed92e568b."
Hi, I am using your SDK in "swift" programming language. I'm trying to create a Bitcoin Raw Transaction and your SDK generates a hash of the transaction and when it comes to sending it to the network, various services return me various errors as if something is missing in this generated hash. I do everything as in your example (https://github.com/trustwallet/developer/blob/master/wallet-core/wallet-core-usage.md). Maybe I missed something or something was not mentioned in the example, I don't know. Here is part of the code I use
I am trying to send this transaction to the network using different services: (https://blockchair.com/api/docs#link_201) (https://www.blockcypher.com/dev/bitcoin/#introduction) Blockchair error says: "Invalid transaction. Error: bad-txns-inputs-missingorspent" Blockcypher error says: "Error validating transaction: Transaction 59941837cb24649f473a61a8a5776abc7ce702924c800719c10134f3cc962ab5 orphaned, missing reference dbfbf1fa4400f3f50d46897ef0274e3c4ae1a95deca38fbb80c46e9ed92e568b."
I also tried to decode the transaction hash using this decoder: (https://live.blockcypher.com/btc/decodetx/) Here is the transaction decoded:
I hope for your help, thanks.