Verify a Safe transaction on your Ledger: which hashes, which fields, and what the screen cannot show

A hardware wallet whose screen shows two hash lines, joined by dotted lines to the same two lines in an offline terminal, both ticked; behind the device a stack of five calls, one highlighted, sits in a shaded area the screen does not show

To verify a Safe transaction on a Ledger, turn on "Transaction hash" in the Ethereum app, recompute the domain hash and the message hash yourself from the ten transaction fields, and compare every character with the screen. A match proves the Ledger signs exactly what you hashed. It does not prove the transaction is safe.

Your Ledger may say "Blind signing ahead", show two long hex strings, or list raw fields. This guide says which hash is which, what to compare against, and what a match leaves open.

This guide is the device side of how to review a Safe transaction. It covers what a Ledger documents showing for a Safe signature, how to recompute the same hashes offline when the Safe UI or its API is down, and the blind spots no screen closes.

The short answer

  1. Turn on "Transaction hash" in the Ledger Ethereum app settings. It adds the domain hash and message hash to the end of every typed-data review.
  2. Get the ten Safe fields from a second channel, not from the page asking you to sign.
  3. Recompute the domain hash and message hash yourself, offline if needed. Five cast commands are enough.
  4. Compare every character of both hashes on the device. Mismatch: stop.
  5. Read the fields the device shows: target, value, operation, gas and refund fields. An operation of 1 (Delegate Call) to anything but the canonical MultiSend: stop.
  6. Then ask what the bytes do. A matching hash proves you sign what you hashed, not that it is safe.

What your Ledger shows for a Safe signature

Confirming a Safe transaction is an EIP-712 typed-data signature over a SafeTx: ten fields (to, value, data, operation, safeTxGas, baseGas, gasPrice, gasToken, refundReceiver, nonce) inside a domain made of the chain ID and the Safe address. What the Ledger Ethereum app renders depends on its settings and on whether it has a clear-signing description for that message. From the app's public source code, checked 2026-11-16 (settings, EIP-712 display logic, at the develop commit of that day):

What you seeWhenWhat to compare
"This transaction cannot be clear-signed" / "Blind signing must be enabled in settings"No clear-signing description, and both "Blind signing" and "Raw messages" are off. The app refuses.Nothing yet. Turning blind signing on is a decision, not a fix: do it only with the hash check below.
Raw fields: to, value, data, operation, gas fields, nonceNo description, and blind signing or "Raw messages" on. Stax, Flex and Apex list the message fields; Nano devices only with "Raw messages" on.Every field against your intent. operation is a bare 0 or 1.
Message hash onlyNano, no description, blind signing on, "Raw messages" off and "Transaction hash" off.The message hash, character by character. It covers all ten fields; turn on "Transaction hash" to see the domain hash too.
Domain hash and Message hash"Transaction hash" setting on ("Always display the transaction or message hash"). Added as the last page.Both, character by character, against your own computation.
Labelled screen: To, Value, Operation type, Transaction, gas fieldsA clear-signing description is applied. The public ERC-7730 registry holds one for SafeTx.The labelled fields. Note that this description sets nonce and safeTxGas to "never" visible: only the message hash covers them.

Two honest unknowns. Ledger's own public docs, as we could read them on 2026-11-16, do not say whether a Ledger signing through the Safe web app gets that SafeTx description today. The one Ledger announcement of clear signing for Safe accounts is for its own interface, Ledger Enterprise Multisig (2025-10-23). The registry's SafeTx descriptions are keyed to Safe's singleton contracts, not to your Safe's own address, so a wallet has to resolve your Safe to its singleton before it can apply one. And the exact screens vary by model and app version. So read what your screen says, not what a guide says it should say, and keep "Transaction hash" on in every mode: it is the one check that covers the fields a screen hides.

Ledger's definition is blunt: blind signing is "approving a digital transaction without being able to verify its full details" (Ledger Academy). Blind signing a Safe transaction is not reckless if you recompute the hashes. Blind signing without recomputing them is signing whatever the host computer chose.

Which hash is which

