broadcastCheckoutTransaction
Records the on-chain broadcast of a checkout transaction by associating a transaction hash with the checkout. This advances the transaction to thebroadcasted execution state.
In most cases, you should use
submitCheckoutTransaction instead, which handles prepare, sign, and broadcast in one call. Use broadcastCheckoutTransaction directly only when implementing a custom signing flow.Usage
Parameters
| Parameter | Type | Description |
|---|---|---|
transactionId | string | The checkout transaction ID. |
txHash | string | The on-chain transaction hash from the wallet signing. |
Returns
Promise<CheckoutTransaction> - The updated transaction with the broadcast recorded.
Examples
Custom signing flow
Related
submitCheckoutTransaction- Recommended: handles the full flowprepareCheckoutTransaction- Prepare before broadcastinggetCheckoutTransaction- Poll for status after broadcast