Read a satoshi balance from Engine JSON safely
Inspect the response first
# response.json must contain a real response from your installed Engine
jq '{ok, request_id, result}' response.json
The Engine response envelope follows ok, request_id, and result. The nested balance field must be taken from the exact version of the Engine API you run. Do not hardcode result.balance or reinterpret BTC decimals without verifying the schema.
Example once a field is confirmed
# Replace CONFIRMED_FIELD with the field documented for your build
jq -er '.result.CONFIRMED_FIELD | numbers' response.json
Never display BTC KEY in logs or diagnostic output.
