SiaFoundation / walletd

A new Sia wallet
https://sia.tech/software/walletd
MIT License
15 stars 6 forks source link

Include amount in unconfirmed transactions #123

Closed n8maninger closed 1 month ago

n8maninger commented 1 month ago

Screenshot 2024-05-17 at 2 20 44 PM

Unconfirmed transactions should show the amount on the event list

{
        "id": "txid:cc5e1bdbb1f63f3bd49cf58cb546f3016dbedb54fa30660061bf22afddcdb476",
        "raw": {
            "siacoinInputs": [
                {
                    "parentID": "scoid:c6879206bc706d74a7cba8dc6e9107a52f466004ebc752cde0f263bf3b0a8260",
                    "unlockConditions": {
                        "timelock": 0,
                        "publicKeys": [
                            "ed25519:afe8e21257d6e2eb2ee72acb0b3e092e68c47a7ecacd8059f832462e45fe4b48"
                        ],
                        "signaturesRequired": 1
                    }
                }
            ],
            "siacoinOutputs": [
                {
                    "value": "15000000000000000000000000000",
                    "address": "addr:1ea2fe761cd345c4b109b4175bd07b204f235c8d1264fde2bab8435143d9d76345f2977ce2f0"
                },
                {
                    "value": "5000000000000000000000000000",
                    "address": "addr:1ea2fe761cd345c4b109b4175bd07b204f235c8d1264fde2bab8435143d9d76345f2977ce2f0"
                },
                {
                    "value": "999918962000000000000000000000000",
                    "address": "addr:241352c83da002e61f57e96b14f3a5f8b5de22156ce83b753ea495e64f1affebae88736b2347"
                }
            ],
            "minerFees": [
                "1000000000000000000000000"
            ],
            "signatures": [
                {
                    "parentID": "h:c6879206bc706d74a7cba8dc6e9107a52f466004ebc752cde0f263bf3b0a8260",
                    "publicKeyIndex": 0,
                    "coveredFields": {
                        "wholeTransaction": true
                    },
                    "signature": "2r6dsEmIQmeEuVP73wCFrHW5R5QTsXM2SqExMKCtkD8Ax13CblWoMmmZHUvBVs83XZ1hMnvpAin0VpBL/M5PCg=="
                }
            ]
        },
        "type": "receive",
        "sent": "0",
        "received": "20000000000000000000000000000",
        "locked": "0"
    }