<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>MultiChain Developer Q&amp;A - Recent questions tagged sendwithmetadatafrom</title>
<link>https://www.multichain.com/qa/tag/sendwithmetadatafrom</link>
<description>Powered by Question2Answer</description>
<item>
<title>Is it possible to send an image and text and video in one datastream transaction?</title>
<link>https://www.multichain.com/qa/3832/possible-send-image-text-and-video-datastream-transaction</link>
<description>Hi,&lt;br /&gt;
&lt;br /&gt;
I have a datastream transaction that I would like to add to my blockchain. It consists of an image, audio, and video file all of which describe a certain data set. Is it possible to list all in one transaction instead of adding 3 separate transactions for it? Thanks.</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3832/possible-send-image-text-and-video-datastream-transaction</guid>
<pubDate>Tue, 31 Jan 2017 05:34:41 +0000</pubDate>
</item>
<item>
<title>Address with permission gets doesn't have permission error</title>
<link>https://www.multichain.com/qa/3268/address-with-permission-gets-doesnt-have-permission-error</link>
<description>&lt;p&gt;After granting 'send' permission to an address, this address is unable to be used as a 'from' address in the 'sendwithmetadatafrom' command. &amp;nbsp;Below I have pasted relevant outputs from multichain:&lt;br&gt;&lt;br&gt;Command:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;multichain-cli accomplishments sendwithmetadatafrom 1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY 1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY 0 536F6D652044617461&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;&amp;nbsp;Output:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;{&quot;method&quot;:&quot;sendwithmetadatafrom&quot;,&quot;params&quot;:[&quot;1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY&quot;,&quot;1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY&quot;,0,&quot;536F6D652044617461&quot;],&quot;id&quot;:1,&quot;chain_name&quot;:&quot;accomplishments&quot;}&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;error code: -5&lt;/p&gt;&lt;p&gt;error message:&lt;/p&gt;&lt;p&gt;from-address doesn't have send permission&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;Permission output for relevant address:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;address&quot; : &quot;1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;for&quot; : null,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;type&quot; : &quot;send&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;startblock&quot; : 0,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;endblock&quot; : 4294967295,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;admins&quot; : [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;1YSGrLsv8AS2qr9kwcyh3Jcz7KnfB9tZ5SpTAd&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;pending&quot; : [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; },&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; {&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;address&quot; : &quot;1PoxkF6j6CD65dcrRkhNJn6NKgmReNw2Tc4okY&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;for&quot; : null,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;type&quot; : &quot;receive&quot;,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;startblock&quot; : 0,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;endblock&quot; : 4294967295,&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;admins&quot; : [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;1YSGrLsv8AS2qr9kwcyh3Jcz7KnfB9tZ5SpTAd&quot;&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ],&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &quot;pending&quot; : [&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ]&lt;/p&gt;&lt;p&gt;&amp;nbsp; &amp;nbsp; }&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;If I&amp;nbsp;run the `sendwithmetadata`&amp;nbsp;command, omitting the from address, this call works fine. &amp;nbsp;Any insight as to why an address with the send permission would be getting an error saying it does not have the send permission?&lt;/p&gt;&lt;p&gt;I am running this as a single original node and one worker node. &amp;nbsp;I have run the above commands on the worker node.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/3268/address-with-permission-gets-doesnt-have-permission-error</guid>
<pubDate>Tue, 06 Dec 2016 16:25:59 +0000</pubDate>
</item>
<item>
<title>Unsufficient funds</title>
<link>https://www.multichain.com/qa/2385/unsufficient-funds</link>
<description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;I want use MultiChain as a private database, &lt;strong&gt;without&lt;/strong&gt; the asset/currency aspect. I would like to store &quot;Hello World&quot; as hex to myself for now, with the amount of 0.&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;icsv-chain: sendwithmetadatafrom 1AD9yHodgUQJ85uNwTd9Ucmq4T5NXa7Le6fci2 1AD9yHodgUQJ85uNwTd9Ucmq4T5NXa7Le6fci2 0 48656c6c6f20576f726c64&lt;br&gt;{&quot;method&quot;:&quot;sendwithmetadatafrom&quot;,&quot;params&quot;:[&quot;1AD9yHodgUQJ85uNwTd9Ucmq4T5NXa7Le6fci2&quot;,&quot;1AD9yHodgUQJ85uNwTd9Ucmq4T5NXa7Le6fci2&quot;,0,&quot;48656c6c6f20576f726c64&quot;],&quot;id&quot;:1,&quot;chain_name&quot;:&quot;icsv-chain&quot;}&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style=&quot;font-family:courier new,courier,monospace&quot;&gt;error code: -4&lt;br&gt;error message:&lt;br&gt;Insufficient funds&lt;/span&gt;&lt;/p&gt;&lt;p&gt;Any advice?&lt;/p&gt;</description>
<guid isPermaLink="true">https://www.multichain.com/qa/2385/unsufficient-funds</guid>
<pubDate>Mon, 08 Aug 2016 18:58:45 +0000</pubDate>
</item>
<item>
<title>High volume of transactions</title>
<link>https://www.multichain.com/qa/1966/high-volume-of-transactions</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
What are the current limitations of multichain, when trying to put through a high volume of send transactions?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1966/high-volume-of-transactions</guid>
<pubDate>Thu, 09 Jun 2016 10:52:33 +0000</pubDate>
</item>
<item>
<title>Stores of data not financial transactions?</title>
<link>https://www.multichain.com/qa/1709/stores-of-data-not-financial-transactions</link>
<description>Hey all,&lt;br /&gt;
&lt;br /&gt;
I have experience using and developing on multichain with making my own explorer before the official one was live.&lt;br /&gt;
&lt;br /&gt;
My new project wants to implement a blockchain to store messages/data/files, then attribute meta-data to the record for easy searching on a front-end. I assume I can do this by just converting the raw strings to hexadecimal. What about perhaps a .pdf or .docx? Can this be attached/encoded then sent as a transaction to the network?&lt;br /&gt;
&lt;br /&gt;
This chain will have free transactions.&lt;br /&gt;
&lt;br /&gt;
To achieve meta information on transactions, is it possible to attach the data in a JSON object with the actual file/text in a sub-object?</description>
<guid isPermaLink="true">https://www.multichain.com/qa/1709/stores-of-data-not-financial-transactions</guid>
<pubDate>Tue, 03 May 2016 14:05:56 +0000</pubDate>
</item>
<item>
<title>Storage of data</title>
<link>https://www.multichain.com/qa/999/storage-of-data</link>
<description>I've seen mention of 8MB transactions being stored, how is this effected? Is the OP_RETURN the only way to store data in the chain?&lt;br /&gt;
&lt;br /&gt;
Thanks again,&lt;br /&gt;
&lt;br /&gt;
Rua</description>
<guid isPermaLink="true">https://www.multichain.com/qa/999/storage-of-data</guid>
<pubDate>Tue, 23 Feb 2016 19:09:15 +0000</pubDate>
</item>
<item>
<title>MultiChain data storage limitations/questions.</title>
<link>https://www.multichain.com/qa/982/multichain-data-storage-limitations-questions</link>
<description>Hello,&lt;br /&gt;
&lt;br /&gt;
I am currently starting a project and am hoping that MultiChain will be fit for our uses. I want to be able to store a file in the chain (ranging in size from approx 3MB to 7MB) so as a locally stored copy of the file can be compared to the data that is stored within the blockchain to ensure that this indeed is the file in question and that it has been in no way altered since it was created.&lt;br /&gt;
&lt;br /&gt;
I have done quite a bit of reading through this website and have seen how metadata can be stored as part of the OP_RETURN part of the transaction however the limit on this is approx 125KB. Elsewhere on this forum it has been stated that the maximum size one can encode is 8MB. Am I missing something here? Is there a way to encode more data than 1048576 in a transaction? If the transaction size can be set to 10000000 what happens to all this other available space and is there an api call to manipulate this? My current chain has the following params configured:&lt;br /&gt;
&lt;br /&gt;
only-accept-std-txs = true &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Only standard transactions are accepted to mempool and relayed.&lt;br /&gt;
max-std-tx-size = 3000000 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Maximal size of standard transaction. &amp;nbsp;(1024 - 10000000)&lt;br /&gt;
max-std-op-return-size = 1048576 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Maximal size of the data after OP_RETURN. &amp;nbsp;(0 - 1048576)&lt;br /&gt;
max-std-op-drops-count = 5 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Maximal amount of OP_DROPs in the script. (0 - 100)&lt;br /&gt;
max-std-op-drop-size = 64 &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;# Maximal size of the script element followed by OP_DROPs. (0 - 32768)&lt;br /&gt;
&lt;br /&gt;
I have been currently using the sendwithmetadatafrom api, along with listtransactions and getwallettransaction to query the transactions from the other node. Could you elaborate a bit more on these limits of file size etc, and point me in the right direction as to how to best proceed.&lt;br /&gt;
&lt;br /&gt;
On another related issue, I wrote a simple shell script which was basically a for loop to do 10000 of these transactions (sendwithmetadatafrom with the addresses and approx 100KB of metadata) however it appears to have broken the chain somewhat. 490 of these transactions completed and the rest I am not quite sure what has happened to them. I was thinking that perhaps with the 15secondconsensus time that some transactions got bottlenecked and were parsed wrong, however while I can see the send transactions from the first node they are not available for query on the second node? Am I on the right track here or do you have any information on what would be the best way to effectively &amp;quot;load&amp;quot; a chain full of transactions.&lt;br /&gt;
&lt;br /&gt;
I am new to MultiChain and any help you can give me here will be greatly appreciated.&lt;br /&gt;
&lt;br /&gt;
Thanks in advance,&lt;br /&gt;
&lt;br /&gt;
Rua</description>
<guid isPermaLink="true">https://www.multichain.com/qa/982/multichain-data-storage-limitations-questions</guid>
<pubDate>Mon, 22 Feb 2016 20:23:47 +0000</pubDate>
</item>
</channel>
</rss>