Skip to content

Smart Contracts and Unconscionability: What Code Cannot Decide

A blockchain transaction can execute successfully while the surrounding agreement remains legally disputed. Smart-contract code automates specified actions; it does not by itself establish assent, fairness, governing law or an enforceable right to keep transferred assets. This guide concerns general U.S. contract issues, which vary by state and transaction.

Separate the legal questions · Check the liquidation example

A digital illustration depicting a smart contract displayed on a tablet, connected to floating blockchain cubes with orange data links. Beside it are a judge’s gavel, a law book showing justice scales, and a classical courthouse in the background—symbolizing the legal scrutiny of smart contracts in U.S. courts.

Execution and enforceability are separate questions

Start by identifying the parties, promised exchange, applicable law and the terms displayed before signing. A wallet signature proves a cryptographic action; its contractual meaning depends on the evidence and legal context. Publicly readable code is not necessarily understandable notice to a consumer.

What unconscionability can change

For an enacted example, New York UCC §2-302 permits a court to refuse enforcement, remove a clause or limit its application when it finds unconscionability at formation. Article 2 concerns sales of goods; do not assume it governs every token or service transaction.

Lawyers often distinguish problems in the bargaining process from excessively one-sided terms. The required test and relationship between these elements depend on the governing jurisdiction. Complexity, a price loss or unequal bargaining power alone does not establish the outcome.

Review a liquidation clause before deployment

QuestionEvidence to retain
Was the risk explained?The interface, warning and terms shown before assent
What triggers execution?Oracle source, timing and failure assumptions
Who can change the rules?Upgrade permissions and notice procedures
What happens in a dispute?Complaint route, applicable forum and available remedies

Illustration: a borrower disputes an automatic liquidation after a faulty price feed. The technical event, the promised oracle rules, contractual defenses and practical recovery are separate questions. A code audit addresses software risk; it is not a legal opinion on fairness.

Remedies do not require rewriting the chain

A court may address parties and legally available assets even when it cannot reverse a blockchain’s transaction history. Recovery depends on jurisdiction, identifiable counterparties, asset location and enforceable orders. A pause function can mitigate some operational risks while creating administrator and security risks of its own.

Before launch, have counsel review plain-language terms alongside the exact deployed version. Define which text governs conflicts, preserve version history, and test failure scenarios. The related governance guide offers a framework for documenting human responsibility around automated systems. Obtain advice on the actual transaction rather than relying on a universal “code is law” rule.

Last reviewed: November 15, 2026.

A dispute can involve several questions that should not be collapsed into a claim that “the code worked” or “the result was unfair.” Identify the parties, applicable law, alleged agreement, challenged term, technical event and requested remedy. Different evidence can be needed for each question.

Legal and technical questions to analyze separately
QuestionRelevant evidenceInsufficient shortcut
Formation and assentTerms presented, interface, action taken, identity and authorityA transaction hash alone proves agreement to every term
InterpretationControlling text, code version, definitions and conflict provisionsEveryone used the same meaning for a technical label
UnconscionabilityApplicable law, formation context and challenged termsAny loss or unequal outcome establishes the doctrine
Performance or breachPromised behavior, actual execution and relevant conditionsSuccessful execution proves every contractual obligation was fulfilled
Technical failureInput, oracle, permissions, deployment and event recordsEvery adverse output proves a software defect
Remedy and collectionIdentifiable parties, jurisdiction, assets and enforceable processA favorable legal argument guarantees repayment

Preserve the formation experience

Record what the user saw before the relevant action: the exact page, link presentation, button wording, warnings, transaction summary and terms version. A current interface may differ from the one used months earlier. Retaining only the latest terms can obscure what the parties actually encountered.

The Ninth Circuit's 2022 Berman decision addresses online notice and manifestation of assent in an arbitration dispute. It is not a blockchain case. Its relevance here is the need to examine the actual interface and conduct under the governing legal context, rather than assuming that an online action necessarily accepts every linked provision.

