Skip to main content
POST
/
v1
/
transactions
/
submit-hash
Submit Hash
curl --request POST \
  --url https://api.example.com/v1/transactions/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.

Request Body

FieldTypeRequiredDescription
operationIdnumberYesOperation ID from supply/unwind
txHashstringYesOn-chain transaction hash/signature
transactionIdnumberNoTarget transaction ID within the operation. Required for EVM multi-transaction operations (approve + supply). Optional for Solana single-transaction operations. If omitted, associates with the first unsigned transaction.

Example Request

curl -X POST "https://api.rebelfi.io/v1/transactions/submit-hash" \
  -H "x-api-key: your_api_key" \
  -H "Content-Type: application/json" \
  -d '{
    "operationId": 123,
    "txHash": "5UfD...xyz"
  }'

Example Response

{
  "id": 456,
  "operationId": 123,
  "status": "pending",
  "txHash": "5UfD...xyz"
}

Errors

CodeDescription
OPERATION_NOT_FOUNDOperation ID doesn’t exist
OPERATION_EXPIREDUnsigned transaction expired
OPERATION_ALREADY_SUBMITTEDTransaction already submitted
INVALID_OPERATION_STATUSOperation is in a status that doesn’t accept submissions