Raw transaction with multiple asset issue

+2 votes

I was testing issuing multiple assets using a raw transaction as documented on the tutorial available on the website.

I executed the following commands:

  1. createrawtransaction '[{"txid":"631a72ec3b6a983390aa64fd4c693a11ce346579736e908e31a6a2dec52df818","vout":0}, {"txid":"00c66e98d9c7a9ea0cee10794739119b40cf995b70111be4aa7cd7d84e426c37","vout":0}]' '{"1W1Ky9BKsgibPnHMthi656uK4zuN7pGBXZAEru":{"issuemore":{"asset":"155421-267-6888","raw":1}},"1LLAVJ5hzcBGviEN5JobSL5F55hAGxBVpYTRVZ":{"issuemore":{"asset":"664-266-39752","raw":1}}}'
  2. signrawtransaction 010000000218f82dc5dea2a6318e906e73796534ce113a694cfd64aa9033986a3bec721a630000000000ffffffff376c424ed8d77caae41b11705b99cf409b1139477910ee0ceaa9c7d9986ec6000000000000ffffffff0200000000000000003776a914d69c4e10ea6506a334bcb188f6a2dd18cd45e31388ac1c73706b6f5e06442196aeeae1feb1ad413d231ae801000000000000007500000000000000003776a9148f0634d3b32c3aee5810f40f5ae28e2fb0c4d35088ac1c73706b6f4bb528000d837a1c4ab83ec986159b4801000000000000007500000000 [] '["VD7HjB9cFudUR2aZbHvE846uUrfYJvBzHbHTZTEK3q1KYeKcNQwYBr94","VDwUpT8t7iMwm7WBcNcnwLH1eYoGDd38GwxFc4vnYYQzBMhqCuMUQMoA","V5yvjE4vPXfJbDyqnnpfBXDTp2wjDkjDvjrBQkbvnZU4xmPmECDZXxMU"]' "ALL | ANYONECANPAY"
  3. sendrawtransaction 010000000218f82dc5dea2a6318e906e73796534ce113a694cfd64aa9033986a3bec721a63000000006b483045022100eed551cf089038c892e2873d5253a00f1c22a390e66a011cdf7260cbe3ec757c022003db653fd254097e265d80aef0279e792e63ba77f6117c2a47df2a981976f016812102778155084adf405b85ad28caa41fad51336d4764f55bb896e15e1e42b99ddf78ffffffff376c424ed8d77caae41b11705b99cf409b1139477910ee0ceaa9c7d9986ec600000000006b483045022100ef4a165986a2a57c813d34736f911b92ffcce28d3af3119c456d38d8e9f78c40022006a64d2ad22815c448e3be9eef3e453cdcc667bbf6ace86505fa86dbb67f246a81210329fdbbc4a2dd3dc94cd26ed2484f3b1f3936c5b9c6c4b5a3937907336c88dedeffffffff0200000000000000003776a914d69c4e10ea6506a334bcb188f6a2dd18cd45e31388ac1c73706b6f5e06442196aeeae1feb1ad413d231ae801000000000000007500000000000000003776a9148f0634d3b32c3aee5810f40f5ae28e2fb0c4d35088ac1c73706b6f4bb528000d837a1c4ab83ec986159b4801000000000000007500000000

     

Sending the transaction results the following error:

error code: -26

error message:

64: Asset follow-on script rejected - follow-on for several assets

I think the raw transaction is well built. Is it possible or not to issue more than one asset in the same transaction as long we used different destination addresses?

Thank you.

asked Apr 21 by jgodinho

1 Answer

0 votes
That's right I'm afraid, you can't perform issuances for multiple assets in the same transaction.
answered Apr 21 by MultiChain
...