Logo
Fireblocks API Documentation

Create a new Web3 connection.

POST {{baseUrl}}/connections/wc

Initiate a new Web3 connection.

  • Note: After this succeeds, make a request to PUT /v1/connections/wc/{id} (below) to approve or reject the new Web3 connection.

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 
Idempotency-Key
string A unique identifier for the request. If the request is sent multiple times with the same idempotency key, the server will return the same response as the first request. The idempotency key is valid for 24 hours.
Content-Type
string
Accept
string




RESPONSES

status Created

{ "id": "<string>", "sessionMetadata": { "appUrl": "<string>", "appName": "<string>", "appDescription": "<string>", "appIcon": "<string>" } }



Curl
curl -X POST 'https://api.fireblocks.io/v1/connections/wc' -H 'Idempotency-Key: <string>' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"vaultAccountId":"\u003cnumber\u003e","feeLevel":"MEDIUM","uri":"\u003cstring\u003e","chainIds":["\u003cstring\u003e","\u003cstring\u003e"]}'

ENDPOINTS