Create new deposit addresses in a batch call

POST {{baseUrl}}/v3/offchain/account/address/batch

2 credits per API call, 1 credit for every address created and 5 credits for each address registered for scanning every day. If address is FLOW or FUSD, additional 3000 credits are consumed for each address - see Flow address generation.


Create new deposit addressess for the account. This method associates public blockchain's ledger address with the account on Tatum's private ledger.
It is possible to generate multiple blockchain addresses for the same ledger account. By this, it is possible to aggregate various blockchain transactions from different addresses into the same account. Depending on the currency of an account, this method will either generate a public address for Bitcoin, Bitcoin Cash, Litecoin or Ethereum, DestinationTag in case of XRP or message in case of XLM. More information about supported blockchains and address types can be found
here.
Addresses are generated in the natural order of the Extended public key provided in the account. Derivation index is the representation of that order - starts from 0 and ends at 231. When a new address is generated, the last not used index is used to generate an address. It is possible to skip some of the addresses to the different index, which means all the skipped addresses will no longer be used.

Request Body

{"addresses"=>[{"accountId"=>"5e6be8e9e6aa436299950c41", "derivationKey"=>2138859921}, {"accountId"=>"5e6be8e9e6aa436299950c41", "derivationKey"=>837732164}]}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring

RESPONSES

status: OK

[{"address":"7c21ed165e294db78b95f0f181086d6f","currency":"BTC","derivationKey":1059011718,"xpub":"xpub6FB4LJzdKNkkpsjggFAGS2p34G48pqjtmSktmK2Ke3k1LKqm9ULsg8bGfDakYUrdhe2EHw5uGKX9DrMbrgYnVfDwrksT4ZVQ3vmgEruo3Ka","destinationTag":5,"memo":"5","message":"5"},{"address":"7c21ed165e294db78b95f0f181086d6f","currency":"BTC","derivationKey":1123480370,"xpub":"xpub6FB4LJzdKNkkpsjggFAGS2p34G48pqjtmSktmK2Ke3k1LKqm9ULsg8bGfDakYUrdhe2EHw5uGKX9DrMbrgYnVfDwrksT4ZVQ3vmgEruo3Ka","destinationTag":5,"memo":"5","message":"5"}]