ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:19:59 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
    "code": 0,
    "data": {
        "items": [
            {
                "id": "0x3a5c680b49451775b67ad9b4846e553c5bd12fbd9e0d77dafd184b3a023e2b1b", 
                "type": "token_transfer",                                          
                "gas_limit": 139979,                                              
                "gas_price": "1000000000",                                        
                "gas_used": 102040,                                                
                "nonce": 31,                                                      
                "from": "0x3c98189b52fb2e1da681026d4f965ea4f2b7b13c",              
                "to": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",               
                "fee": "102040000000000",                                          
                "date": 1620730114,                                               
                "block": 10213589,                                                
                "confirmation": 2427,                                             
                "status": "completed",                                            
                "token_transfers": [                                              
                    {
                        "index": 1,         
                        "token_id": "0xc778417e063141139fce010982780140aa0cd5ab",  
                        "type": "",
                        "value": "100000000000000000",                              
                        "from": "0x7a250d5630b4cf539739df2c5dacb4c659f2488d",
                        "to": "0xd695dc9f79cf0b0f8c23e7f01aec354403747a3f"
                    },
                    {
                        "index": 2,
                        "token_id": "0x902b2a515c43256158fde75f7de6f155e4a45c14",
                        "type": "",
                        "value": "344876432180959503648615581383",
                        "from": "0xd695dc9f79cf0b0f8c23e7f01aec354403747a3f",
                        "to": "0x3c98189b52fb2e1da681026d4f965ea4f2b7b13c"
                    }
                ],
                "metadata": []
            }
           {
                "id": "0x553d77deaddcdc5e5f69867ad60fba9f63d874f3d15f0cafdfc6098b87550928",
                "type": "transfer",
                "gas_limit": 400000,
                "gas_price": "2000000000",
                "gas_used": 273385,
                "nonce": 2,
                "from": "0x15b31e86cd118040db66fb8b14d5be658a9b71a7",
                "to": "0xa10d0c6e04845a5e998d1936249a30563c553417",
                "fee": "546770000000000",
                "date": 1616569886,
                "value": "0",
                "block": 9900000,
                "confirmation": 509675,
                "status": "completed",
                "contract_call": [                                                 
                    {
                        "contract": "0x5ea9ea8e80230e514b5e023e8d956550a22d02c6",   
                        "input":        "0xd98380ea00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100cd54fa0c503bcd81e680e9f910531ee4dafbe0602ed0c9ae193af44213be0f16000000000000000000000000000000000000000000000000000000000000001c185f5e43b4bc10fa7a9db2f5e25bf1a966dba79148b120ef78d3828b32692d174bda81b9a01561505f612ef43245a336c2d88824aff6f66ac2d14917137d68d1000000000000000000000000000000000000000000000000000000000000000100100000000000000000000000000000ecdf4636493d43529141b53274a69803000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000003635c9adc5dea00000"
                    }                                                            
                ],
                "metadata": []
            },
        ],
        "nextkey": "",
    },
    "message": "OK"
}

content_copyCOPY

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