Skip to content

Raw transaction odd behaviour for POS reward #192

@iamisti

Description

@iamisti

something is odd in the explorer

https://explorer.myce.world/address/MShXyVpY3GwcVgKsjdsnLHiQeHvBgDWHJG

I have recent transaction: 55d9e6fe95b29de26b2e77b00da0448436c630e9a3e413a891e387a73118228f (https://explorer.myce.world/tx/55d9e6fe95b29de26b2e77b00da0448436c630e9a3e413a891e387a73118228f)
On the wallet page it says I've got 20 coins with that transaction, but when I use the explorer api:

it says I've got 16885... lol
https://explorer.myce.world/api/getrawtransaction?txid=55d9e6fe95b29de26b2e77b00da0448436c630e9a3e413a891e387a73118228f&decrypt=1

so how that 20 is calculated?

If the amount is calculated differently then in my opinion ot should be somehow reflected in the response. Otherwise it will be impossible to know what is going on.

i want to use the api to fetch all transfers with the amount that the wallet received for each tansactions. How can i achieve that? With this inconsistency im not sure how a simple thing like this could be possible to do.

thanks for the anwers in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions