I want to acquire asset name, quantity and destination address with API from counterparty-lib(counterparty-server) by txid.
Is there such an API method? There is no method to see the document.
For example, xchain.io and so on will return the address etc after entering the txid, are they implementing them independently?
Do I have to implement my own implementation?
Please tell me. Thank you.
You should be able to accomplish this for
sends with 3 CP API calls:
getrawtransaction API call and specify the txid
get_tx_info API call using the result from the previous
getrawtransaction API call
unpack API call using the raw CP data encoded in the transaction
This should give you the information you desire.
It is likely to get the data I want.
I appreciate you.