Closed prodevcn closed 3 years ago
First of all in XRPL the block is called a "ledger". You can retrieve all the information on the ledger in different ways, but it depends on what you are interested in. About the listening transactions of a user you can do in multiple ways:
get block form ledger
I am working on ripple-lib to create small exchange platform. For this, I assigned an address to an user and developed depositor daemon. This daemon will work like follows.
In case of other cryptocurrencies, core API supports getblock, gettransactionfromblock, etc. But, I can't find them in XRP guide - https://xrpl.org/ How can I do this ?
Destination Tag
I am going to assign same address and other destination tag to every user. For this, I need to add destination tag to XRP account. I used generateAddress() ripple-lib api. Response result like follow :
How can I do this ?