Skip to main content
A refusal names its reason with the same code in every protocol. Match on code; message is written for people and may change. A transfer made by another program (a CPI), a TransferWithSeed, or a transfer from an account that does not sign the transaction is not a tip. When it is all the transaction holds, the answer is tip_missing, and the message says why.

In JSON-RPC

The code string is in error.data.code. When a sendBundle refusal points at one transaction in the bundle, error.data.memberIndex gives its zero-based index:
The HTTP status is 200, as on an RPC node, except for 401, 429 and 503, which keep their status so that your retry logic sees them, and 413 when the HTTP request body itself exceeds its size limit.

In REST

The HTTP status from the table, and an error object. When we could read the transaction, its signature is beside error; for POST /v1/bundles, a refusal caused by one member also sets error.memberIndex (zero-based):
The fast path answers the code alone, as text, under its status: tip_too_small with HTTP 400, for instance. Its body holds no JSON and no message.

Accepted is not landed

accepted means we took the transaction and are forwarding it. It does not mean it landed. An expired blockhash, an insufficient balance or a failing program still fail on chain, exactly as they would through an RPC node. Confirm on your own RPC node.