Listing Vaults and Wallets
List Vault Accounts in Fireblocks vs. List Wallets in Krayon
Fireblocks: Listing Vault Accounts (Paged)
Key Features:
- API Endpoint:
https://api.fireblocks.io/v1/vault/accounts_paged
- Purpose: Get all vault accounts in your workspace in a paged manner.
Krayon: Listing Wallets (Paged)
Key Features:
- API Endpoint:
https://api.aqua.test.krayondigital.com/main/api/v1/organization/pk/wallets
- Purpose: Retrieve all details for all wallets under an organization.
- This API endpoint will be changed in the future and will be removed from the
organization
endpoint and moved to thewallet
endpoint.
List wallets example:
import axios from 'axios';
const options = {
method: 'GET',
url: 'https://api.aqua.test.krayondigital.com/main/api/v1/organizations/id/wallets',
headers: {accept: 'application/json'}
};
axios
.request(options)
.then(function (response) {
console.log(response.data);
})
.catch(function (error) {
console.error(error);
});
import requests
url = "https://api.aqua.test.krayondigital.com/main/api/v1/organizations/id/wallets"
headers = {"accept": "application/json"}
response = requests.get(url, headers=headers)
print(response.text)
Steps to Migrate from Fireblocks to Krayon
-
List Vaults in Fireblocks: Use the Fireblocks API to list all your vault accounts. This will give you a list of vaults, making it easier to manage large numbers of vaults.
-
Retrieve Wallets in Krayon: Use the Krayon API to retrieve details for each wallet you've created. This will give you a comprehensive view of each wallet's details.
-
Map Vaults to Wallets: Create a mapping between your Fireblocks vaults and your Krayon wallets. This will help you understand which vault corresponds to which wallet in the new system.
-
Test: Perform some test operations to ensure that the list of Krayon wallets accurately reflects your Fireblocks vaults.
-
Finalize: Once you're satisfied with the testing, you can proceed to use the new Krayon wallets for your operations.
Updated 8 months ago