Command Pattern
Every Fireblocks API operation is available as a command organized under a namespace: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:
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:--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:Exit Codes
Error Format
Errors are written as JSON to stderr:request_id and retry_after are included only when applicable.