Skip to main content
POST
/
connections
/
wc
TypeScript
const response: Promise<FireblocksResponse<CreateConnectionResponse>> = fireblocks.web3Connections.create(web3ConnectionsApiCreateRequest);
{
  "id": "4e9e7051-f3b2-48e9-8ee6-b12492552657",
  "sessionMetadata": {
    "appUrl": "<string>",
    "appName": "<string>",
    "appDescription": "<string>",
    "appIcon": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://fireblocks-43c4b3ee-chore-add-cli.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Headers

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.

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

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

Body

application/json
vaultAccountId
number
required

The ID of the vault to connect to the dApp.

Example:

1

feeLevel
enum<string>
required

The default fee level. Valid values are MEDIUM and HIGH.

Available options:
MEDIUM,
HIGH
Example:

"MEDIUM"

uri
string
required

The WalletConnect uri provided by the dapp.

Example:

"wc:77752975-906f-48f5-b59f-047826ee947e@1?bridge=https%3A%2F%2F0.bridge.walletconnect.org&key=64be99adc6086b7a729b0ec8c7e1f174927ab92e84f5c6f9527050225344a637"

chainIds
string[]

The IDs of the blockchain networks used in the Web3 connection (Currently required in V1 connections only).

Example:
["ETH"]

Response

Web3 connection initiated successfully

id
string
required

The ID of the Web3 connection initiated.

Example:

"4e9e7051-f3b2-48e9-8ee6-b12492552657"

sessionMetadata
object
required

Metadata of the Web3 connection (provided by the DApp).