ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:34:12 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
   "code":0,
   "data":{
      "items":[
         {
            "id":"FDCBB834941D213ED5B031E4F7451FF30FB73E27413D1D286D5CEE5A27454231", // tx hash
            "type":"OfferCreate",                                                    // tx type
            "gas_limit":0,  
            "gas_used":0,
            "nonce":79581329,                                                        // sequence
            "from":"rh3VLyj1GbQjX7eA15BwUagEhSrPHmLkSR",                             // tx initiated address
            "fee":"0.000012",                                                        // fee
            "date":1626133180,                                                       // date
            "block":64907490,                                                        // block height
            "confirmation":74587,                                                    // number of confirmation
            "status":"completed",                                                    // transaction status
            "metadata":{                                                             // original tx data
               "expiration":null,
               "offerSequence":79581325,
               "takerGets":[
                  {
                     "Key":"value",
                     "Value":"92645.28764344087"
                  },
                  {
                     "Key":"currency",
                     "Value":"CNY"
                  },
                  {
                     "Key":"issuer",
                     "Value":"rJ1adrpGS3xsnQMb9Cw54tWJVFPuSdZHK"
                  }
               ],
               "takerPays":[
                  {
                     "Key":"value",
                     "Value":"23424.733033"
                  },
                  {
                     "Key":"currency",
                     "Value":"XRP"
                  },
                  {
                     "Key":"issuer",
                     "Value":"rrrrrrrrrrrrrrrrrrrrrhoLvTp"
                  }
               ]
            }
         },
         ...
      ],
      "nextkey":"WodWBjd5iBQDpRc"
   },
   "message":"OK"
}

content_copyCOPY

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