Submit transaction hash after external broadcast. RebelFi records it only if it is the transaction planned for the
operation (otherwise TRANSACTION_MISMATCH). Never refused for the signing deadline: it is accepted on EXPIRED and
CANCELLED operations too, which become CONFIRMED when their planned transaction lands late.
interface SubmitHashRequest { operationId: number; /** EVM: 0x + 64 hex characters. Solana: base58 signature. Anything else is VALIDATION_FAILED */ txHash: string; /** Transaction ID for multi-transaction operations (e.g., EVM approve + supply). Recommended there */ transactionId?: number;}interface SubmitHashResponse extends TransactionStatusResponse { /** * true: found on chain and it is the planned transaction; recorded. * false: not visible on chain yet; kept and recorded once it appears and matches. */ verified: boolean;}
submitSigned
Submit signed transaction for RebelFi to broadcast. Checked before anything is broadcast: past expiresAt is
OPERATION_EXPIRED; a transaction that isn’t one planned for the operation is TRANSACTION_MISMATCH.
interface SubmitSignedRequest { operationId: number; /** Base64 for Solana, hex for EVM. The hash is computed from it */ signedTransaction: string; /** @deprecated Ignored by the API; removed in 2.0.0 */ txHash?: string;}
Retrying: the same signed bytes may be resubmitted safely; once recorded, the reply is the same and nothing is broadcast
again. A different signature while one is in flight is a 409OPERATION_ALREADY_SUBMITTED (details: { operationId, transactionId }). A failed broadcast is a 400OPERATION_ALREADY_SUBMITTED with details: SubmitSignedFailureDetails:
interface SubmitSignedFailureDetails { operationId: number; /** true: may have reached the network, resubmit the same bytes (don't re-sign). false: refused, sign again */ resubmitSameTransaction: boolean;}
A 503INTERNAL_ERROR means the transaction could not be checked against the plan right now; nothing was broadcast.
Retry the same signed transaction.
Deprecated in 1.4.5: use submitHash({ operationId, txHash, transactionId }). recover is now an alias of
submitHash (same checks, same record) and is removed in 2.0.0.
Recover a transaction that was broadcast but not submitted to RebelFi.