ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:05:11 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
    "code":0,
    "message":"OK",
    "data": [
        {
            "id": "fce47bbec9029369b511a1474f92c22f3c1687e8df763f1798ab9fdcf519b278",         // tx has
            "fee": "2270",                                                                    // fee
            "date": 1616479878,                                                               // date
            "block": 0,                                                                     
            "confirmation": 0,
            "status": "pending",                                                              // transaction status
            "inputs": [                                                                       // transaction inputs
                {
                    "addresses": [                                  
                        "1DTt8RuAbebwuSTpYPAwixShvT6oeck7We"
                    ],
                    "tx": "06208f276801896b42acb1567de9466ebc1ed33650120870d0b04462029d1197", // inputted tx hash
                    "script_sig": "483045022100b08f642ad75694212911503e51ae95b0e912e4cbb0f5d59ea6bcaecb0b425f520220139bdd50a9f4343faf96b84658a86c32958ab8414ef76ae70a0d38159dbe27a0012103e73051c6b5293f220d033758adfa238d3328e67b79ca5c382060471d8d3b7043",                                                     // signature
                    "type": "pubkeyhash",
                    "value": 983021,                                                          // value
                    "vfp": 74,
                    "sequence": 4294967295
                }
            ],
            "outputs": [                                                                      // transaction outputs
                {
                    "addresses": [
                        "3DNtQzBExZgvo4w2iVuZNPsoQ5PXi4dfuy"
                    ],
                    "script": "a9148033c0de297577714c4883ba6f556ffe8b87c43d87",
                    "type": "scripthash",
                    "value": 14984,
                    "n": 0,
                    "next_position": 0,
                },
                {
                    "addresses": [
                        "1NQz4aMBujoua7t7yDcfcWXHFKNBxesxks"
                    ],
                    "script": "76a914eae3d75b47e6d1043daebe2d3b04bddb67fcb68f88ac",
                    "type": "pubkeyhash",
                    "value": 965767,
                    "n": 1,
                    "next_position": 0,
                }
            ],
            "memo": "",
            "metadata": null
        }
    ]
}
content_copyCOPY

https://developers.viawallet.com/docs/en/