A wallet signature may authorize a transfer, grant a technical permission, sign a message or form part of a contractual process. Identify which action occurred and what it was represented to mean. Also ask whether the person had authority to bind an organization. Cryptographic control of a key does not answer every identity, authority or assent question.

Keep the statutory example within its scope

New York UCC §2-302 is an enacted example addressing unconscionability at the time the contract was made and possible treatment of an offending clause. Its commercial-setting evidence provision matters as well. Article 2's scope must be analyzed before assuming this particular section governs a token, loan, service or mixed transaction.

The applicable state's law may involve other doctrines, statutes or common-law principles. A legal review should identify the actual source and test. This guide does not establish a nationwide rule that both a bargaining problem and a one-sided term always have a fixed relationship in every case.

Do not use technical transparency as a substitute for notice

Source code can be public while the economic consequence remains difficult for the intended user to understand. Conversely, a complex system is not automatically unenforceable simply because it requires explanation. Review the actual audience, transaction, disclosure and opportunity to understand the relevant terms.

A useful plain-language summary explains the transfer, fees, collateral, trigger conditions and administrator powers. It should be reconciled with the controlling agreement and deployed behavior. A summary that confidently contradicts the implementation creates a different problem from an implementation that follows a clearly explained but contested term.

Use a liquidation example to identify the contested fact

The following is a fictional arithmetic example, not a description of a particular protocol, a lending recommendation or a legal conclusion. Assume a position has 100 collateral tokens, $1,200 of debt and a trigger based on debt divided by reported collateral value exceeding 75%. Ignore interest, fees and other mechanics unless expressly added.

Hypothetical trigger calculations
Reported token priceCollateral valueDebt divided by collateralAbove the stated 75% trigger?
$20$2,00060%No
$16$1,60075%No, if the rule is strictly greater than 75%
$15$1,50080%Yes

The difference between “greater than” and “greater than or equal to” matters at the boundary. A real implementation can use different ratios, collateral factors, debt measures, rounding and thresholds. Match the explanation to the actual rule rather than applying this simplified table to another product.

Distinguish a market loss from an input error

If the contractually relevant current price is genuinely $15 and the agreed rule uses that price, the 80% ratio follows from the stated assumptions. A user suffering a loss has not by that fact alone established a defective feed, breach or unconscionability.

If the agreed input should reflect $20 but an erroneous $15 input is used, the same code can act on a different economic situation: it sees an 80% ratio rather than 60%. The review then needs to establish what source and timing were promised, what value was actually supplied and how the contract allocates that risk.

Do not assume an error merely because another website showed a different price. Markets, timestamps, units and valuation methods can differ. Preserve the relevant source, timestamp, decimals, conversion and any freshness checks so the comparison concerns the same facts.

Explain the effect of a liquidation bonus

In a separate continuation of the fictional $15-price case, suppose a liquidator repays $400 and receives collateral valued at the repayment plus an assumed 5% bonus. The repayment plus bonus is $420, equivalent to twenty-eight tokens at $15. The position has seventy-two tokens left, valued at $1,080, and debt of $800.

The resulting simplified debt-to-collateral ratio is about 74.07%. This calculation assumes the price stays at $15 and no other charges or limits apply. It illustrates the cash and collateral consequences; it does not say a 5% bonus is lawful, fair, standard or appropriate for a real agreement.

Ask how the bonus is defined, who receives it, whether partial liquidation is permitted and which additional costs apply. A percentage of debt, a percentage of collateral and a percentage surcharge on repayment produce different amounts. A clear label is necessary before debating the legal effect of the term.

Review change powers alongside the economic terms

Can someone change the oracle, collateral factor, bonus, fee or pause condition after the position opens? Identify who has that authority, any notice or delay, and the applicable agreement. A technical permission and a contractual right to use it should be reviewed separately.