Four hashes get called "the hash". Only two of them are on your screen when you confirm.

  • Domain hash: chain ID and Safe address only. Same for every transaction of that Safe on that chain. A match tells you nothing about the transaction.
  • Message hash: the ten SafeTx fields, with data hashed. This is the one that changes when anything in the transaction changes.
  • SafeTxHash: keccak256(0x1901 ‖ domain hash ‖ message hash), where keccak256 is the hash function Ethereum uses everywhere. What the Safe UI and API index transactions by. Your device signs it, but the Ledger modes above show its two halves, not the result.
  • The onchain transaction hash: exists only when someone executes. Executing is an ordinary Ethereum transaction to your Safe address calling execTransaction. A hash shown during execution belongs to that transaction. Do not compare it with the SafeTxHash.

If you are the last signer and you execute, Safe{Wallet} counts your approval through the sender of execTransaction (Safe.sol v1.4.1 treats the account that executes as having approved), so your device signs an ordinary Ethereum transaction, not the typed data. It shows that call: raw data starting 0x6a761202, or, where the registry's execTransaction description applies, Operation type, To, Amount and Transaction. With "Transaction hash" on, the hash it shows is that Ethereum transaction's, not the SafeTxHash, and the nonce is not in that call at all. Check to, value, operation and data against your review. To keep the hash check, confirm your signature first without executing, then execute in a second step.

On our synthetic batch from the review guide (Safe 0x…0a1, chain ID 1, nonce 42, a six-call MultiSend), a correct device shows:

PayloadDomain hashMessage hash
Batch A, as proposed0x2876acb9…bf6edd6f0xc11acd49…6ad30201
Same batch, nonce typed as 430x2876acb9…bf6edd6f (unchanged)0xb9c52123…1c82ce61
Same batch, chain ID 100x4507a209…4e94ebf7unchanged, but the SafeTxHash moves with the domain

From our offline run on 2026-11-16; full values in the downloadable example. The SafeTxHash of batch A is 0x4665039a…e62f257c, the same value the review guide published on 2026-11-15. If you only check the domain hash, you check nothing that changes between transactions. If a hash on your device does not match, the hash mismatch decision tree finds what differs and whether to stop.

Recompute it without the Safe UI or API

When the Safe UI looks wrong, or its Transaction Service API is down, you still need two things: the ten fields, and something that hashes them that you trust more than the page asking you to sign.

Get the fields from a second channel

Ask the proposer for the raw fields through a channel other than the Safe interface, or read them from the proposer's own tooling. safe-tx-hashes-util's README is explicit: "Do not copy calldata from the Safe UI's copy button." For a long data, compare its keccak hash rather than reading hex aloud.

Hash them with a tool that does not need the API

ToolWithout the Safe APIWatch out for
OpenZeppelin Safe UtilsManual input of the transaction details is a built-in mode. It computes the domain and message hashes. READMEA website: you trust what it serves you that day, unless you run it yourself.
safe-tx-hashes-util--interactive: you enter or confirm every field. If the API is down, defaults "fall back to zero values". READMEA zero default can be wrong. In interactive mode it shows no warning when several transactions share a nonce, and no decoded method.
Cyfrin safe-tx-hashesOffline mode, named by Safe's own guide for when "the Safe API is currently unavailable". Safe helpSame as any tool: it hashes what you type.
Plain cast (Foundry)Five commands, no network. Below.Applies to Safe v1.3.0 and later, whose domain includes the chain ID.

Tool facts from each README or help page, checked 2026-11-16. We ran only the last row.

Simplest: open OpenZeppelin Safe Utils, choose manual input, paste the ten fields from your second channel, and compare its two hashes with the screen. If you want a check that does not depend on any website, a teammate with a terminal can run the cast recipe below.

For the teammate who uses a terminal: five cast commands

Fill in your chain ID, Safe address and the ten fields as shell variables. Nothing here touches the network:

  1. Domain type hash: DOMAIN_TYPEHASH=$(cast keccak "EIP712Domain(uint256 chainId,address verifyingContract)")
  2. SafeTx type hash: SAFETX_TYPEHASH=$(cast keccak "SafeTx(address to,uint256 value,bytes data,uint8 operation,uint256 safeTxGas,uint256 baseGas,uint256 gasPrice,address gasToken,address refundReceiver,uint256 nonce)")
  3. Domain hash: DOMAIN_HASH=$(cast keccak $(cast abi-encode "f(bytes32,uint256,address)" $DOMAIN_TYPEHASH $CHAIN_ID $SAFE))
  4. Message hash: MESSAGE_HASH=$(cast keccak $(cast abi-encode "f(bytes32,address,uint256,bytes32,uint8,uint256,uint256,uint256,address,address,uint256)" $SAFETX_TYPEHASH $TO $VALUE $(cast keccak $DATA) $OPERATION $SAFE_TX_GAS $BASE_GAS $GAS_PRICE $GAS_TOKEN $REFUND_RECEIVER $NONCE))
  5. SafeTxHash: cast keccak $(cast concat-hex 0x1901 $DOMAIN_HASH $MESSAGE_HASH)

