2

how could I inspect the transactions in the blockchain, like other cryptos having blockchain inspectors even online. I can get the ledger .xdrs but I can't open them I'm only seeing binary, but I'm sure there is a way to convert to see the actual transactions. It would be interesting to see x sent y amount to z in this blockchain etc. I'm lacking the technical skills but I'm so curious, I read the documentation but not helped me out. Anyone here with the enough patience to help?

2

All the transactions are encoded into XDR format (External Data Representation). Horizon decodes it and displays all the transactions in a readable format (JSON). In order to inspect the Stellar blockchain in a better visual experience, you must interact with Horizon, or use any Stellar block explorer that interacts with a Horizon server on the public Stellar Network.

There's a great tool created by the SDF called the Stellar Laboratory. It has an endpoint explorer which is technically the 'block inspector' you are speaking about. You can also make operations on an account or send transactions to other accounts. It's an amazing tool to use and understand the Stellar Network better.

From the official documentation:

Horizon is an API server for the Stellar ecosystem. It acts as the interface between stellar-core and applications that want to access the Stellar network. Horizon provides a RESTful API to allow client applications to interact with the Stellar network. You can communicate with Horizon using cURL or just your web browser.

https://horizon.stellar.org/

https://www.stellar.org/developers/horizon/reference/

You can interact with Horizon using your own browser or JavaScript, Go, Java, Python, C# .NET Core 2.x ,Ruby, iOS and macOS, Scala SDK, and C++ SDK.

I would try from your browser though to see how fast it is. If you go onto https://horizon.stellar.org/ it will show you all the options you can choose from:

Horizon.stellar.org

Some options for example:

https://horizon.stellar.org/accounts/ [put a public key / account id here]

https://horizon.stellar.org/operations/ [put the operation id here]

Try these 4 from your browser and see the results:

  1. https://horizon.stellar.org/accounts/GALAXYVOIDAOPZTDLHILAJQKCVVFMD4IKLXLSZV5YHO7VY74IWZILUTO

  2. https://horizon.stellar.org/operations/123578557137895425

  3. https://horizon.stellar.org/transactions/3414ef59a3706bff033d8ecdbdc561e60132a64273996eac7b9c4520e0f642f3

  4. https://horizon.stellar.org/transactions/3414ef59a3706bff033d8ecdbdc561e60132a64273996eac7b9c4520e0f642f3/operations

The options are displayed better in the Laboratory:

Stellar Laboratory

Stellar Laboratory2

or if you'd like to use a Stellar block explorer online that may display the JSON in a better format, you can Google search "Stellar block explorer" and use any of the top 5 results.

| improve this answer | |
  • 1
    Thank you I did my own research and found some websites and ducumentation parts what helped me some but never seen such a good collected, well written asnwer as yours now I understand a lot more than yesterday :) – Arpad Palinkas Aug 4 at 0:00
  • Glad to help :) – pantheon52 Aug 4 at 8:05

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.