Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

"tokenamount" output of decoderawtransaction is very misleading

Open
#1,152 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
blockchain

Research direction

Start by locating the decoderawtransaction handling for the tokenamount output and trace how reissuance token quantities are converted before serialization. Compare the displayed value with the expected satoshi amount, then verify that reissuance tokens are reported in satoshis without changing the broader decimal-place behavior for issued assets.

Written by the indexing model from the issue text.

Description

We output "tokenamount" divided by 100000000, which makes it seem like there is e.g. only one of them when there are actually 100 million.

I know we have a larger open issue about decimal places and precision for issued assets but at least for reissuance tokens we should just output "satoshi"s everywhere.

Dominant language
C++
Stars
1.2k
Forks
418
Avg merge
1d 12h
Merged PRs (30d)
13

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from ElementsProject/elements

All issues in ElementsProject/elements

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.