To check the recipe before you trust it, paste the batchAVariables lines, then the commands, from the downloadable example into a shell, then echo $DOMAIN_HASH $MESSAGE_HASH $SAFE_TX_HASH. You should get batch A's three hashes, the full values behind the shortened ones above. On 2026-11-16 we ran exactly this recipe with cast 1.7.1 on batch A. It gave the same domain hash, message hash and SafeTxHash as Guard's implementation and viem's EIP-712 code. Three implementations, one answer.

What a matching hash proves, and what it does not

When you cannot trust the website, you can still trust arithmetic you ran yourself. A match proves one thing: the device is about to sign the exact fields you hashed. That closes the attack where the screen shows one transaction and the host hands the device another.

It proves nothing about what those fields do. In the review guide we built three versions of the same batch: the normal one, one where a single byte turns call 5 into a delegatecall, and one where call 5 becomes an unlimited approval. Each produces a valid-looking pair of hashes, and if you hash the payload you were given, each one matches. Guard classified the last two BLACK: "Do NOT sign. Raise an incident." The device check passed all three.

So the hash check binds the device to your review. It does not replace it. If the fields you hashed came from the same compromised source as the transaction, a match just confirms the attacker's payload. That is why step 2 says second channel.

Blind spots the screen cannot close

Calls inside a MultiSend

A batch is to = MultiSend, operation = 1, and data packing every call with its own operation byte. A raw-field screen shows that blob as hex. A clear-signing description can nest calldata (the encoded instruction each call carries), but only for what it can decode. Whether a given inner call is a CALL or a DELEGATECALL is one byte you will not find on a small screen. Decode the batch call by call off the device.

A delegatecall that is not a batch

This one is visible: operation 1 with a to that is not the canonical MultiSend. On a raw screen it is just "1", no warning. That is the shape of the Bybit theft of February 2025, covered in the review guide. Guard classifies a delegatecall to anything other than MultiSend as BLACK. On your device, it is a single digit. Look for it every time.

Nested Safes

If your Safe is owned by another Safe, you are approving a pointer to the transaction, not the transaction: check that the pointer is the hash you reviewed.

If a Safe owns your Safe, its signers do not sign your SafeTxHash. The owner Safe calls approveHash on yours with your SafeTxHash as the argument, and its signers sign that, as the safe-tx-hashes-util README describes (--nested-safe-address). We computed it for batch A, with a synthetic owner Safe 0x…0a2 at nonce 7:

The two hashes, computed for batch A
  • What the nested signer's device shows: domain hash 0x5b8636f5…f73f986e and message hash 0xbc8fd413…21abde24, the hashes of the owner Safe's own transaction.
  • Where batch A appears: only inside data, as the approveHash instruction followed by your Safe's SafeTxHash (4665039a…e62f257c).

So a nested signer has two checks: their own hashes match, and the 32 bytes inside data are the SafeTxHash of the transaction they actually reviewed. Skip the second, and you approve whatever hash was put there. Safe's docs add that an approved hash "stays approved forever" with no revocation (approveHash).

Names supplied by the host

A friendly name next to an address on a clear-signed screen is only as good as its source. Check the raw address against the one you expect, out of band, at least for recipients and spenders.

What comes later

An approval executes as a harmless allowance change today and becomes the loss tomorrow. No screen shows the future. That is a review question, covered in the review guide.

Ledger, Trezor, Keystone: what each vendor documents

Only what each vendor's own pages state, checked 2026-11-16. "Not stated" means the page does not say, not that the feature is missing. We did not test these devices for this guide.

