By the end of this guide, you will have: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.
- Created and approved an API user
- Initialized the Fireblocks SDK
- Created a vault account
- Sent your first transaction
How API Authentication Works
Fireblocks uses asymmetric cryptography to secure API communication. Here’s what that means for you:| Component | Location | Purpose |
|---|---|---|
| API secret key (private key) | Your environment only | Signs every API request to prove it came from you |
| Public key | Fireblocks | Verifies that requests were signed by your secret key |
Step 1: Generate a CSR file
Every API request to Fireblocks must be cryptographically signed using your API secret key (also called a private key). This signature proves the request originated from your authorized system. In this step, you’ll generate:- A secret key that stays in your environment and signs requests
- A CSR file containing the corresponding public key, which you’ll upload to Fireblocks
- (Windows users) Install Win32OpenSSL using the default settings.
- (Windows users) Open OpenSSL Command Prompt.
- In your CLI, run:
- fireblocks_secret.key - your RSA 4096 private key (API secret)
- fireblocks.csr - the CSR you will upload when creating the API key
- Store the secret key file securely.
Step 2: Create an API key
If you’re using a Sandbox environment, you can skip this step. Sandboxes come with an API user already created and access to the Communal Test Co-signer.
- In the Fireblocks Console, go to Developer Center > API Users.
- Select Add API user.
- Name the API user, select the appropriate workspace role for it (e.g., Signer if you want it to sign transactions), and upload the CSR file you created in Step 1.
- Select Add user.
Step 3: Initialize SDK
Choose and Set Up Your SDK
Fireblocks provides official SDKs for multiple languages: Install the appropriate SDK for your environment:Initialize the SDK Client
After installing the SDK, initialize the client with:- Your API Key (obtained from the Fireblocks Console after creating the API user)
- Your API secret key (the
fireblocks_secret.keyfile generated in Step 1)
<YOUR_API_KEY> with your API Key from the Fireblocks Console.
Step 4: Create a Vault Account
A Vault Account is where your assets are securely stored. You can use the SDK to create one:Get Test Funds
If you’re using a Sandbox, your account should come pre-funded. If you need additional funds, see Receiving funds into your Fireblocks account for more information.Step 5: Create a Transaction
Now that your vault has funds, you can create your first transaction:Step 6: Verify Transactions
To verify your transaction statuses, use the following endpoints. For Fireblocks transactions, use the following:Next Steps
- Automate transaction signings using API co-signers
- Get real-time transaction updates via webhooks