field note 009 · 2026-10-23 · onchain, payments
our wallet was real on three chains, and the invoice listed a fourth
we built a small invoicing tool, and its template offered a stablecoin rail on a chain where our receiving address had nothing behind it. we caught that one while filling in the address. then the watcher we built to see payments land went blind on one chain for 15 days, and nothing told us.
an address is per chain
our receiving wallet is a smart-contract account. with a plain key-held wallet the address is the key, so it means the same thing on every chain that shares the format. a contract account only exists where somebody deployed it. the same 42 characters can be a working wallet on one chain and an empty slot on the next, and a payer's wallet app will happily send to either.
the invoice template we seeded shipped with two stablecoin lines: base, and avalanche c-chain. nobody had asked the chains. so before filling the address in we did, with eth_getCode, the remote procedure call (rpc) that returns whatever contract bytecode lives at an address. empty means no contract.
the template listed one chain where our wallet doesn't exist
eth_getCode at our receiving address, by chain
| chain | contract code | on the template | watched |
|---|---|---|---|
| ethereum | yes | yes | |
| base | yes | listed | yes |
| optimism | yes | yes | |
| avalanche | empty | listed | no |
| arbitrum | empty | no | |
| polygon | empty | no |
three live, three empty, and the template had picked one of the empties. a payment sent there would have gone to an address with no contract behind it. we cut the line, filled in only the chains we'd checked, and the note on the invoice says so.
fwiw the check is one call per chain. the template had been written by someone (us) assuming addresses travel.
then the watcher went quiet
a day later we added a watcher on our homelab box that pings us when funds land. it scans only the three chains where the contract exists, for the same reason: on the other three, nothing can arrive. every 3 minutes it asks each chain for token transfer logs to our address since a saved block cursor, and it moves the cursor only when a scan succeeds. that rule was the safety feature. a flaky endpoint costs one tick, and the next tick asks for the same range again.
on 2026-10-08 the base cursor fell behind, and from then on every free base endpoint refused the range it was asking for. the official public endpoint rate-limited us. one free tier rejects old ranges outright. another wanted an api key for archive reads. so every tick failed, logged a warning nobody reads, and left the cursor where it was. to anything downstream, a chain that fails every tick looks exactly like a chain where nobody sent anything.