Identify the destination, function and permissions before signing. After broadcast, use the receipt and relevant events to check the result.
Distinguish reading, signing and changing state
| Request | What it does | Gas / broadcast |
|---|---|---|
| Read Contract / eth_call | Simulates a call and returns data without committing state | Usually no user-paid on-chain gas; an RPC service can still charge for API access |
| Write Contract / transaction | Requests a state change from a signed transaction | Requires network execution and fees when included |
| Off-chain message signature | Authorises or attests to data | Signing itself does not require on-chain gas; someone may submit it later |
| Transaction signature | Authorises a transaction with its destination, value and data | Broadcast and inclusion are separate from signing |
A smart-contract address identifies deployed code on a particular network. The ABI, or application binary interface, describes how function arguments and returned values are encoded. Calldata is the bytes supplied to the call. Its first four bytes commonly identify a function selector; the rest encodes arguments. A selector alone does not prove a destination’s behavior or safety.
Read the request before approving it
- Match the network and destination address against the protocol’s official deployment list.
- Read the intended function and arguments: recipient, asset, amount, spending permission, deadline and minimum output.
- Separate native ETH value from token amounts in calldata. A transaction sending zero ETH can still approve or move valuable tokens.
- For typed messages, inspect the domain, chain, verifying contract, spender, amount, deadline and nonce. A signature can authorise later transfers.
- Inspect upgrade authority and proxy implementation where applicable. Verified source means the published source matches deployed bytecode under a verification process; it does not mean an audit found no vulnerabilities.
If the wallet cannot explain a request, pause and consult the official protocol documentation. This guide asks you to inspect public records, not connect a wallet or experiment with a Write Contract form.
- Choose an action and inspect its destination
- Wallet displays transaction or message request
- User reviews and signs only an understood request
- A transaction is broadcast
- Network executes and includes it
- Confirmations accumulate
- Reader checks receipt and application result
For a message-only request, the flow may stop after signing until another party submits it. No fee at the signing stage is not proof of harmlessness.
Decode a real historical contract call
Open the public UNI approval transaction on Ethereum. This example shows the execution record; the approval guide explains whether to retain or revoke such a permission.
| Execution field | Recorded value / meaning |
|---|---|
| Transaction hash | 0x4d42d72d00f882a22de8fea0369bb45c6c0164a7a761ca83ea290ce85f919924 |
| Contract called | 0x1f9840a85d5aF5bf1D1762F925BDADdC4201F984 |
| Function selector | 0x095ea7b3 → approve(address,uint256) |
| Status | Success |
| Block / UTC time | 25,490,809 / 2026-07-08 22:22:35 |
| Gas limit / gas used | 70,887 / 46,874 |
| Effective gas price | 0.19567015 gwei |
| Recorded fee | 0.0000091718426111 ETH |
The transaction’s receipt reports successful execution. Its Approval event identifies a permission change. It does not prove that a later swap succeeded. The gas limit is the permitted ceiling; gas used is the charged execution quantity. Here, 46,874 × 0.19567015 gwei = 0.0000091718426111 ETH. Current prices and confirmation counts are intentionally omitted.
Read a receipt and its events
A transaction receipt identifies the inclusion block, transaction status, gas usage and logs. Logs are events emitted by the executed contracts. Match the emitting address and event arguments to the action you intended; any contract can emit misleadingly named events, so labels alone are insufficient.
For a swap, inspect actual token movements and output constraints. For an approval, re-read allowance state if you need the current permission. A successful transaction can execute a different action from the one a misleading interface described. Some nonstandard token functions can return false without reverting; success at the EVM level is not a complete application-level check.
Diagnose pending and failed interactions
| State / error | Meaning | Next evidence |
|---|---|---|
| Pending | Not yet included in the observed chain | Check sender nonce, earlier pending transactions, fee conditions and the correct network |
| Reverted | Execution was included but state changes in the reverted scope were rolled back | Read available revert reason, parameters, allowance, balance, deadline and protocol limits |
| Out of gas | Execution exhausted the supplied gas limit | Use a current simulation and official documentation; do not blindly keep increasing limits |
| Success but unexpected result | Execution completed, but intent may differ | Inspect destination, calldata, receipt and relevant token/event records |
| Not found | Explorer has no record on that network | Confirm broadcast and full hash with the sender |
A reverted transaction can still consume gas because the network performed computation. Unspent execution gas is not automatically charged as if the entire gas limit were consumed; out-of-gas execution can consume the full provided limit. Rollup fees may also include data or operator components. Increasing a fee does not fix a wrong recipient, invalid permission or contract-level rule.
Check the outcome before retrying. A separately confirmed approval persists even if the swap later fails; a pending first attempt can still land. Save the chain, hash, error, contract version and intended action for legitimate support.
Frequently asked questions
Does “verified” mean “audited”?
No. Source verification and an independent security audit answer different questions; neither guarantees safety.
Can a read call fail?
Yes. It can revert under the simulated state, use an unsupported RPC method or exceed service limits without committing an on-chain transaction.
Can an off-chain signature later cost gas?
Signing itself can be free of network fees, while later submission or execution is an on-chain operation paid by a user, relayer or another payer.
Risks and limits
Public records explain what a network recorded. They do not prove a counterparty’s identity, future returns, contract safety or that an exchange credited an account. Network fees and protocol rules can change. This guide is educational; no wallet connection is needed to read it or use its tools.
Sources
- Ethereum transactions
- Ethereum JSON-RPC: calls and receipts
- Solidity ABI specification
- Source verification and its limits
- Historical UNI contract interaction
Verification Notes
The Etherscan record was available through its indexed transaction page; the example uses historical values and does not claim a fresh RPC query. No live contract call was submitted. Examples labelled illustrative are calculations, not live quotes. Source review is not a test transaction or security audit. Check current network, deployment and parameters before taking action.