I am looking for a Stellar Blockexplorer API which lets me look up (given an address and transaction hash) the exact amount in Lumen that was transferred in a transaction as a single string. Example with bitcoin:
Given a transaction Hash I need to look up 3 things things
- The name/code of the token
- The amount transferred
- The address the transaction was sent to.
An API call like this: lets me look up these 3 things but unfortunately, I have to parse the JSON data. Now to give you background on why I cannot do this: I am developing a smart contract on Ethereum that lets users swap Ether for other currencies. I am using Oraclize: to make an external API call that verifies whether a transaction occurred. Now the very problem is that I cannot parse the JSON input in my contract. Any string operation is extremely expensive and would defy the purpose.
Any hint is appreciated thank you!
Edit [28.01.19] I found the solution. The json must be parsed before I make the query using oracalizes services like such: