Skip to main content

Manage Buy Offer Result Codes

These are result codes that communicate success (200) or failure (400) specific to the Manage Buy Offer operation.

Learn more about the Manage Buy Offer operation.

  • OpSuccessMANAGE_BUY_OFFER_SUCCESS

    The offer was successfully placed.

  • OpMalformedMANAGE_BUY_OFFER_MALFORMED

    The input is incorrect and would result in an invalid offer.

  • op_sell_no_trustMANAGE_BUY_OFFER_SELL_NO_TRUST

    The account creating the offer does not have a trustline for the asset it is selling.

  • op_buy_no_trustMANAGE_BUY_OFFER_BUY_NO_TRUST

    The account creating the offer does not have a trustline for the asset it is buying.

  • sell_not_authorizedMANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED

    The account creating the offer is not authorized to sell this asset.

  • buy_not_authorizedMANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED

    The account creating the offer is not authorized to buy this asset.

  • OpLineFullMANAGE_BUY_OFFER_LINE_FULL

    The account creating the offer does not have sufficient limits to receive buying and still satisfy its buying liabilities.

  • OpUnderfundedMANAGE_BUY_OFFER_UNDERFUNDED

    The account creating the offer does not have sufficient limits to send selling and still satisfy its selling liabilities. Note that if selling XLM then the account must additionally maintain its minimum XLM reserve, which is calculated assuming this offer will not completely execute immediately.

  • op_cross_selfMANAGE_BUY_OFFER_CROSS_SELF

    The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself.

  • op_sell_no_issuerMANAGE_BUY_OFFER_SELL_NO_ISSUER

    The issuer of selling asset does not exist.

  • buy_no_issuerMANAGE_BUY_OFFER_BUY_NO_ISSUER

    The issuer of buying asset does not exist.

  • op_offer_not_foundMANAGE_BUY_OFFER_NOT_FOUND

    An offer with that offerID cannot be found.

  • OpLowReserveMANAGE_BUY_OFFER_LOW_RESERVE

    The account creating this offer does not have enough XLM to satisfy the minimum XLM reserve increase caused by adding a subentry and still satisfy its XLM selling liabilities. For every offer an account creates, the minimum amount of XLM that account must hold will increase.