ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:15:26 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
    "code": 0,
    "data": {
        "address": "0x2f2f15b7f8be36f1dc812d333ed5f6acf19b535b",   // address
        "balance": 0,                                              // address balance
        "total_txs": 6,                                            // total transaction count
        "total_tx_in": "5",                                        // received amount
        "total_tx_out": "4.999979",                                // transferred amount
        "latest_tx": {                                             // last transaction
            "id": "0x769641a0893bf49e1cf8609592971b45e189dac5808d815d2dbed119f9f121ed",
            "type": "transfer",
            "gas_limit": 21000,
            "gas_price": "1000000000",
            "gas_used": 21000,
            "from": "0x2f2f15b7f8be36f1dc812d333ed5f6acf19b535b",
            "to": "0x9402d510491f5dfde5e0b338831c80727c96222f",
            "fee": "21000000000000",
            "date": 1620721687,
            "block": 10212967,
            "confirmation": 0,
            "status": "completed",
            "metadata": []
        } // 最近一笔交易,字段详细解释见 《单笔交易的交易详情》
    },
    "message": "OK"
}
content_copyCOPY

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