Okay so I have created a transaction like this>
createrawtransaction '[{"txid":"ba747b05dfd28e2756f13c377b51f711966874f26189e018d648ec9558ad11f8","vout":0}]' '{"1ZiUq8ssyK4sMKD4Dt1Tv1V7k4TDjh5aXzXhme":{"F":1.0}}'
signed it like this
signrawtransaction 0100000001f811ad5895ec48d618e08961f274689611f7517b373cf156278ed2df057b74ba0000000000ffffffff0100000000000000003176a914f20e9ec3456967efcfb006cef2d180ae5ffab46e88ac1673706b710b0000000e020000ba7401000000000000007500000000
But when I append it like this.
The 1ZiUq8ssyK4sMKD4Dt1Tv1V7k4TDjh5aXzXhme is an external node' public key.
The 1Ynn2CyNSQoeHrsXZqvuygyVs9pBPfydoRhS9X is the one issuing this transactions public key.
appendrawchange 0100000001f811ad5895ec48d618e08961f274689611f7517b373cf156278ed2df057b74ba000000006b483045022100ca7aa8c87a8a3a9c73446afe2838a370a69297a0a6c37107effefe402561745b02207682f47e4c8d8708a2b94ced7b22654da1c5131968e018452bbe8d892751d02b0121037a6acdd32387f4fb6b4b48359c3be813f82861f926224b2785077aca2b872e82ffffffff0100000000000000003176a914f20e9ec3456967efcfb006cef2d180ae5ffab46e88ac1673706b710b0000000e020000ba7401000000000000007500000000 1Ynn2CyNSQoeHrsXZqvuygyVs9pBPfydoRhS9X 0
I get this error: Insufficient funds, output asset value is higher than input
How can this be true? I have millions of F assets in my wallet and I just want to send 1 by raw transaction. My goal is to find out if I can somehow make sure that the transaction would only be executable once and a racecondition would just end up failing.
Any idea why I get this error?