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
number of decimals in an asset
Sending multichain asset to another blockchain
issuing an asset to a non existent address
Limit an address' options of sending an asset (X is allowed to send Y and only Y)
One time Transactions
4,156
questions
4,369
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
Problem with asset decimals
[closed]
+1
vote
I have created an asset with unit=0.0001 but when I make a transaction per 2.5 the address just recieve 2 units not the decimals
closed with the note:
I found the problem in my node js file
asset
issuance
asked
Aug 28, 2017
by
Luis Acerv
closed
Aug 28, 2017
by
Luis Acerv
Please post the information about this asset from listassets, and also the full API command you are using to send the 2.5 units.
Asset:
{
"name" : "Kchin-coin-test2",
"issuetxid" : "b705bae940476a65930a3c10d0c91a512fe2398aab1993df64c272ced96be28c",
"assetref" : "310-266-1463",
"multiple" : 10000000,
"units" : 0.00000010,
"open" : false,
"details" : {
},
"issueqty" : 100000000.00000000,
"issueraw" : 1000000000000000,
"subscribed" : false
}
Command:
createrawsendfrom someaddress '{"someotheraddress":{"Kchin-coin-test2":2.5}}'
I have wrapped this in node js, the transaction completes from console and node js but only take the int
Please
log in
or
register
to add a comment.
...