getDepositAddress
Get an address on the specified network for users to make deposits into.
Given a network and a user-identifier, this function will create a wallet on the specified network via AkashicChain for the user to deposit into. To read more about the purpose of the identifier, see the next page.
Note: Deposit addresses are permanently assigned on AkashicPay. That means, any subsequent call to getDepositAddress
with the same parameters (Network and identifier) will return the same address. This means it is easy to keep track of the 1-to-1 mapping between identifier and address, and - if the identifier represent a user - impossible for the user to become confused about where to deposit into.
Example
Creates a Tron-wallet for user123
Return Example
Errors
Error | Explanation |
---|---|
| AkashicChain had an issue and could not generate the requested wallet. Normally should resolve shortly |
| Wallet was created but it was not verified to be 100% healthy. E.g. one of the nodes may not have been able to write its part of the data correctly. Try again right away |
Last updated