fireblocks-sdk-js icon indicating copy to clipboard operation
fireblocks-sdk-js copied to clipboard

Creates a new ETH deposit address for an asset of a vault account not generated

Open indersein-agilsoft opened this issue 2 years ago • 1 comments

const randomNumber = '65465464'

const vaultAccountId = '0'; const assetId = 'ETH'; const description = 'New Ethereum Address'; const customerRefId = randomNumber;

// Optional: Define additional request options const requestOptions = { // You can specify additional request options here, such as a time window for the request, etc. };

const generateAddress = await fireblocks.generateNewAddress( vaultAccountId, assetId, description, customerRefId, requestOptions );

image

response from fireblocks => Request failed with status code 400

indersein-agilsoft avatar Jun 06 '23 05:06 indersein-agilsoft

Hey @indersein-agilsoft, you cannot create additional deposit addresses for account based assets as these can have only 1 address per wallet per vault account.

SlavaSereb avatar Sep 19 '23 07:09 SlavaSereb