Skip to main content

Command Pattern

Every Fireblocks API operation is available as a command organized under a namespace:
Namespaces correspond to Fireblocks API resource groups (e.g. vaults, transactions, assets, staking). Examples:

Discover Commands

Full Command Index

List Actions in a Namespace

Show All Flags for a Command

Preview a Request

Use --dry-run on any command to see the exact request that would be sent — without executing it:
Output:

Flags

Path Parameters

OpenAPI path parameters (e.g. {vaultAccountId}) become required flags with kebab-case names:

Query Parameters

Query parameters become optional flags with the same kebab-case conversion:

Request Body

Write operations (POST/PUT/PATCH/DELETE) accept a JSON request body via --data:

Global Flags

These flags are available on every command:

Write Operations

POST, PUT, PATCH, and DELETE commands prompt for confirmation before executing:
Skip the prompt for scripting and automation — either pass --no-confirm or pipe stdin from a non-TTY source:

Idempotency Keys

Endpoints that support idempotency accept --idempotency-key. Use this for safe retries on write operations to guarantee at-most-once execution:

Output

  • stdout — JSON response data only
  • stderr — warnings, beta notices, errors, and debug logs

Debug Logging

Pass --debug to log request and response details to stderr:

Beta Commands

Some commands are marked as beta. They print a warning to stderr before executing:
This is informational — the command still runs and produces output on stdout.

Exit Codes

Error Format

Errors are written as JSON to stderr:
request_id and retry_after are included only when applicable.

Examples

Shell Autocomplete

The CLI supports tab completion for Bash and Zsh. Run the autocomplete command for your shell and follow the printed setup instructions: