Get tenant billing info
Returns the tenant’s blockchain activation limit and current usage. tenant_id is derived from the JWT token context.
GET
/
blockchain_link
/
blockchains
/
billing_info
TypeScript
const response: Promise<FireblocksResponse<GetBillingInfoResponse>> = fireblocks.blockchainLinkBeta.getBlockchainLinkBillingInfo();CompletableFuture<ApiResponse<GetBillingInfoResponse>> response = fireblocks.blockchainLinkBeta().getBlockchainLinkBillingInfo();response = fireblocks.blockchain_link_beta.get_blockchain_link_billing_info();curl --request GET \
--url https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_infoconst options = {method: 'GET'};
fetch('https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_info', 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/blockchain_link/blockchains/billing_info",
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/blockchain_link/blockchains/billing_info"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_info")
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{
"activatedBlockchainsLimit": 10,
"activatedBlockchainsUsed": 3
}{
"message": "<string>",
"code": 123
}Response
OK
Maximum number of activated blockchains allowed for this tenant (0 = not purchased).
Example:
10
Number of blockchains currently in Activating, Activated, or Deactivating state for this tenant. Filter-independent (ignores list filters/pagination).
Example:
3
Was this page helpful?
⌘I
TypeScript
const response: Promise<FireblocksResponse<GetBillingInfoResponse>> = fireblocks.blockchainLinkBeta.getBlockchainLinkBillingInfo();CompletableFuture<ApiResponse<GetBillingInfoResponse>> response = fireblocks.blockchainLinkBeta().getBlockchainLinkBillingInfo();response = fireblocks.blockchain_link_beta.get_blockchain_link_billing_info();curl --request GET \
--url https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_infoconst options = {method: 'GET'};
fetch('https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_info', 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/blockchain_link/blockchains/billing_info",
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/blockchain_link/blockchains/billing_info"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}require 'uri'
require 'net/http'
url = URI("https://api.fireblocks.io/v1/blockchain_link/blockchains/billing_info")
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{
"activatedBlockchainsLimit": 10,
"activatedBlockchainsUsed": 3
}{
"message": "<string>",
"code": 123
}