Hi there,
I would like retrieve the recipient address (or decode) in transactions history.
My code:
let historyPage = await this.server.transactions()
.forAccount(this.account.accountId())
.call()
...
let txDetails = StellarSDK.xdr.TransactionEnvelope.fromXDR(record.envelope_xdr, 'base64')
txDetails.attributes.tx.attributes.operations.map(operation => {
if (operation.attributes.body.value._attributes.destination !== undefined) {
let value = operation.attributes.body.value.attributes.destination.value
// How decode this address ?
}
Thks