Login
Register
All Activity
Questions
Unanswered
Tags
Users
Ask a Question
Welcome to the Developer Q&A for the
MultiChain
blockchain platform.
Please feel free to ask questions about the platform to receive answers from the MultiChain developers or other members of the community.
Related questions
What does vin and vout signifies? what is the purpose of vin and vout.
vout value to be different from 0
Meaning of n[2] vout in "issuefirst" type of transaction
Vout n[2] in "issuefirst" transaction
Is it possible to constrain a single asset by vout
4,157
questions
4,370
answers
5,718
comments
Most popular tags
multichain
streams
assets
stream
transactions
json-rpc
blockchain
wallet
permissions
error
address
raw-transactions
asset
mining
node
api
issue
multichain-explorer
nodes
connect
multichaind
multisig
transaction
smart-filters
metadata
private-key
atomic-exchange
multichain-cli
multichain-web-demo
data
connection
performance
blocks
demo
web
json
database
storage
native-currency
bitcoin
private-blockchain
network
fee
smart-contracts
wallets
signrawtransaction
off-chain
exchange
multiple-nodes
getnewaddress
The value of Vout in my decoderaw transaction result is different from the size I entered in getwallet transaction
+1
vote
decoderawtrawnsaction:
"value" : 2999999998.99998,
"n" : 1,
getwallettransaction:
{
"amount" : -1,
"fee" : -0.000022,
"confirmations" : 11,
The real result of decoderaw transaction should be 29999998.99999978, which shows only 2999999998.9999998.
vout
value
asked
Jan 3, 2019
by
anonymous
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1 Answer
0
votes
You're bumping up here against the limits of JSON's precision for representing floating point numbers. In this case you may want to consider using a transaction decoding library on the application side (any bitcoin transaction decoding library should work), and extracting the 64-bit raw integer quantities directly.
answered
Jan 3, 2019
by
MultiChain
Please
log in
or
register
to add a comment.
...