Index
Last updated
Last updated
import { MethodTable } from "components/MethodTable";
Result Codes describe why a transaction or operation failed in Stellar Core and are communicated in the “extras” field of a Horizon response when the “Transaction Failed” Status Code is returned.
In the “extras” field, the errors returned are referred to as “Result Codes” and are Horizon’s abstraction of “Stellar Protocol Codes”, which are more specific codes available in the XDR. Result Codes are Horizon’s way of normalizing Stellar Protocol Codes.
There are three types of Result Codes: Transaction Result Codes, Operation Result Codes, and Operation-Specific Result Codes.
Result Code Types
Generic errors about transaction failures.
Generic errors about operation failures.
Errors specific to each operation type.