HomeEnglish

English

ERC-20 approve replaces a spending limit rather than adding to it

Changing an ERC-20 approval replaces the remaining allowance. A worked token example explains the overwrite rule, the zero-reset recommendation and a library compatibility limit.

Ethereum applies storage refunds after execution, with a separate cap

A storage refund changes Ethereum gas accounting after execution. Work through the one-fifth cap and distinguish a refund counter from unused gas and the upfront fee budget.

A bond coupon can include interest you already paid the seller

A bond quote and the settlement bill can differ because of accrued interest. A worked example separates the cash you advance from the interest you actually earn.

Ethereum chain IDs bind a transaction signature to its network

A chain ID enters the signed Ethereum transaction. Follow the mainnet example through the RPC response, legacy signature arithmetic and type-2 transaction format.

Bitcoin Core fee estimates can return errors instead of a rate

Read the errors, returned block target and BTC/kvB unit together before treating a Bitcoin Core estimatesmartfee response as a usable quote.

Ethereum address checksums: mixed case is not the whole test

ERC-55’s official test cases include all-uppercase and all-lowercase addresses. A checksum depends on the calculated encoding, not its visual mix of capitals.

Bitcoin gettxout returns null: check the output and mempool view

Bitcoin Core’s gettxout checks one unspent output. Its null result and default mempool view need careful interpretation before you infer a confirmed spend.

Ethereum gas estimates can exceed what a transaction uses

Ethereum gas estimates can exceed actual usage. The RPC documentation explains the optional gas limit and why Geth’s pending-block upper bound can also leave a call short.

Bitcoin Core analyzepsbt: find missing data before asking for another signature

Bitcoin Core analyzepsbt separates missing input data, missing signatures and finalized inputs. Its fee fields have a documented prerequisite.

Bitcoin txid and wtxid: two identifiers for one transaction

Bitcoin Core can return a txid and a different hash for one witness transaction. Learn which data each identifier covers and how to compare the fields.