Documentation Index
Fetch the complete documentation index at: https://docs.starkfi.io/llms.txt
Use this file to discover all available pages before exploring further.
Broadcast transaction
Broadcasting a transaction
| Parameter | Type | Required | Description |
|---|---|---|---|
executor_id | string | ✅ | Transaction executor type. Use api_transaction when request comes via API |
payment_id | string | ✅ | Unique payment identifier generated in the previous step |
signed_transaction | string | ✅ | Signed transaction hex string generated by the user’s wallet |
Expected Response
- Payment confirmed (on-chain broadcast completed)
- Payment received (awaiting bridge processing)
Errors
Errors before broadcast
Errors before broadcast
These occur during payload or order validation, before any broadcast is sent to the network.
| HTTP | status | When it occurs |
|---|---|---|
400 | invalid_parameters | Invalid payload (schema validation failed) |
400 | invalid_chain | Order’s chain is not enabled or not supported |
404 | payment_not_found | payment_id does not exist |
409 | invalid_payment_status | Order is not in registered or retry status |
409 | missing_unsigned_transaction | Unsigned tx was not generated before execute |
400 | invalid_signed_transaction | Invalid signature or mismatch with the unsigned tx |
400 | stale_transaction_nonce | Transaction nonce is out of sync |
Errors during broadcast
Errors during broadcast
These occur after validation, during or after the broadcast to the network.
| HTTP | status | When it occurs |
|---|---|---|
500 | payment_failed | Receipt received but transaction was reverted on-chain |
500 | finalizer_payment_order_on_chain_failed | Unexpected exception inside the finalizer |
500 | blockchain_transaction_failed | Exception caught by the controller before reaching the finalizer |
.png?fit=max&auto=format&n=I_v6ul4JDafNKFQP&q=85&s=f0ad25536f8a3ca42331fcff88ab2b26)