Jump to content
rippleHero

How do paths work?/How are paths represented on Bithomp/Ripple API?

Recommended Posts

Posted (edited)

So I have read about paths and understand what they mean. But, I am trying to understand if you can see the movement through the paths in the actual transaction. It seems like you cannot. For example, in the following transaction:

https://bithomp.com/explorer/93B95DC9886B49B0EAD45F4A84F5DE9942CD1265699F1034405AB0097F4C3C7A

The following addresses appear in the path section, but not in the orderbook changes section or outcome section. 

rhKJE9kFPz6DuK4KyL2o8NkCCNPKnSQGRL

rfYv1TXnwgDDK4WQNbFALykYuEBnrR4pDX

rGEDQD48uACC2JFHykNLDPj1LPuU3QsqpV

rGUrehcNthxydn9RXg7NAFBAiCzr2gQKYQ

But they have type\":48 which implies an orderbook. How do we know what is being exchanged in the paths section if the data does not appear in the transaction?

Thanks

Edited by rippleHero

Share this post


Link to post
Share on other sites

As you can see `paths` is a plural word....the transaction proposes to use many different paths, but only the best paths combination is actually used...in this case it was enough to use just one path by partially filling one book offer.

Share this post


Link to post
Share on other sites

You can check the METADATA JSON. You can do it on bithomp (but it's "manipulated" with RippleAPI), you can do it on ripple chart (https://xrpcharts.ripple.com/#/transactions/93B95DC9886B49B0EAD45F4A84F5DE9942CD1265699F1034405AB0097F4C3C7A) but again it's "manipulated" to show it in a human readable way, or you can check the pure metadata from a rippled.

You can see that rp6yPpi3A2X9C3uquM6UXw9CmJ9CV7wFQq sent a payment of 1 BTC to Bitstamp using 92,555 XRP.

Share this post


Link to post
Share on other sites
28 minutes ago, tulo said:

sent a payment of 1 BTC to Bitstamp using 92,555 XRP.

so they used the xrp as the bridge to send btc from A > B?

Share this post


Link to post
Share on other sites
2 hours ago, fiik said:

so they used the xrp as the bridge to send btc from A > B?

Not really as bridge.

The payment was: XRP-->BTC.

He basically sold XRP to rNkNYZ7oJUGecsgY9gtHJvTWJGtfFhePkR for BTC, then the BTC was sent to Bitstamp.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...