Get vault accounts
deprecated
DEPRECATED - Please use /vault/accounts_paged endpoint instead.
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor, Viewer.
GET
/
vault
/
accounts
Get vault accounts
curl --request GET \
--url https://api.fireblocks.io/v1/vault/accountsimport requests
url = "https://api.fireblocks.io/v1/vault/accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fireblocks.io/v1/vault/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fireblocks.io/v1/vault/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fireblocks.io/v1/vault/accounts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fireblocks.io/v1/vault/accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/vault/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"assets": [
{
"id": "<string>",
"total": "<string>",
"balance": "<string>",
"available": "<string>",
"pending": "<string>",
"frozen": "<string>",
"lockedAmount": "<string>",
"staked": "<string>",
"totalStakedCPU": "<string>",
"totalStakedNetwork": "<string>",
"selfStakedCPU": "<string>",
"selfStakedNetwork": "<string>",
"pendingRefundCPU": "<string>",
"pendingRefundNetwork": "<string>",
"blockHeight": "<string>",
"blockHash": "<string>",
"rewardsInfo": {
"pendingRewards": "<string>"
}
}
],
"hiddenOnUI": true,
"customerRefId": "<string>",
"autoFuel": true,
"tags": [
{
"id": "df4c0987-30da-4976-8dcf-bc2dd41ae331",
"label": "VIP",
"isProtected": false,
"updatedAt": 1717084800000,
"description": "Tag for VIP customers",
"color": "#FF5733",
"type": "WALLET_POOL",
"pendingApprovalRequest": {
"id": "12345"
}
}
]
}
]{
"message": "<string>",
"code": 123
}Was this page helpful?
Previous
Create a new vault accountCreates a new vault account with the requested name.
**Note: ** Vault account names should consist of ASCII characters only.
Learn more about Fireblocks Vault Accounts in the following [guide](https://developers.fireblocks.com/reference/create-vault-account).
Endpoint Permission: Admin, Non-Signing Admin, Signer, Approver, Editor.
Next
⌘I
Get vault accounts
curl --request GET \
--url https://api.fireblocks.io/v1/vault/accountsimport requests
url = "https://api.fireblocks.io/v1/vault/accounts"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.fireblocks.io/v1/vault/accounts', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.fireblocks.io/v1/vault/accounts",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.fireblocks.io/v1/vault/accounts"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.fireblocks.io/v1/vault/accounts")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/vault/accounts")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body[
{
"id": "<string>",
"name": "<string>",
"assets": [
{
"id": "<string>",
"total": "<string>",
"balance": "<string>",
"available": "<string>",
"pending": "<string>",
"frozen": "<string>",
"lockedAmount": "<string>",
"staked": "<string>",
"totalStakedCPU": "<string>",
"totalStakedNetwork": "<string>",
"selfStakedCPU": "<string>",
"selfStakedNetwork": "<string>",
"pendingRefundCPU": "<string>",
"pendingRefundNetwork": "<string>",
"blockHeight": "<string>",
"blockHash": "<string>",
"rewardsInfo": {
"pendingRewards": "<string>"
}
}
],
"hiddenOnUI": true,
"customerRefId": "<string>",
"autoFuel": true,
"tags": [
{
"id": "df4c0987-30da-4976-8dcf-bc2dd41ae331",
"label": "VIP",
"isProtected": false,
"updatedAt": 1717084800000,
"description": "Tag for VIP customers",
"color": "#FF5733",
"type": "WALLET_POOL",
"pendingApprovalRequest": {
"id": "12345"
}
}
]
}
]{
"message": "<string>",
"code": 123
}