ViaWallet Developer Documentation

PHOTO EMBED

Sun Jul 09 2023 17:35:31 GMT+0000 (Coordinated Universal Time)

Saved by @thyrus #json

{
   "code":0,
   "data":{
      "items":[
         {
            "tx_id":"8d2777cba68acc09a202f2744e659bfe39ee3aa833fcc82a51d69c60a43fd779", // tx hash
            "id":"156052817747316740",                                                  // operation id
            "from":"GBCKGV4GHTDVPOEZZJ3UEOEGNQSZ3GMFI4DBJ64LMRSJF5XL7WPCVCB7",          // operation initiator
            "to":"",                                                                    // target address
            "type":"manage_buy_offer",                                                  // operation type, same as the type returned by node
            "date":1626083438,                                                          // data
            "height":36333878,                                                          // height
            "value":"13.1764723",                                                       // amount
            "price":"8136.6965013",                                                     // price
            "price_r":{                                                                 // prove info
               "n":1691903987,                                                          // 
               "d":207935                                                               // 
            },
            "buying":{                                                                  // info of purchased asset
               "asset_type":"native"                                                    // asset type
            },
            "selling":{                                                                 // info of sold asset
               "asset_type":"credit_alphanum12",                                        // asset type
               "asset_code":"PEPPA",                                                    // asset ticker
               "asset_issuer":"GDTMNIOBAGPT7FTVE5KWM7EJU3MXU6ILIJRVWOU4XQNSAXGBHVTYO3V3"// asset creator
            },
            "meta_data":0                                                               // operation metadata
         },
         {
            "tx_id":"8bbec38366ec1e112e592b4dc9022f3e0fd0d00b0bf548c2fcccf9afc15d7b62",
            "id":"156052817746944002",
            "from":"GD4VJBZAGKM652X2JKJEYF4BX64HDQXVJSHMZV5R6QLMWVRSSLK3IQ3L",
            "to":"",
            "type":"manage_buy_offer",
            "create_time":1626083438,
            "height":36333878,
            "amount":"0.0000000",
            "price":"0.0001000",
            "price_r":{
               "n":1,
               "d":10000
            },
            "buying":{
               "asset_type":"native"
            },
            "selling":{
               "asset_type":"credit_alphanum4",
               "asset_code":"FLEX",
               "asset_issuer":"GAJPEST5EQ73Z3LNXFC4TU5T5PZ6YCOJUPGPALWPMOP6L57YGZWITKJD"
            },
            "meta_data":700460943
         },
      ],
      "nextkey":"3GYp7numkLnSupJcK"
   },
   "message":"OK"
}
content_copyCOPY

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