Skip to main content
On failure, IntentFailedError.context carries grouped operations and optional refunds. HyperCore evidence is an EXECUTION item inside operations[].items[]; inspect its result, not a context.hyperCore field. Completed settlement does not imply trade success. A refusal may follow accepted actions, and a partial outcome may have placed orders. Inspect settlement, balances, positions and refunds before any retry; never assume replaying the whole intent is safe. intentResult comes from submitTransaction. The example logs offchain evidence separately from onchain transaction references, also on failure. Method on an account instance returned by createAccount. Requires a managed EVM account; unavailable on receiver-only and standalone Solana accounts.

Usage

Intent result

Wait for a submitted intent to reach a terminal state. On failure, IntentFailedError.context carries grouped operations and optional refunds. HyperCore evidence is an EXECUTION item inside operations[].items[]; inspect its result, not a context.hyperCore field. Completed settlement does not imply trade success. A refusal may follow accepted actions, and a partial outcome may have placed orders. Inspect settlement, balances, positions and refunds before any retry; never assume replaying the whole intent is safe. intentResult comes from submitTransaction. The example logs offchain evidence separately from onchain transaction references, also on failure.

Parameters

TransactionResult
required
The submitted intent result

Returns

TransactionStatus
The intent status with grouped per-chain operations

UserOperation receipt

Wait for a submitted UserOperation receipt. userOperationResult comes from submitUserOperation or sendUserOperation. An unsuccessful execution can still return a receipt; inspect success rather than expecting every execution failure to reject.

Parameters

UserOperationResult
required
The submitted UserOperation result

Returns

UserOperationReceipt
The bundler’s UserOperation receipt, including its success flag