From c5372efbbc872e7a92d83ced430b8c50708a5318 Mon Sep 17 00:00:00 2001 From: Elliot Voris Date: Thu, 6 Feb 2025 13:56:13 -0600 Subject: [PATCH] wrap operation error codes in backticks --- .../transactions/list-of-operations.mdx | 310 +++++++++--------- 1 file changed, 155 insertions(+), 155 deletions(-) diff --git a/docs/learn/fundamentals/transactions/list-of-operations.mdx b/docs/learn/fundamentals/transactions/list-of-operations.mdx index c5ebe10c2..31275967f 100644 --- a/docs/learn/fundamentals/transactions/list-of-operations.mdx +++ b/docs/learn/fundamentals/transactions/list-of-operations.mdx @@ -27,10 +27,10 @@ Creates and funds a new account with the specified starting balance | Error | Code | Description | | --- | --- | --- | -| CREATE_ACCOUNT_MALFORMED | -1 | The `destination` is invalid. | -| CREATE_ACCOUNT_UNDERFUNDED | -2 | The source account performing the command does not have enough funds to give `destination` the `starting balance` amount of XLM and still maintain its minimum XLM reserve plus satisfy its XLM selling liabilities. | -| CREATE_ACCOUNT_LOW_RESERVE | -3 | This operation would create an account with fewer than the minimum number of XLM an account must hold. | -| CREATE_ACCOUNT_ALREADY_EXIST | -4 | The `destination` account already exists. | +| `CREATE_ACCOUNT_MALFORMED` | -1 | The `destination` is invalid. | +| `CREATE_ACCOUNT_UNDERFUNDED` | -2 | The source account performing the command does not have enough funds to give `destination` the `starting balance` amount of XLM and still maintain its minimum XLM reserve plus satisfy its XLM selling liabilities. | +| `CREATE_ACCOUNT_LOW_RESERVE` | -3 | This operation would create an account with fewer than the minimum number of XLM an account must hold. | +| `CREATE_ACCOUNT_ALREADY_EXIST` | -4 | The `destination` account already exists. | ## Payment @@ -51,14 +51,14 @@ Sends an amount in a specific asset to a destination account | Error | Code | Description | | --- | --- | --- | -| PAYMENT_MALFORMED | -1 | The input to the payment is invalid. | -| PAYMENT_UNDERFUNDED | -2 | The source account (sender) does not have enough funds to send `amount` and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | -| PAYMENT_SRC_NO_TRUST | -3 | The source account does not trust the issuer of the asset it is trying to send. | -| PAYMENT_SRC_NOT_AUTHORIZED | -4 | The source account is not authorized to send this payment. | -| PAYMENT_NO_DESTINATION | -5 | The receiving account does not exist. Note that this error will **not** be returned if the receiving account is the issuer of `asset`. | -| PAYMENT_NO_TRUST | -6 | The receiver does not trust the issuer of the asset being sent. For more information, see the [Assets section](../stellar-data-structures/assets.mdx). | -| PAYMENT_NOT_AUTHORIZED | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | -| PAYMENT_LINE_FULL | -8 | The destination account (receiver) does not have sufficient limits to receive `amount` and still satisfy its buying liabilities. | +| `PAYMENT_MALFORMED` | -1 | The input to the payment is invalid. | +| `PAYMENT_UNDERFUNDED` | -2 | The source account (sender) does not have enough funds to send `amount` and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | +| `PAYMENT_SRC_NO_TRUST` | -3 | The source account does not trust the issuer of the asset it is trying to send. | +| `PAYMENT_SRC_NOT_AUTHORIZED` | -4 | The source account is not authorized to send this payment. | +| `PAYMENT_NO_DESTINATION` | -5 | The receiving account does not exist. Note that this error will **not** be returned if the receiving account is the issuer of `asset`. | +| `PAYMENT_NO_TRUST` | -6 | The receiver does not trust the issuer of the asset being sent. For more information, see the [Assets section](../stellar-data-structures/assets.mdx). | +| `PAYMENT_NOT_AUTHORIZED` | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | +| `PAYMENT_LINE_FULL` | -8 | The destination account (receiver) does not have sufficient limits to receive `amount` and still satisfy its buying liabilities. | ## Path payment strict send @@ -84,17 +84,17 @@ Learn more about path payments: [Path Payments Encyclopedia Entry](../../encyclo | Error | Code | Description | | --- | --- | --- | -| PATH_PAYMENT_STRICT_SEND_MALFORMED | -1 | The input to this path payment is invalid. | -| PATH_PAYMENT_STRICT_SEND_UNDERFUNDED | -2 | The source account (sender) does not have enough funds to send and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | -| PATH_PAYMENT_STRICT_SEND_SRC_NO_TRUST | -3 | The source account does not trust the issuer of the asset it is trying to send. | -| PATH_PAYMENT_STRICT_SEND_SRC_NOT_AUTHORIZED | -4 | The source account is not authorized to send this payment. | -| PATH_PAYMENT_STRICT_SEND_NO_DESTINATION | -5 | The destination account does not exist. | -| PATH_PAYMENT_STRICT_SEND_NO_TRUST | -6 | The destination account does not trust the issuer of the asset being sent. For more, see the [Assets section](../stellar-data-structures/assets.mdx). | -| PATH_PAYMENT_STRICT_SEND_NOT_AUTHORIZED | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | -| PATH_PAYMENT_STRICT_SEND_LINE_FULL | -8 | The destination account does not have sufficient limits to receive `destination amount` and still satisfy its buying liabilities. | -| PATH_PAYMENT_STRICT_SEND_TOO_FEW_OFFERS | -10 | There is no path of offers connecting the `send asset` and `destination asset`. Stellar only considers paths of length 5 or shorter. | -| PATH_PAYMENT_STRICT_SEND_OFFER_CROSS_SELF | -11 | The payment would cross one of its own offers. | -| PATH_PAYMENT_STRICT_SEND_UNDER_DESTMIN | -12 | The paths that could send `destination amount` of `destination asset` would fall short of `destination min`. | +| `PATH_PAYMENT_STRICT_SEND_MALFORMED` | -1 | The input to this path payment is invalid. | +| `PATH_PAYMENT_STRICT_SEND_UNDERFUNDED` | -2 | The source account (sender) does not have enough funds to send and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | +| `PATH_PAYMENT_STRICT_SEND_SRC_NO_TRUST` | -3 | The source account does not trust the issuer of the asset it is trying to send. | +| `PATH_PAYMENT_STRICT_SEND_SRC_NOT_AUTHORIZED` | -4 | The source account is not authorized to send this payment. | +| `PATH_PAYMENT_STRICT_SEND_NO_DESTINATION` | -5 | The destination account does not exist. | +| `PATH_PAYMENT_STRICT_SEND_NO_TRUST` | -6 | The destination account does not trust the issuer of the asset being sent. For more, see the [Assets section](../stellar-data-structures/assets.mdx). | +| `PATH_PAYMENT_STRICT_SEND_NOT_AUTHORIZED` | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | +| `PATH_PAYMENT_STRICT_SEND_LINE_FULL` | -8 | The destination account does not have sufficient limits to receive `destination amount` and still satisfy its buying liabilities. | +| `PATH_PAYMENT_STRICT_SEND_TOO_FEW_OFFERS` | -10 | There is no path of offers connecting the `send asset` and `destination asset`. Stellar only considers paths of length 5 or shorter. | +| `PATH_PAYMENT_STRICT_SEND_OFFER_CROSS_SELF` | -11 | The payment would cross one of its own offers. | +| `PATH_PAYMENT_STRICT_SEND_UNDER_DESTMIN` | -12 | The paths that could send `destination amount` of `destination asset` would fall short of `destination min`. | ## Path payment strict receive @@ -120,17 +120,17 @@ Learn more about path payments: [Path Payments Encyclopedia Entry](../../encyclo | Error | Code | Description | | --- | --- | --- | -| PATH_PAYMENT_STRICT_RECEIVE_MALFORMED | -1 | The input to this path payment is invalid. | -| PATH_PAYMENT_STRICT_RECEIVE_UNDERFUNDED | -2 | The source account (sender) does not have enough funds to send and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | -| PATH_PAYMENT_STRICT_RECEIVE_SRC_NO_TRUST | -3 | The source account does not trust the issuer of the asset it is trying to send. | -| PATH_PAYMENT_STRICT_RECEIVE_SRC_NOT_AUTHORIZED | -4 | The source account is not authorized to send this payment. | -| PATH_PAYMENT_STRICT_RECEIVE_NO_DESTINATION | -5 | The destination account does not exist. | -| PATH_PAYMENT_STRICT_RECEIVE_NO_TRUST | -6 | The destination account does not trust the issuer of the asset being sent. For more, see the [Assets section](../stellar-data-structures/assets.mdx). | -| PATH_PAYMENT_STRICT_RECEIVE_NOT_AUTHORIZED | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | -| PATH_PAYMENT_STRICT_RECEIVE_LINE_FULL | -8 | The destination account does not have sufficient limits to receive `destination amount` and still satisfy its buying liabilities. | -| PATH_PAYMENT_STRICT_RECEIVE_TOO_FEW_OFFERS | -10 | There is no path of offers connecting the `send asset` and `destination asset`. Stellar only considers paths of length 5 or shorter. | -| PATH_PAYMENT_STRICT_RECEIVE_OFFER_CROSS_SELF | -11 | The payment would cross one of its own offers. | -| PATH_PAYMENT_STRICT_RECEIVE_OVER_SENDMAX | -12 | The paths that could send `destination amount` of `destination asset` would exceed `send max`. | +| `PATH_PAYMENT_STRICT_RECEIVE_MALFORMED` | -1 | The input to this path payment is invalid. | +| `PATH_PAYMENT_STRICT_RECEIVE_UNDERFUNDED` | -2 | The source account (sender) does not have enough funds to send and still satisfy its selling liabilities. Note that if sending XLM then the sender must additionally maintain its minimum XLM reserve. | +| `PATH_PAYMENT_STRICT_RECEIVE_SRC_NO_TRUST` | -3 | The source account does not trust the issuer of the asset it is trying to send. | +| `PATH_PAYMENT_STRICT_RECEIVE_SRC_NOT_AUTHORIZED` | -4 | The source account is not authorized to send this payment. | +| `PATH_PAYMENT_STRICT_RECEIVE_NO_DESTINATION` | -5 | The destination account does not exist. | +| `PATH_PAYMENT_STRICT_RECEIVE_NO_TRUST` | -6 | The destination account does not trust the issuer of the asset being sent. For more, see the [Assets section](../stellar-data-structures/assets.mdx). | +| `PATH_PAYMENT_STRICT_RECEIVE_NOT_AUTHORIZED` | -7 | The destination account is not authorized by the asset's issuer to hold the asset. | +| `PATH_PAYMENT_STRICT_RECEIVE_LINE_FULL` | -8 | The destination account does not have sufficient limits to receive `destination amount` and still satisfy its buying liabilities. | +| `PATH_PAYMENT_STRICT_RECEIVE_TOO_FEW_OFFERS` | -10 | There is no path of offers connecting the `send asset` and `destination asset`. Stellar only considers paths of length 5 or shorter. | +| `PATH_PAYMENT_STRICT_RECEIVE_OFFER_CROSS_SELF` | -11 | The payment would cross one of its own offers. | +| `PATH_PAYMENT_STRICT_RECEIVE_OVER_SENDMAX` | -12 | The paths that could send `destination amount` of `destination asset` would exceed `send max`. | ## Manage buy offer @@ -155,16 +155,16 @@ Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity | Error | Code | Description | | --- | --- | --- | -| MANAGE_BUY_OFFER_MALFORMED | -1 | The input is incorrect and would result in an invalid offer. | -| MANAGE_BUY_OFFER_SELL_NO_TRUST | -2 | The account creating the offer does not have a trustline for the asset it is selling. | -| MANAGE_BUY_OFFER_BUY_NO_TRUST | -3 | The account creating the offer does not have a trustline for the asset it is buying. | -| MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED | -4 | The account creating the offer is not authorized to sell this asset. | -| MANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED | -5 | The account creating the offer is not authorized to buy this asset. | -| MANAGE_BUY_OFFER_LINE_FULL | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | -| MANAGE_BUY_OFFER_UNDERFUNDED | -7 | 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. | -| MANAGE_BUY_OFFER_CROSS_SELF | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | -| MANAGE_BUY_OFFER_NOT_FOUND | -11 | An offer with that `offerID` cannot be found. | -| MANAGE_BUY_OFFER_LOW_RESERVE | -12 | 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. | +| `MANAGE_BUY_OFFER_MALFORMED` | -1 | The input is incorrect and would result in an invalid offer. | +| `MANAGE_BUY_OFFER_SELL_NO_TRUST` | -2 | The account creating the offer does not have a trustline for the asset it is selling. | +| `MANAGE_BUY_OFFER_BUY_NO_TRUST` | -3 | The account creating the offer does not have a trustline for the asset it is buying. | +| `MANAGE_BUY_OFFER_BUY_NOT_AUTHORIZED` | -4 | The account creating the offer is not authorized to sell this asset. | +| `MANAGE_BUY_OFFER_SELL_NOT_AUTHORIZED` | -5 | The account creating the offer is not authorized to buy this asset. | +| `MANAGE_BUY_OFFER_LINE_FULL` | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | +| `MANAGE_BUY_OFFER_UNDERFUNDED` | -7 | 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. | +| `MANAGE_BUY_OFFER_CROSS_SELF` | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | +| `MANAGE_BUY_OFFER_NOT_FOUND` | -11 | An offer with that `offerID` cannot be found. | +| `MANAGE_BUY_OFFER_LOW_RESERVE` | -12 | 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. | ## Manage sell offer @@ -189,16 +189,16 @@ Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity | Error | Code | Description | | --- | --- | --- | -| MANAGE_SELL_OFFER_MALFORMED | -1 | The input is incorrect and would result in an invalid offer. | -| MANAGE_SELL_OFFER_SELL_NO_TRUST | -2 | The account creating the offer does not have a trustline for the asset it is selling. | -| MANAGE_SELL_OFFER_BUY_NO_TRUST | -3 | The account creating the offer does not have a trustline for the asset it is buying. | -| MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED | -4 | The account creating the offer is not authorized to sell this asset. | -| MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED | -5 | The account creating the offer is not authorized to buy this asset. | -| MANAGE_SELL_OFFER_LINE_FULL | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | -| MANAGE_SELL_OFFER_UNDERFUNDED | -7 | 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. | -| MANAGE_SELL_OFFER_CROSS_SELF | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | -| MANAGE_SELL_OFFER_NOT_FOUND | -11 | An offer with that `offerID` cannot be found. | -| MANAGE_SELL_OFFER_LOW_RESERVE | -12 | 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. | +| `MANAGE_SELL_OFFER_MALFORMED` | -1 | The input is incorrect and would result in an invalid offer. | +| `MANAGE_SELL_OFFER_SELL_NO_TRUST` | -2 | The account creating the offer does not have a trustline for the asset it is selling. | +| `MANAGE_SELL_OFFER_BUY_NO_TRUST` | -3 | The account creating the offer does not have a trustline for the asset it is buying. | +| `MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED` | -4 | The account creating the offer is not authorized to sell this asset. | +| `MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED` | -5 | The account creating the offer is not authorized to buy this asset. | +| `MANAGE_SELL_OFFER_LINE_FULL` | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | +| `MANAGE_SELL_OFFER_UNDERFUNDED` | -7 | 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. | +| `MANAGE_SELL_OFFER_CROSS_SELF` | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | +| `MANAGE_SELL_OFFER_NOT_FOUND` | -11 | An offer with that `offerID` cannot be found. | +| `MANAGE_SELL_OFFER_LOW_RESERVE` | -12 | 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. | ## Create passive sell offer @@ -222,16 +222,16 @@ Learn more about passive sell offers: [Liquidity on Stellar: SDEX and Liquidity | Error | Code | Description | | --- | --- | --- | -| MANAGE_SELL_OFFER_MALFORMED | -1 | The input is incorrect and would result in an invalid offer. | -| MANAGE_SELL_OFFER_SELL_NO_TRUST | -2 | The account creating the offer does not have a trustline for the asset it is selling. | -| MANAGE_SELL_OFFER_BUY_NO_TRUST | -3 | The account creating the offer does not have a trustline for the asset it is buying. | -| MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED | -4 | The account creating the offer is not authorized to sell this asset. | -| MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED | -5 | The account creating the offer is not authorized to buy this asset. | -| MANAGE_SELL_OFFER_LINE_FULL | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | -| MANAGE_SELL_OFFER_UNDERFUNDED | -7 | 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. | -| MANAGE_SELL_OFFER_CROSS_SELF | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | -| MANAGE_SELL_OFFER_NOT_FOUND | -11 | An offer with that `offerID` cannot be found. | -| MANAGE_SELL_OFFER_LOW_RESERVE | -12 | 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. | +| `MANAGE_SELL_OFFER_MALFORMED` | -1 | The input is incorrect and would result in an invalid offer. | +| `MANAGE_SELL_OFFER_SELL_NO_TRUST` | -2 | The account creating the offer does not have a trustline for the asset it is selling. | +| `MANAGE_SELL_OFFER_BUY_NO_TRUST` | -3 | The account creating the offer does not have a trustline for the asset it is buying. | +| `MANAGE_SELL_OFFER_SELL_NOT_AUTHORIZED` | -4 | The account creating the offer is not authorized to sell this asset. | +| `MANAGE_SELL_OFFER_BUY_NOT_AUTHORIZED` | -5 | The account creating the offer is not authorized to buy this asset. | +| `MANAGE_SELL_OFFER_LINE_FULL` | -6 | The account creating the offer does not have sufficient limits to receive `buying` and still satisfy its buying liabilities. | +| `MANAGE_SELL_OFFER_UNDERFUNDED` | -7 | 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. | +| `MANAGE_SELL_OFFER_CROSS_SELF` | -8 | The account has opposite offer of equal or lesser price active, so the account creating this offer would immediately cross itself. | +| `MANAGE_SELL_OFFER_NOT_FOUND` | -11 | An offer with that `offerID` cannot be found. | +| `MANAGE_SELL_OFFER_LOW_RESERVE` | -12 | 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. | ## Set options @@ -262,15 +262,15 @@ Learn more about signers operations and key weight: [Signature and Multisignatur | Error | Code | Description | | --- | --- | --- | -| SET_OPTIONS_LOW_RESERVE | -1 | This account 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 new signer added to an account, the minimum reserve of XLM that account must hold increases. | -| SET_OPTIONS_TOO_MANY_SIGNERS | -2 | 20 is the maximum number of signers an account can have, and adding another signer would exceed that. | -| SET_OPTIONS_BAD_FLAGS | -3 | The flags set and/or cleared are invalid by themselves or in combination. | -| SET_OPTIONS_INVALID_INFLATION | -4 | The destination account set in the `inflation` field does not exist. | -| SET_OPTIONS_CANT_CHANGE | -5 | This account can no longer change the option it wants to change. | -| SET_OPTIONS_UNKNOWN_FLAG | -6 | The account is trying to set a flag that is unknown. | -| SET_OPTIONS_THRESHOLD_OUT_OF_RANGE | -7 | The value for a key weight or threshold is invalid. | -| SET_OPTIONS_BAD_SIGNER | -8 | Any additional signers added to the account cannot be the master key. | -| SET_OPTIONS_INVALID_HOME_DOMAIN | -9 | Home domain is malformed. | +| `SET_OPTIONS_LOW_RESERVE` | -1 | This account 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 new signer added to an account, the minimum reserve of XLM that account must hold increases. | +| `SET_OPTIONS_TOO_MANY_SIGNERS` | -2 | 20 is the maximum number of signers an account can have, and adding another signer would exceed that. | +| `SET_OPTIONS_BAD_FLAGS` | -3 | The flags set and/or cleared are invalid by themselves or in combination. | +| `SET_OPTIONS_INVALID_INFLATION` | -4 | The destination account set in the `inflation` field does not exist. | +| `SET_OPTIONS_CANT_CHANGE` | -5 | This account can no longer change the option it wants to change. | +| `SET_OPTIONS_UNKNOWN_FLAG` | -6 | The account is trying to set a flag that is unknown. | +| `SET_OPTIONS_THRESHOLD_OUT_OF_RANGE` | -7 | The value for a key weight or threshold is invalid. | +| `SET_OPTIONS_BAD_SIGNER` | -8 | Any additional signers added to the account cannot be the master key. | +| `SET_OPTIONS_INVALID_HOME_DOMAIN` | -9 | Home domain is malformed. | ## Change trust @@ -292,14 +292,14 @@ Learn more about trustlines: [Trustlines section](../stellar-data-structures/acc | Error | Code | Description | | --- | --- | --- | -| CHANGE_TRUST_MALFORMED | -1 | The input to this operation is invalid. | -| CHANGE_TRUST_NO_ISSUER | -2 | The issuer of the asset cannot be found. | -| CHANGE_TRUST_INVALID_LIMIT | -3 | The `limit` is not sufficient to hold the current balance of the trustline and still satisfy its buying liabilities. This error occurs when attempting to remove a trustline with a non-zero asset balance. | -| CHANGE_TRUST_LOW_RESERVE | -4 | This account 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 new trustline added to an account, the minimum reserve of XLM that account must hold increases. | -| CHANGE_TRUST_SELF_NOT_ALLOWED | -5 | The source account attempted to create a trustline for itself, which is not allowed. | -| CHANGE_TRUST_TRUST_LINE_MISSING | -6 | The asset trustline is missing for the liquidity pool. | -| CHANGE_TRUST_CANNOT_DELETE | -7 | The asset trustline is still referenced by a liquidity pool. | -| CHANGE_TRUST_NOT_AUTH_MAINTAIN_LIABILITIES | -8 | The asset trustline is deauthorized. | +| `CHANGE_TRUST_MALFORMED` | -1 | The input to this operation is invalid. | +| `CHANGE_TRUST_NO_ISSUER` | -2 | The issuer of the asset cannot be found. | +| `CHANGE_TRUST_INVALID_LIMIT` | -3 | The `limit` is not sufficient to hold the current balance of the trustline and still satisfy its buying liabilities. This error occurs when attempting to remove a trustline with a non-zero asset balance. | +| `CHANGE_TRUST_LOW_RESERVE` | -4 | This account 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 new trustline added to an account, the minimum reserve of XLM that account must hold increases. | +| `CHANGE_TRUST_SELF_NOT_ALLOWED` | -5 | The source account attempted to create a trustline for itself, which is not allowed. | +| `CHANGE_TRUST_TRUST_LINE_MISSING` | -6 | The asset trustline is missing for the liquidity pool. | +| `CHANGE_TRUST_CANNOT_DELETE` | -7 | The asset trustline is still referenced by a liquidity pool. | +| `CHANGE_TRUST_NOT_AUTH_MAINTAIN_LIABILITIES` | -8 | The asset trustline is deauthorized. | ## Allow trust @@ -322,12 +322,12 @@ This operation is deprecated as of Protocol 17- prefer SetTrustlineFlags instead | Error | Code | Description | | --- | --- | --- | -| ALLOW_TRUST_MALFORMED | -1 | The asset specified in `type` is invalid. In addition, this error happens when the native asset is specified. | -| ALLOW_TRUST_NO_TRUST_LINE | -2 | The `trustor` does not have a trustline with the issuer performing this operation. | -| ALLOW_TRUST_TRUST_NOT_REQUIRED | -3 | The source account (issuer performing this operation) does not require trust. In other words, it does not have the flag `AUTH_REQUIRED_FLAG` set. | -| ALLOW_TRUST_CANT_REVOKE | -4 | The source account is trying to revoke the trustline of the `trustor`, but it cannot do so. | -| ALLOW_TRUST_SELF_NOT_ALLOWED | -5 | The source account attempted to allow a trustline for itself, which is not allowed because an account cannot create a trustline with itself. | -| ALLOW_TRUST_LOW_RESERVE | -6 | Claimable balances can't be created on revocation of asset (or pool share) trustlines associated with a liquidity pool due to low reserves. | +| `ALLOW_TRUST_MALFORMED` | -1 | The asset specified in `type` is invalid. In addition, this error happens when the native asset is specified. | +| `ALLOW_TRUST_NO_TRUST_LINE` | -2 | The `trustor` does not have a trustline with the issuer performing this operation. | +| `ALLOW_TRUST_TRUST_NOT_REQUIRED` | -3 | The source account (issuer performing this operation) does not require trust. In other words, it does not have the flag `AUTH_REQUIRED_FLAG` set. | +| `ALLOW_TRUST_CANT_REVOKE` | -4 | The source account is trying to revoke the trustline of the `trustor`, but it cannot do so. | +| `ALLOW_TRUST_SELF_NOT_ALLOWED` | -5 | The source account attempted to allow a trustline for itself, which is not allowed because an account cannot create a trustline with itself. | +| `ALLOW_TRUST_LOW_RESERVE` | -6 | Claimable balances can't be created on revocation of asset (or pool share) trustlines associated with a liquidity pool due to low reserves. | ## Account merge @@ -346,13 +346,13 @@ Transfers the XLM balance of an account to another account and removes the sourc | Error | Code | Description | | --- | --- | --- | -| ACCOUNT_MERGE_MALFORMED | -1 | The operation is malformed because the source account cannot merge with itself. The `destination` must be a different account. | -| ACCOUNT_MERGE_NO_ACCOUNT | -2 | The `destination` account does not exist. | -| ACCOUNT_MERGE_IMMUTABLE_SET | -3 | The source account has `AUTH_IMMUTABLE` flag set. | -| ACCOUNT_MERGE_HAS_SUB_ENTRIES | -4 | The source account has trustlines/offers. | -| ACCOUNT_MERGE_SEQNUM_TOO_FAR | -5 | Source's account sequence number is too high. It must be less than `(ledgerSeq << 32) = (ledgerSeq * 0x100000000)`. | -| ACCOUNT_MERGE_DEST_FULL | -6 | The `destination` account cannot receive the balance of the source account and still satisfy its lumen buying liabilities. | -| ACCOUNT_MERGE_IS_SPONSOR | -7 | The source account is a sponsor. | +| `ACCOUNT_MERGE_MALFORMED` | -1 | The operation is malformed because the source account cannot merge with itself. The `destination` must be a different account. | +| `ACCOUNT_MERGE_NO_ACCOUNT` | -2 | The `destination` account does not exist. | +| `ACCOUNT_MERGE_IMMUTABLE_SET` | -3 | The source account has `AUTH_IMMUTABLE` flag set. | +| `ACCOUNT_MERGE_HAS_SUB_ENTRIES` | -4 | The source account has trustlines/offers. | +| `ACCOUNT_MERGE_SEQNUM_TOO_FAR` | -5 | Source's account sequence number is too high. It must be less than `(ledgerSeq << 32) = (ledgerSeq * 0x100000000)`. | +| `ACCOUNT_MERGE_DEST_FULL` | -6 | The `destination` account cannot receive the balance of the source account and still satisfy its lumen buying liabilities. | +| `ACCOUNT_MERGE_IS_SPONSOR` | -7 | The source account is a sponsor. | ## Manage data @@ -374,10 +374,10 @@ Learn more about entries and subentries: [Accounts section](../stellar-data-stru | Error | Code | Description | | --- | --- | --- | -| MANAGE_DATA_NOT_SUPPORTED_YET | -1 | The network hasn't moved to this protocol change yet. This failure means the network doesn't support this feature yet. | -| MANAGE_DATA_NAME_NOT_FOUND | -2 | Trying to remove a Data Entry that isn't there. This will happen if Name is set (and Value isn't) but the Account doesn't have a DataEntry with that Name. | -| MANAGE_DATA_LOW_RESERVE | -3 | This account 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 new DataEntry added to an account, the minimum reserve of XLM that account must hold increases. | -| MANAGE_DATA_INVALID_NAME | -4 | Name not a valid string. | +| `MANAGE_DATA_NOT_SUPPORTED_YET` | -1 | The network hasn't moved to this protocol change yet. This failure means the network doesn't support this feature yet. | +| `MANAGE_DATA_NAME_NOT_FOUND` | -2 | Trying to remove a Data Entry that isn't there. This will happen if Name is set (and Value isn't) but the Account doesn't have a DataEntry with that Name. | +| `MANAGE_DATA_LOW_RESERVE` | -3 | This account 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 new DataEntry added to an account, the minimum reserve of XLM that account must hold increases. | +| `MANAGE_DATA_INVALID_NAME` | -4 | Name not a valid string. | ## Bump sequence @@ -396,7 +396,7 @@ Bumps forward the sequence number of the source account to the given sequence nu | Error | Code | Description | | --- | --- | --- | -| BUMP_SEQUENCE_BAD_SEQ | -1 | The specified `bumpTo` sequence number is not a valid sequence number. It must be between 0 and `INT64_MAX` (9223372036854775807 or 0x7fffffffffffffff). | +| `BUMP_SEQUENCE_BAD_SEQ` | -1 | The specified `bumpTo` sequence number is not a valid sequence number. It must be between 0 and `INT64_MAX` (9223372036854775807 or 0x7fffffffffffffff). | ## Create claimable balance @@ -419,11 +419,11 @@ Learn more about claimable balances: [Claimable Balances Encyclopedia Entry](../ | Error | Code | Description | | --- | --- | --- | -| CREATE_CLAIMABLE_BALANCE_MALFORMED | -1 | The input to this operation is invalid. | -| CREATE_CLAIMABLE_BALANCE_LOW_RESERVE | -2 | The account creating this entry does not have enough XLM to satisfy the minimum XLM reserve increase caused by adding a ClaimableBalanceEntry. For every claimant in the list, the minimum amount of XLM this account must hold will increase by baseReserve. | -| CREATE_CLAIMABLE_BALANCE_NO_TRUST | -3 | The source account does not trust the issuer of the asset it is trying to include in the ClaimableBalanceEntry. | -| CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED | -4 | The source account is not authorized to transfer this asset. | -| CREATE_CLAIMABLE_BALANCE_UNDERFUNDED | -5 | The source account does not have enough funds to transfer amount of this asset to the ClaimableBalanceEntry. | +| `CREATE_CLAIMABLE_BALANCE_MALFORMED` | -1 | The input to this operation is invalid. | +| `CREATE_CLAIMABLE_BALANCE_LOW_RESERVE` | -2 | The account creating this entry does not have enough XLM to satisfy the minimum XLM reserve increase caused by adding a ClaimableBalanceEntry. For every claimant in the list, the minimum amount of XLM this account must hold will increase by baseReserve. | +| `CREATE_CLAIMABLE_BALANCE_NO_TRUST` | -3 | The source account does not trust the issuer of the asset it is trying to include in the ClaimableBalanceEntry. | +| `CREATE_CLAIMABLE_BALANCE_NOT_AUTHORIZED` | -4 | The source account is not authorized to transfer this asset. | +| `CREATE_CLAIMABLE_BALANCE_UNDERFUNDED` | -5 | The source account does not have enough funds to transfer amount of this asset to the ClaimableBalanceEntry. | ## Claim claimable balance @@ -444,11 +444,11 @@ Learn more about claimable balances and view more parameters: [Claimable Balance | Error | Code | Description | | --- | --- | --- | -| CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST | -1 | There is no existing ClaimableBalanceEntry that matches the input BalanceID. | -| CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM | -2 | There is no claimant that matches the source account, or the claimants predicate is not satisfied. | -| CLAIM_CLAIMABLE_BALANCE_LINE_FULL | -3 | The account claiming the ClaimableBalanceEntry does not have sufficient limits to receive amount of the asset and still satisfy its buying liabilities. | -| CLAIM_CLAIMABLE_BALANCE_NO_TRUST | -4 | The source account does not trust the issuer of the asset it is trying to claim in the ClaimableBalanceEntry. | -| CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED | -5 | The source account is not authorized to claim the asset in the ClaimableBalanceEntry. | +| `CLAIM_CLAIMABLE_BALANCE_DOES_NOT_EXIST` | -1 | There is no existing ClaimableBalanceEntry that matches the input BalanceID. | +| `CLAIM_CLAIMABLE_BALANCE_CANNOT_CLAIM` | -2 | There is no claimant that matches the source account, or the claimants predicate is not satisfied. | +| `CLAIM_CLAIMABLE_BALANCE_LINE_FULL` | -3 | The account claiming the ClaimableBalanceEntry does not have sufficient limits to receive amount of the asset and still satisfy its buying liabilities. | +| `CLAIM_CLAIMABLE_BALANCE_NO_TRUST` | -4 | The source account does not trust the issuer of the asset it is trying to claim in the ClaimableBalanceEntry. | +| `CLAIM_CLAIMABLE_BALANCE_NOT_AUTHORIZED` | -5 | The source account is not authorized to claim the asset in the ClaimableBalanceEntry. | ## Begin sponsoring future reserves @@ -471,9 +471,9 @@ Learn more about sponsored reserves: [Sponsored Reserves Encyclopedia Entry](../ | Error | Code | Description | | --- | --- | --- | -| BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED | -1 | Source account is equal to sponsoredID. | -| BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED | -2 | Source account is already sponsoring sponsoredID. | -| BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE | -3 | Either source account is currently being sponsored, or sponsoredID is sponsoring another account. | +| `BEGIN_SPONSORING_FUTURE_RESERVES_MALFORMED` | -1 | Source account is equal to sponsoredID. | +| `BEGIN_SPONSORING_FUTURE_RESERVES_ALREADY_SPONSORED` | -2 | Source account is already sponsoring sponsoredID. | +| `BEGIN_SPONSORING_FUTURE_RESERVES_RECURSIVE` | -3 | Either source account is currently being sponsored, or sponsoredID is sponsoring another account. | ## End sponsoring future reserves @@ -494,7 +494,7 @@ Learn more about sponsored reserves: [Sponsored Reserves Encyclopedia Entry](../ | Error | Code | Description | | --- | --- | --- | -| END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED | -1 | Source account is not sponsored. | +| `END_SPONSORING_FUTURE_RESERVES_NOT_SPONSORED` | -1 | Source account is not sponsored. | ## Revoke sponsorship @@ -509,23 +509,23 @@ This operation is a union with **two** possible types: | Union Type | Parameters | Type | Description | | --- | --- | --- | --- | -| REVOKE_SPONSORSHIP_LEDGER_ENTRY | LedgerKey | ledgerKey | Ledger key that holds information to identify a specific ledgerEntry that may have its sponsorship modified. See [LedgerKey](../../glossary.mdx#ledgerkey) for more information. | +| `REVOKE_SPONSORSHIP_LEDGER_ENTRY` | LedgerKey | ledgerKey | Ledger key that holds information to identify a specific ledgerEntry that may have its sponsorship modified. See [LedgerKey](../../glossary.mdx#ledgerkey) for more information. | Or | Union Type | Parameters | Type | Description | | --- | --- | --- | --- | -| REVOKE_SPONSORSHIP_SIGNER | Signer | \{account ID, Signer Key} | Signer that may have its sponsorship modified. | +| `REVOKE_SPONSORSHIP_SIGNER` | Signer | \{account ID, Signer Key} | Signer that may have its sponsorship modified. | **Possible errors**: | Error | Code | Description | | --- | --- | --- | -| REVOKE_SPONSORSHIP_DOES_NOT_EXIST | -1 | The ledgerEntry for LedgerKey doesn’t exist, the account ID on signer doesn’t exist, or the Signer Key doesn’t exist on account ID’s account. | -| REVOKE_SPONSORSHIP_NOT_SPONSOR | -2 | If the ledgerEntry/signer is sponsored, then the source account must be the sponsor. If the ledgerEntry/signer is not sponsored, the source account must be the owner. This error will be thrown otherwise. | -| REVOKE_SPONSORSHIP_LOW_RESERVE | -3 | The sponsored account does not have enough XLM to satisfy the minimum balance increase caused by revoking sponsorship on a ledgerEntry/signer it owns, or the sponsor of the source account doesn’t have enough XLM to satisfy the minimum balance increase caused by sponsoring a transferred ledgerEntry/signer. | -| REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE | -4 | Sponsorship cannot be removed from this ledgerEntry. This error will happen if the user tries to remove the sponsorship from a ClaimableBalanceEntry. | -| REVOKE_SPONSORSHIP_MALFORMED | -5 | One or more of the inputs to the operation was malformed. | +| `REVOKE_SPONSORSHIP_DOES_NOT_EXIST` | -1 | The ledgerEntry for LedgerKey doesn’t exist, the account ID on signer doesn’t exist, or the Signer Key doesn’t exist on account ID’s account. | +| `REVOKE_SPONSORSHIP_NOT_SPONSOR` | -2 | If the ledgerEntry/signer is sponsored, then the source account must be the sponsor. If the ledgerEntry/signer is not sponsored, the source account must be the owner. This error will be thrown otherwise. | +| `REVOKE_SPONSORSHIP_LOW_RESERVE` | -3 | The sponsored account does not have enough XLM to satisfy the minimum balance increase caused by revoking sponsorship on a ledgerEntry/signer it owns, or the sponsor of the source account doesn’t have enough XLM to satisfy the minimum balance increase caused by sponsoring a transferred ledgerEntry/signer. | +| `REVOKE_SPONSORSHIP_ONLY_TRANSFERABLE` | -4 | Sponsorship cannot be removed from this ledgerEntry. This error will happen if the user tries to remove the sponsorship from a ClaimableBalanceEntry. | +| `REVOKE_SPONSORSHIP_MALFORMED` | -5 | One or more of the inputs to the operation was malformed. | ## Clawback @@ -548,10 +548,10 @@ Learn more about clawbacks: [Clawback Encyclopedia Entry](../../encyclopedia/tra | Error | Code | Description | | --- | --- | --- | -| CLAWBACK_MALFORMED | -1 | The input to the clawback is invalid. | -| CLAWBACK_NOT_CLAWBACK_ENABLED | -2 | The trustline between From and the issuer account for this Asset does not have clawback enabled. | -| CLAWBACK_NO_TRUST | -3 | The From account does not trust the issuer of the asset. | -| CLAWBACK_UNDERFUNDED | -4 | The From account does not have a sufficient available balance of the asset (after accounting for selling liabilities). | +| `CLAWBACK_MALFORMED` | -1 | The input to the clawback is invalid. | +| `CLAWBACK_NOT_CLAWBACK_ENABLED` | -2 | The trustline between From and the issuer account for this Asset does not have clawback enabled. | +| `CLAWBACK_NO_TRUST` | -3 | The From account does not trust the issuer of the asset. | +| `CLAWBACK_UNDERFUNDED` | -4 | The From account does not have a sufficient available balance of the asset (after accounting for selling liabilities). | ## Clawback claimable balance @@ -574,9 +574,9 @@ Learn more about claimable balances: [Claimable Balances Encyclopedia Entry](../ | Error | Code | Description | | --- | --- | --- | -| CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST | -1 | There is no existing ClaimableBalanceEntry that matches the input BalanceID. | -| CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER | -2 | The source account is not the issuer of the asset in the claimable balance. | -| CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED | -3 | `The CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG` is not set for this trustline. | +| `CLAWBACK_CLAIMABLE_BALANCE_DOES_NOT_EXIST` | -1 | There is no existing ClaimableBalanceEntry that matches the input BalanceID. | +| `CLAWBACK_CLAIMABLE_BALANCE_NOT_ISSUER` | -2 | The source account is not the issuer of the asset in the claimable balance. | +| `CLAWBACK_CLAIMABLE_BALANCE_NOT_CLAWBACK_ENABLED` | -3 | `The CLAIMABLE_BALANCE_CLAWBACK_ENABLED_FLAG` is not set for this trustline. | ## Set trustline flags @@ -602,11 +602,11 @@ Learn more about flags: [Flags Glossary Entry](../../glossary.mdx#flags) | Error | Code | Description | | --- | --- | --- | -| SET_TRUST_LINE_FLAGS_MALFORMED | -1 | This can happen for a number of reasons: the asset specified by AssetCode and AssetIssuer is invalid; the asset issuer isn't the source account; the Trustor is the source account; the native asset is specified; or the flags being set/cleared conflict or are otherwise invalid. | -| SET_TRUST_LINE_FLAGS_NO_TRUST_LINE | -2 | The Trustor does not have a trustline with the issuer performing this operation. | -| SET_TRUST_LINE_FLAGS_CANT_REVOKE | -3 | The issuer is trying to revoke the trustline authorization of Trustor, but it cannot do so because AUTH_REVOCABLE_FLAG is not set on the account. | -| SET_TRUST_LINE_FLAGS_INVALID_STATE | -4 | If the final state of the trustline has both AUTHORIZED_FLAG (1) and AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG (2) set, which are mutually exclusive. | -| SET_TRUST_LINE_FLAGS_LOW_RESERVE | -5 | Claimable balances can't be created on revocation of asset (or pool share) trustlines associated with a liquidity pool due to low reserves. | +| `SET_TRUST_LINE_FLAGS_MALFORMED` | -1 | This can happen for a number of reasons: the asset specified by AssetCode and AssetIssuer is invalid; the asset issuer isn't the source account; the Trustor is the source account; the native asset is specified; or the flags being set/cleared conflict or are otherwise invalid. | +| `SET_TRUST_LINE_FLAGS_NO_TRUST_LINE` | -2 | The Trustor does not have a trustline with the issuer performing this operation. | +| `SET_TRUST_LINE_FLAGS_CANT_REVOKE` | -3 | The issuer is trying to revoke the trustline authorization of Trustor, but it cannot do so because AUTH_REVOCABLE_FLAG is not set on the account. | +| `SET_TRUST_LINE_FLAGS_INVALID_STATE` | -4 | If the final state of the trustline has both AUTHORIZED_FLAG (1) and AUTHORIZED_TO_MAINTAIN_LIABILITIES_FLAG (2) set, which are mutually exclusive. | +| `SET_TRUST_LINE_FLAGS_LOW_RESERVE` | -5 | Claimable balances can't be created on revocation of asset (or pool share) trustlines associated with a liquidity pool due to low reserves. | ## Liquidity pool deposit @@ -635,13 +635,13 @@ Learn more about liquidity pools: [Liquidity Pools Encyclopedia Entry](../../enc | Error | Code | Description | | --- | --- | --- | -| LIQUIDITY_POOL_DEPOSIT_MALFORMED | -1 | One or more of the inputs to the operation was malformed. | -| LIQUIDITY_POOL_DEPOSIT_NO_TRUST | -2 | No trustline exists for one of the assets being deposited. | -| LIQUIDITY_POOL_DEPOSIT_NOT_AUTHORIZED | -3 | The account does not have authorization for one of the assets. | -| LIQUIDITY_POOL_DEPOSIT_UNDERFUNDED | -4 | There is not enough balance of one of the assets to perform the deposit. | -| LIQUIDITY_POOL_DEPOSIT_LINE_FULL | -5 | The pool share trustline does not have a sufficient limit. | -| LIQUIDITY_POOL_DEPOSIT_BAD_PRICE | -6 | The deposit price is outside of the given bounds. | -| LIQUIDITY_POOL_DEPOSIT_POOL_FULL | -7 | The liquidity pool reserves are full. | +| `LIQUIDITY_POOL_DEPOSIT_MALFORMED` | -1 | One or more of the inputs to the operation was malformed. | +| `LIQUIDITY_POOL_DEPOSIT_NO_TRUST` | -2 | No trustline exists for one of the assets being deposited. | +| `LIQUIDITY_POOL_DEPOSIT_NOT_AUTHORIZED` | -3 | The account does not have authorization for one of the assets. | +| `LIQUIDITY_POOL_DEPOSIT_UNDERFUNDED` | -4 | There is not enough balance of one of the assets to perform the deposit. | +| `LIQUIDITY_POOL_DEPOSIT_LINE_FULL` | -5 | The pool share trustline does not have a sufficient limit. | +| `LIQUIDITY_POOL_DEPOSIT_BAD_PRICE` | -6 | The deposit price is outside of the given bounds. | +| `LIQUIDITY_POOL_DEPOSIT_POOL_FULL` | -7 | The liquidity pool reserves are full. | ## Liquidity pool withdraw @@ -667,11 +667,11 @@ Learn more about liquidity pools: [Liquidity Pools Encyclopedia Entry](../../enc | Error | Code | Description | | --- | --- | --- | -| LIQUIDITY_POOL_WITHDRAW_MALFORMED | -1 | One or more of the inputs to the operation was malformed. | -| LIQUIDITY_POOL_WITHDRAW_NO_TRUST | -2 | There is no trustline for one of the assets. | -| LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED | -3 | Insufficient balance for the pool shares. | -| LIQUIDITY_POOL_WITHDRAW_LINE_FULL | -4 | The withdrawal would exceed the trustline limit for one of the assets. | -| LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM | -5 | Unable to withdraw enough to satisfy the minimum price. | +| `LIQUIDITY_POOL_WITHDRAW_MALFORMED` | -1 | One or more of the inputs to the operation was malformed. | +| `LIQUIDITY_POOL_WITHDRAW_NO_TRUST` | -2 | There is no trustline for one of the assets. | +| `LIQUIDITY_POOL_WITHDRAW_UNDERFUNDED` | -3 | Insufficient balance for the pool shares. | +| `LIQUIDITY_POOL_WITHDRAW_LINE_FULL` | -4 | The withdrawal would exceed the trustline limit for one of the assets. | +| `LIQUIDITY_POOL_WITHDRAW_UNDER_MINIMUM` | -5 | Unable to withdraw enough to satisfy the minimum price. | ## Invoke Host Function @@ -701,11 +701,11 @@ Learn more [here](../../encyclopedia/contract-development/contract-interactions/ | Error | Code | Description | | --- | --- | --- | -| INVOKE_HOST_FUNCTION_MALFORMED | -1 | One or more of the inputs to the operation was malformed. | -| INVOKE_HOST_FUNCTION_TRAPPED | -2 | The function invocation trapped in the Soroban runtime. | -| INVOKE_HOST_FUNCTION_RESOURCE_LIMIT_EXCEEDED | -3 | The function invocation could not complete within the currently configured resource constraints of the network. | -| INVOKE_HOST_FUNCTION_ENTRY_ARCHIVED | -4 | A ledger entry required for this function's footprint is in an archived state, and must be restored. | -| INVOKE_HOST_FUNCTION_INSUFFICIENT_REFUNDABLE_FEE | -5 | The refundable Soroban fee provided was not sufficient to pay for the compute resources required by this function invocation. | +| `INVOKE_HOST_FUNCTION_MALFORMED` | -1 | One or more of the inputs to the operation was malformed. | +| `INVOKE_HOST_FUNCTION_TRAPPED` | -2 | The function invocation trapped in the Soroban runtime. | +| `INVOKE_HOST_FUNCTION_RESOURCE_LIMIT_EXCEEDED` | -3 | The function invocation could not complete within the currently configured resource constraints of the network. | +| `INVOKE_HOST_FUNCTION_ENTRY_ARCHIVED` | -4 | A ledger entry required for this function's footprint is in an archived state, and must be restored. | +| `INVOKE_HOST_FUNCTION_INSUFFICIENT_REFUNDABLE_FEE` | -5 | The refundable Soroban fee provided was not sufficient to pay for the compute resources required by this function invocation. | ## Extend Footprint TTL @@ -729,9 +729,9 @@ Learn more in the [State Archival section](../../encyclopedia/storage/state-arch | Error | Code | Description | | --- | --- | --- | -| EXTEND_FOOTPRINT_TTL_MALFORMED | -1 | One or more of the inputs to the operation was malformed. | -| EXTEND_FOOTPRINT_TTL_RESOURCE_LIMIT_EXCEEDED | -2 | The TTL extension could not be completed within the currently configured resource constraints of the network. | -| EXTEND_FOOTPRINT_TTL_INSUFFICIENT_REFUNDABLE_FEE | -3 | The refundable Soroban fee provided was not sufficient to pay for TTL extension of the specified ledger entries. | +| `EXTEND_FOOTPRINT_TTL_MALFORMED` | -1 | One or more of the inputs to the operation was malformed. | +| `EXTEND_FOOTPRINT_TTL_RESOURCE_LIMIT_EXCEEDED` | -2 | The TTL extension could not be completed within the currently configured resource constraints of the network. | +| `EXTEND_FOOTPRINT_TTL_INSUFFICIENT_REFUNDABLE_FEE` | -3 | The refundable Soroban fee provided was not sufficient to pay for TTL extension of the specified ledger entries. | ## Restore Footprint @@ -754,6 +754,6 @@ Learn more in the [State Archival section](../../encyclopedia/storage/state-arch | Error | Code | Description | | --- | --- | --- | -| RESTORE_FOOTPRINT_MALFORMED | -1 | One or more of the inputs to the operation was malformed. | -| RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED | -2 | The archive restoration could not be completed within the currently configured resource constraints of the network. | -| RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE | -3 | The refundable Soroban fee provided was not sufficient to pay for archive restoration of the specified ledger entries. | +| `RESTORE_FOOTPRINT_MALFORMED` | -1 | One or more of the inputs to the operation was malformed. | +| `RESTORE_FOOTPRINT_RESOURCE_LIMIT_EXCEEDED` | -2 | The archive restoration could not be completed within the currently configured resource constraints of the network. | +| `RESTORE_FOOTPRINT_INSUFFICIENT_REFUNDABLE_FEE` | -3 | The refundable Soroban fee provided was not sufficient to pay for archive restoration of the specified ledger entries. |