A pause or upgrade capability can help manage a fault while introducing its own control and security risks. Document its scope, access controls, approval and recovery process. Do not describe a discretionary administrator power as eliminating all loss, or an immutable deployment as eliminating all responsibility.

Build a record that connects the event to a possible remedy

A useful evidence file should make the disputed question understandable to counsel, a technical reviewer or the appropriate forum. It should distinguish what is publicly verifiable, what is asserted by a party and what remains unresolved. Do not alter records to make the narrative simpler.

Evidence record for the actual transaction
CategoryInformation to preserve
Parties and rolesKnown counterparties, operating entities, signatory capacity and relevant communications
AgreementTerms, interface, disclosures, assent record and applicable versions
DeploymentNetwork, contract address, code and configuration relevant to the event
TransactionHash, time, amounts, asset identifiers and emitted events
External inputOracle or other source, timestamp, units and relevant update history
Economic resultDebt, collateral, fees, transfers and loss calculation under explicit assumptions
ResponseComplaint, notice, requested action and applicable deadlines
UncertaintyDisputed facts, incomplete information and alternative explanations

Keep public records separate from confidential material

A public transaction identifier can help locate an event, but a complete review may also need private communications or identity information. Share that information through appropriate authorized channels. Never include seed phrases, private keys or other access credentials in a complaint packet, public post or request for legal advice.

A hash can identify a recorded version but does not prove that the content is truthful or that a person validly agreed to it. Preserve the underlying authorized record and context. A screenshot alone may omit the event or timing that matters.

Identify the remedy instead of saying “reverse the blockchain”

The available remedy might concern repayment, damages, an injunction, interpretation, an accounting or another legally available form of relief. Whether it exists depends on the claim, governing law, forum and facts. The analysis need not begin with an assumption that a court can edit historical chain data.

Even a favorable decision can face practical collection problems if the responsible party cannot be identified, is outside the forum's reach, lacks reachable assets or has competing obligations. Legal merits and recoverability are separate assessments. Do not promise that a pause button, an insurance label or a court filing guarantees reimbursement.

Compare text, configuration and behavior before release

Assign a legal reviewer to the actual terms and a technical reviewer to the actual deployed version and configuration. Reconcile differences before relying on the combined product. Keep approved versions, update records and a way to identify which version applied to a transaction.

Test boundary values, missing or stale inputs, decimal and unit conversions, permission changes and failure recovery using an authorized test environment. A test that the code executes as specified does not answer whether the specified term is enforceable. A legal review also does not establish that the implementation has no defects.

Use a scoped review budget without implying certification

As an invented planning example, twelve legal-review hours at $250 total $3,000, and twenty technical-review hours at $150 also total $3,000. Combined stated cost is $6,000 before any additional work. If new findings require eight more technical hours, the stated total rises by $1,200 to $7,200.

These are teaching amounts, not fee quotes or a sufficient review scope for every deployment. Identify the work, assumptions, excluded services and owner of unresolved issues. A paid review is not a certificate that every user dispute will be resolved in the operator's favor.

Keep the conclusion narrower than the evidence

  • Technical result: what the deployed system did under the actual input.
  • Contract result: what the parties agreed, if anything, and how the relevant term is interpreted.
  • Fairness issue: the actual doctrine and formation facts counsel identifies.
  • Operational issue: the input, permission or process that needs correction.
  • Recovery issue: the available remedy, responsible party and practical path to collection.

Does successful execution prove a contract is enforceable? No. Execution and the legal questions require different analysis.

Does every harsh loss establish unconscionability? No. Identify the applicable law, formation context and challenged terms.

Does a public source-code repository prove adequate notice? No. Examine what the user actually encountered and the relevant legal context.

Is an incorrect oracle value the same as an unfair clause? No. Input performance and the allocation or enforceability of risk can be separate issues.

Can a legal remedy exist without editing old chain records? Potentially, but the claim, parties, jurisdiction, assets and enforceable process determine what is available.

Gadgets

Advertisements