ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:07:00 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
    "code": 0,
    "data": {
        "id": "c7841cb796c64027391038673de23d2b242fd2108c1e7092b9207cf6ef46ecb8",  // tx hash
        "fee": "-313828",                                                          // fee
        "date": 1617109308,                                                        // date 
        "block": 676997,                                                           // block height
        "confirmation": 966,                                                       // confirmations
        "status": "completed",                                                     // transaction status
        "inputs": [                                                                // transaction inputs
            {
                 "addresses": [                                                     // address list
                    "13vDqiRpJ7h9oSri85e6wonvgtKYbVXiHp"
                ],
                "tx": "5d3c394304a52aeb7f0a055e3cbabce6462962db3009f2ca84da5247bc4bf710", // inputted tx hash
                "script_sig": "483045022100ae07c018a81ce86cd0324ff13cd5bbee4064180b818ec491d9aa6c63ccc84ae702202bb4040c6c94d6509a0cd56fe3625968dccbd3308d1cd2d0376f9f145f3f033b01210360c5c6cd2c7f93b68c834ca38ba27f9a2f6f4d74153bf0bc007cd17c8bda1cbf",                                                       // signature
                "type": "pubkeyhash",
                "value": 347238,                                                    // value
                "vfp": 1,
                "sequence": 4294967295
            },
            {
                "tx": "83e6deea63ea60d2265a0fc3b1e41fa2b5d78e16543c6efb19694721786c01e8",
                 "script_sig": "473044022078b9464543b0e028e897aab1212cf8c9fe3b1fdbef7d603d7511e97a4f4c05820220224035cbadbd31b565b61985c50e25fd3eff678fdc0b147155f2d07de6b5e8cc012102c625fbd4a74117a739ee5489ccd98e3e824f8406adaec3274bed4699cf53f675",
                "value": 0,
                "vfp": 0,
                "sequence": 4294967295
            }
        ],
        "outputs": [                                                                // transaction outputs
            {
                "addresses": [
                    "1AYnQmwWYuomJaJGNkUKkaGdi9Hdfjtkct"
                ],
                "script": "76a91468bbeee32eab032e8865d2ec07ff479a7ad8304288ac",
                "type": "pubkeyhash",
                "next_tx_id": "8f4d66d927b55cc90c6a7641bc85bf80aed3bd694b6f1b04ac09671cd0389dda",
                "value": 307895,
                "n": 0,
                "next_position": 0
            },
            {
                "addresses": [
                    "12JaDBoKxyz5UkzLj4hJqFkqJczY1FjZqs"
                ],
                "script": "76a9140e4aeb66a77a89e013d63e852232998031c8910e88ac",
                "type": "pubkeyhash",
                "next_tx_id": "9e7cff97dfdeb08c158bf8e7fb22288562bf21bec6e61f20fa035893f4b2fb10",
                "value": 353171,
                "n": 1,
                "next_position": 3
            }
        ],
        "memo": "",
        "metadata": null
    },
    "message": "OK"
}
content_copyCOPY

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