Is there a way to charge a fee based on the metadata size of a standard transaction?

+1 vote
We can limit the size of standard transactions using the "max-std-op-return-size" option. In this case, is there any way I can charge a fee according to the OP_RETURN metadata size with native currency?


Thank you, Multichain.
asked Sep 13, 2017 by Ilhun

1 Answer

0 votes

You can't fix a fee based specifically on the OP_RETURN size, but you can make fees a function of the overall transaction size in units of one kilobyte. Sse the minimum-relay-fee blockchain parameter, which is applied correctly in MultiChain 1.0.1.

answered Sep 14, 2017 by MultiChain