/transactions
The response of the /api/v3/transactions method contains the
address_book hashmap.The key is the address in raw form, and the value is the user-friendly form of that address in clear accordance with the address reform.
The address_book hashmap contains all addresses that are contained in the transactions array (in the
source, destination, and any other fields).Please use this for displaying addresses in the UI of your services - for example, in the wallet transaction history or on the account or transaction page in explorer.
address_to_display_in_ui = response.address_book[raw_address]/wallet
If you need to determine how to display one specific address, use the /api/v3/wallet method.
If
"status" is "uninit" or "wallet_type" starts with "wallet" then use non-bounceable form, in all other cases, use bounceable form.Testnet
Testnet v3 API returns addresses with testnet flag.
Summary
We've done it all for you, just use
address_book.