Wait for a deployment to be accepted and its instances to run
flux_wait_for_appPolls the network for up to timeoutSeconds (default 45 to fit hosts with a 60 s tool timeout, max 600). Returns payment confirmations, whether the spec was accepted, and the running instances with URLs. Safe to call repeatedly until done=true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| txid | No | Payment txid from flux_deploy_app, to report confirmations. | |
| previousHash | No | For updates: the hash of the previous spec, so acceptance means a new hash. | |
| timeoutSeconds | No | ||
| fluxIdPrivateKey | No | WIF private key of the Flux ID that owns the app. Use a dedicated key from flux_generate_keys, never a main wallet key. | |
| paymentPrivateKey | No | WIF private key of the Flux address that pays. Fund it with only what you intend to spend. |