Skip to main content
POST
Submit Hash
Endpoint: POST https://api.rebelfi.io/v1/transactions/submit-hash
Notify RebelFi that you’ve broadcast a transaction. Use this when your application broadcasts the signed transaction directly to the blockchain. RebelFi records the hash only if it is the transaction planned for the operation. It looks the transaction up on chain and compares it with the plan by what it does: on EVM the chain, sender, contract (to), call data and value (nonce and gas may differ); on Solana the wallet’s signature and the instructions (compute budget and fee payer may differ). A transaction that does something else is refused with TRANSACTION_MISMATCH and nothing is recorded.

Request Body

Example Request

Example Response

202 Accepted
Until an unverified report is confirmed on chain, the operation’s status does not change and the transaction keeps reading UNSIGNED in Get Operation.

The signing deadline does not apply

Submit hash is never refused because the operation passed its expiresAt: a transaction you broadcast is already on chain or on its way. It is accepted on an AWAITING_SIGNATURE, SUBMITTED, EXPIRED or CANCELLED operation. On an EXPIRED or CANCELLED operation, the planned transaction landing late completes the operation (CONFIRMED) and RebelFi alerts your organization. Reporting the same hash again for the same transaction is safe: the reply is the same.

Errors