prepareFlowSigning
Locks in the quote and transitions the flow to thesigning state. Returns the flow with quote.signingPayload containing the data to sign.
Most integrations should use
submitFlowTransaction instead, which calls prepareFlowSigning automatically. Use this function directly only when you need to handle signing and broadcasting yourself (e.g., server-side signing with a custody wallet).When to call
CallprepareFlowSigning only when executionState is quoted.
Before restoring or retrying a flow, call getFlow and check its current state.
Usage
Parameters
Returns
Promise<Flow> — the flow with executionState: 'signing' and quote.signingPayload populated.
The signing payload structure depends on the chain:
Examples
Prepare with balance assertions
Manual sign and broadcast flow
React
Related
- Fireblocks Flow JavaScript SDK guide - End-to-end flow guide
submitFlowTransaction- Recommended: handles prepare, sign, and broadcastbroadcastFlow- Record the broadcast- Signing the transaction by chain - Chain-specific signing examples