Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
indersein-agilsoft opened this issue Jun 6, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@indersein-agilsoft
Copy link

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 indersein-agilsoft added the bug Something isn't working label Jun 6, 2023
@indersein-agilsoft indersein-agilsoft changed the title ETH Address Not generated Creates a new ETH deposit address for an asset of a vault account not generated Jun 6, 2023
@SlavaSereb
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants