Install the Fireblocks Documentation MCP first. Whether you’re using an AI assistant or not, this makes it easy to search, reference, and keep your Fireblocks work grounded in the official docs. The setup steps are in Getting Started.
Overview
Java developers can use the official Fireblocks Java SDK to interact with the Fireblocks API. Instructions for setup and usage can be found in the repo’s README.md file.Using the Fireblocks Java SDK
Building the API client library requires:- Java 11+
- Maven/Gradle
Installation
To install the API client library to your local Maven repository, execute:Maven users
Add this dependency to your project’s POM:Gradle users
Add this dependency to your project’s build file:Others
At first, generate the JAR by executing:target/fireblocks-sdk-0.0.0.jartarget/lib/*.jar
Getting Started
Initiate Fireblocks Client
You can initialize the Fireblocks SDK in two ways: either by setting environment variables or by providing the parameters directly: Using Environment Variables You can initialize the SDK using environment variables from your .env file or by setting them programmatically.Use the correct API Base URLIn the following script, make sure you’re using the correct value for
FIREBLOCKS_BASE_PATH for your environment:- For Sandbox workspaces:
https://sandbox-api.fireblocks.io - For US Mainnet or Testnet workspaces:
https://api.fireblocks.io - For EU Mainnet or Testnet workspaces:
https://eu-api.fireblocks.io - For EU2 Mainnet or Testnet workspaces:
https://eu2-api.fireblocks.io