DeviceDocumentedNot stated
Ledger (Ethereum app)Raw EIP-712 fields (always on Stax, Flex, Apex; Nano with "Raw messages"), domain and message hash with "Transaction hash" on, refusal without blind signing, clear signing through ERC-7730 descriptors. Source, clear signingWhether the Safe web app flow gets the registry's SafeTx description; a SafeTxHash page.
TrezorClear Signing based on ERC-7730 on Safe 7, Safe 5, Safe 3 and Model T, not Model One; without a descriptor, a blind-signing warning. Trezor, 2026-09-07. Older Connect docs: Model T confirms all typed-data details, Model One blind-signs a domain hash and message hash. Connect docsSafe multisig specifically; which hashes current firmware shows.
KeystoneAir-gapped QR flow with Safe; decodes multisig transactions (firmware M-7.2 or newer), listing "Transaction ID, Addresses of both parties, Transaction Fee, Path, Transfer Value, etc." Keystone, Safe guideThe operation field, a delegatecall warning, domain or message hashes.

Different devices see different fields. If your quorum mixes models, that is a feature: one signer may see the hashes, another the decoded fields. Agree in advance who checks what.

When the device check alone is enough

More often than security threads suggest:

  • A single transfer, operation 0, of a token you know, to an address you confirmed out of band, and your device shows to, value and the decoded recipient and amount. Recompute the message hash once and sign.
  • A rotation you initiated yourself, such as an owner change, from fields you built, with hashes you recomputed.

It is not enough when the transaction is a batch, when operation is 1, when data calls something you cannot name, when it leaves an approval behind, or when you are a nested signer and cannot see what you are approving. Then the screen binds; it does not explain.

Questions signers ask

Where is the SafeTxHash on my Ledger?

It is not shown as one value. With the "Transaction hash" setting on, the Ledger Ethereum app shows the domain hash and the message hash, the two halves the SafeTxHash is built from. Compare both halves with your own computation, or combine them yourself: SafeTxHash = keccak256(0x1901, domain hash, message hash).

Do I have to turn on blind signing?

Only when no clear-signing description applies, and then the Ledger refuses without it. Blind signing is acceptable only together with the hash check: turn on "Transaction hash" too, recompute both hashes yourself, and compare every character.

Why does my Ledger show no domain or message hash when I execute?

Because you are not signing the typed data. When you execute as the last signer, the Safe counts you as a signer through the sender of execTransaction, so your device signs an ordinary Ethereum transaction calling execTransaction. It shows that call and, with "Transaction hash" on, that transaction's own hash, never the domain or message hash and never the nonce. Compare to, value, operation and data with your review, or confirm your signature first without executing, then execute. Details in which hash is which.

Does clear signing make the hash check unnecessary?

No. The public ERC-7730 description for SafeTx labels the main fields but sets nonce and safeTxGas to never visible, and a friendly name is only as good as its source. Keep "Transaction hash" on: the message hash is the one check that covers every field.

My Ledger hash does not match my tool. What now?

Do not sign. Check first that you compare the same kind of hash, then find which one differs: the domain hash points to chain, Safe address or Safe version; the message hash to one of the ten fields. Sign only once you reproduce the device's exact hash from fields you agree with. The full decision tree: Safe transaction hash mismatch.

Check one with a report

Hacking Guard reads the transaction as it will be signed, unpacks every call, recomputes the hashes and sends a signed report with a verdict. For a pending transaction, its hardware wallet checklist lists the domain hash and message hash your Ledger should show, split into short chunks for comparison, so you compare against values computed away from the page that asked you to sign. The free check needs no account. It works for any Safe transaction.

A refusal is a stop sign, not a lock: your owners can still reach the threshold, and your team reads the report and decides.

Analyze the sample transaction

Or see what Hacking Guard checks. Let's stop funding Lazarus.

About this guide

Published by Runtime Guard. We build Hacking Guard. The worked example is an offline script we ran on 2026-11-16: it rebuilds the synthetic batch A of the review guide, computes its hashes with Guard's code, viem and the cast recipe above (cast 1.7.1), asserts that they agree with each other and with the values published on 2026-11-15, then computes one typo, one chain change and a nested owner Safe's approveHash transaction. Nothing was deployed, simulated, signed or broadcast, and no hardware wallet was used: device behaviour comes from vendor source code and documentation, checked 2026-11-16. The executor case rests on Safe.sol v1.4.1, checkNSignatures: a signature entry with v = 1 is accepted when msg.sender is that owner ("hashes are automatically approved by the sender of the message"). The inputs and outputs are in the downloadable example. Bybit facts are sourced in the review guide.

Related reading

Hacking Guard: a signed report on a Safe transaction before you sign