Skip to main content
GET
Get Operation
Endpoint: GET https://api.rebelfi.io/v1/operations/:id
Get the current status of an operation.

Path Parameters

ParameterTypeRequiredDescription
idnumberYesOperation ID

Example Request

Example Response (Awaiting Signature)

Example Response (Confirmed)

Example Response (Failed)

Operation Status Values

StatusDescription
PENDINGOperation created, building transactions
AWAITING_SIGNATUREUnsigned transaction ready for signing
SUBMITTEDTransaction submitted, waiting for confirmation
CONFIRMEDSuccessfully confirmed on-chain
FAILEDTransaction failed or operation was cancelled/timed out
Cancelled and timed-out operations are reported as failed when retrieved via GET. The cancel endpoint returns "status": "CANCELLED" in its own response.

Transaction Failure Codes

CodeDescription
REVERTEDSmart contract execution reverted
OUT_OF_GASTransaction ran out of gas
TIMEOUTNot included in block within timeout
NONCE_TOO_LOWNonce already used
INSUFFICIENT_FUNDSNot enough SOL for gas
REPLACEDReplaced by another transaction
DROPPEDDropped from mempool
UNKNOWNUnknown failure

Errors

CodeDescription
OPERATION_NOT_FOUNDOperation ID doesn’t exist