Skip to main content
GET
/
connections
TypeScript
const response: Promise<FireblocksResponse<GetConnectionsResponse>> = fireblocks.web3Connections.get(web3ConnectionsApiGetRequest);
CompletableFuture<ApiResponse<GetConnectionsResponse>> response = fireblocks.web3Connections().get(order, filter, sort, pageSize, next, xEndUserWalletId);
response = fireblocks.web3_connections.get(order, filter, sort, page_size, next, x_end_user_wallet_id);
curl --request GET \
--url https://api.fireblocks.io/v1/connections
const options = {method: 'GET'};

fetch('https://api.fireblocks.io/v1/connections', 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/connections",
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/connections"

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/connections")

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
{
  "data": [
    {
      "id": "4e9e7051-f3b2-48e9-8ee6-b12492552657",
      "userId": "<string>",
      "sessionMetadata": {
        "appUrl": "<string>",
        "appName": "<string>",
        "appDescription": "<string>",
        "appIcon": "<string>"
      },
      "vaultAccountId": 1,
      "feeLevel": "MEDIUM",
      "chainIds": [
        "ETH",
        "ETH_TEST",
        "SOL"
      ],
      "connectionType": "WalletConnect",
      "connectionMethod": "API",
      "creationDate": "2023-11-07T05:31:56Z"
    }
  ],
  "paging": {
    "next": "<string>"
  }
}

Headers

X-End-User-Wallet-Id
string<uuid>

Unique ID of the End-User wallet to the API request. Required for end-user wallet operations.

Query Parameters

order
enum<string>
default:ASC

List order; ascending or descending.

Available options:
ASC,
DESC
filter
object

Parsed filter object

sort
enum<string>
default:createdAt

Property to sort Web3 connections by.

Available options:
id,
userId,
vaultAccountId,
createdAt,
feeLevel,
appUrl,
appName
pageSize
number
default:10

Amount of results to return in the next page.

Required range: x <= 50
next
string

Cursor to the next page

Response

data
object[]
required

Array with the requested Web3 connection's data

paging
object