V

viem

V
viem Blockchain v2.57.16

viem@2.57.16

Patch Changes #5395 c60ca26e030706610bcf61689331008a30a3db2a Thanks @jxom! - viem/tempo: gatewayActions paid in the Gateway currency the Client account held most of, threw Gateway.InsufficientFundsError (with the account's balances) when it couldn't pay, and explained how to pay in Gateway.PaymentRequiredError. #5392 9348d386a9f62fd6713124e25360d6040e4a34cf Thanks @gakonst! - Stopped retrying JSON…

V
viem Blockchain v2.57.15

viem@2.57.15

Patch Changes #5339 a864b864b8b9031d970910fb8247471924d09280 Thanks @mortezashojaei! - Fixed getAbiItem to throw AbiItemAmbiguityError for overloads that JavaScript cannot distinguish, such as bytes vs bytes32, uint256 vs int256, and uint256[] vs uint256[2], while resolving distinguishable values by byte length and integer range. #5321 af062571382ec3631cf1901aeda9b58a87c8fad5 Thanks @evanaronson!…

V
viem Blockchain v2.57.14

viem@2.57.14

Patch Changes #5356 51b4392225161440bf29643e2fbced31c35cfa7a Thanks @jxom! - Added Relay.autoSwap, which buys a fill's missing token on the stablecoin DEX and reports the swap as capabilities.autoSwap. #5356 51b4392225161440bf29643e2fbced31c35cfa7a Thanks @jxom! - Fixed relay previews omitting every balance diff when a moved token is a plain ERC-20, such as a vault share, by reading its standard m…

V
viem Blockchain v2.57.13

viem@2.57.13

Patch Changes #5310 7e015cb1d72e6b54e4468d7dd60aa59a51fe8d9b Thanks @BaronOdon! - Added Molibra chain. #5314 c0d52cdcb262744a64e742e4cf891cbbde9ccdc9 Thanks @jxom! - viem/tempo: Keyed Relay.accounts stored configs by chain ID so account_getConfig no longer serves a config stored for another chain (configs stored under the previous key are no longer read), added a resolveConfig option that resolves…

V
viem Blockchain v2.57.12

viem@2.57.12

Patch Changes #5281 744f749bcd56fa0bc93efd0fcdc05125e0252c21 Thanks @jxom! - Fixed getAbiItem overload resolution for arrays with a 0 in the element size (e.g. uint160[]) or the wrong fixed length, tuple objects with reordered keys, and ambiguous address[] overloads. #5304 918955e81ef333af521e3e3e1b3fe03cb5231bdf Thanks @jxom! - Fixed serializeAuthorizationList and serializeTransaction to encode a…

V
viem Blockchain v2.57.11

viem@2.57.11

Patch Changes #5274 bea62b141a437cfd4027be182e94ae9b7a56fcf1 Thanks @mmv08! - Changed the default cacheTime to the shorter of pollingInterval and half of chain.blockTime, so block numbers are cached for at most half a block and a long pollingInterval no longer lengthens the cache. #5245 f4da1f6384a2bec09d81164a9bd953c159acdcd6 Thanks @wavebyrd! - Fixed watchEvent so concurrent polling watchers on…

V
viem Blockchain v2.57.10

viem@2.57.10

Patch Changes #5260 b56592f7b6cc2d01d926bf6cf278d53cbc0b6e17 Thanks @jxom! - viem/tempo: Added Actions.accounts.upgrade and Actions.accounts.upgradeSync to upgrade an existing account to a configurable account in place (TIP-1113), and an upgrade form of Account.fromConfig for the upgraded account. #5260 b56592f7b6cc2d01d926bf6cf278d53cbc0b6e17 Thanks @jxom! - viem/tempo: Added the configurable key…

V
viem Blockchain v2.57.8

viem@2.57.8

Patch Changes #5239 a97d64c1d401f2bdfb8c549cff6c4a4732d465be Thanks @erkancamli! - Fixed getEnsAvatar substituting the {id} placeholder of ERC-1155 metadata URIs with the raw token ID instead of its lowercase, zero-padded hexadecimal form. #5238 8b685f84ca257c1558bf3735dbd3c9e7acf19f5b Thanks @Iamsohungrynow! - Fixed encodeEventTopics and parseEventLogs hashing an indexed string arg as raw bytes i…

V
viem Blockchain v2.57.7

viem@2.57.7

Patch Changes #5232 d302ad053a31806644c39229423c58978dca8785 Thanks @mattsse! - Fixed prepareTransactionRequest to preserve relay-filled validBefore and validAfter bounds so sponsored Tempo transactions retain a valid fee-payer signature.

V
viem Blockchain v2.57.6

viem@2.57.6

Patch Changes #5228 b86b380b55928d6c5785cef1ddc9adf595fbe078 Thanks @jxom! - viem/tempo: Added typed TempoExecutionError errors to Tempo actions, with per-module subclasses carrying decoded arguments, fetched onchain details, and resolution hints. #5226 5a022d8b08d6b2d11e171fa11e4acea454c09a04 Thanks @jxom! - Added the ousd token address to Addresses in viem/tempo.

V
viem Blockchain v2.57.5

viem@2.57.5

Patch Changes #5193 41f75635dd04b6bbcc51a91180b708caf3273c0f Thanks @ironoa! - Added QMS Testnet chain. #5202 6501d059faac4f92cadc0099f67cf3fcc6aa6f4f Thanks @Blessing-Circle! - Updated Arc Testnet RPC and block explorer URLs from arc.network to arc.io. #5196 cae835c03cea2d13e2d36b76805010e45c0f6b99 Thanks @Kshot3000! - Fixed waitForCallsStatus resolving concurrent waits with the first call's opti…

V
viem Blockchain v2.57.4

viem@2.57.4

Patch Changes #5204 9adede02f2a5d171b8302e5671c3e4f70789fb57 Thanks @jxom! - Updated ox to 0.14.54, which keeps absent Tempo key-authorization limits (unlimited) distinct from an empty list (deny-all). #5190 2149aa18fc0363e702c81b95e0759c1f171eaace Thanks @struong! - Added the current Tempo ZoneInbox ABI, selectors, and predeploy address for reading deposit outcomes.

V
viem Blockchain v2.57.3

viem@2.57.3

Patch Changes #5180 031f5e2445031fed4328f32cb201f779b9101265 Thanks @jxom! - Fixed sendCalls with experimental_fallback enabled to recognize Base RPC's unsupported-method response. #5168 d6f63b57b4cc9b93654ca20f848b46a1080551d3 Thanks @bearpong! - Fixed getContractError throwing when an error cause is not an object. #5173 26d5bd227ba532ceff83bd76e807ea605c703e8b Thanks @jxom! - Updated automatic r…

V
viem Blockchain v2.57.2

viem@2.57.2

Patch Changes #5157 bc45023eb72279e225ed924ac93e4aae1589356c Thanks @myfxpaddy! - Added CRYMAD Chain and CRYMAD Chain L2 chains. #5162 cf4591306183f1622b376115cd4ed077b8fffb34 Thanks @tmm! - Marked Open USD as popular in its token definition and included it in tokens.popular. #5166 f9f9d1bc0bc9d7fa116a164cf9deceadfe5f35a8 Thanks @decofe! - Added from to Tempo token.burn and token.burnSync to burn…

V
viem Blockchain v2.57.1

viem@2.57.1

Patch Changes #5151 93ea7b3928b41929e5e8b1116937c0caf4f2606f Thanks @tmm! - Added Open USD (OUSD) token support on Ethereum, Tempo, and Base.

V
viem Blockchain v2.57.0

viem@2.57.0

Minor Changes #5138 6599af365a27476c9f9b7b6f2950941709807393 Thanks @jxom! - Added createClientResolver to lazily resolve and cache typed clients across configured chains using a transport map or callback. #5140 8a5ef5b06400530e7a45b6b52ed01e49c42f34dd Thanks @jxom! - viem/tempo: Added a Relay RPC handler with a composable plugin mechanism. import { createClient, Relay, Store } from "viem/tempo";…

V
viem Blockchain v2.56.9

viem@2.56.9

Patch Changes #5123 2068265d2fefb41da2ca672f7b8ef0d221efdbde Thanks @rabbitmainnet! - Added Rabbit Chain Testnet (chain ID 9280) to viem/chains. #5124 4767ff7be7aed3845b617f8b16806d72469ea657 Thanks @kyscott18! - Added the getStorageValues action for batch retrieval of contract storage slots. #5108 5a201d9a5996a836023bdb676c8d7c0f43f9c8fa Thanks @Lukecele! - Added Plasma mainnet addresses for USDC…

V
viem Blockchain v2.56.8

viem@2.56.8

Patch Changes #5110 f54b9d3e9d89dfc750525d57c9fd83ce0157aca1 Thanks @jxom! - Fixed declaration inference for exported Tempo chains by preserving named formatter return types.

V
viem Blockchain v2.56.7

viem@2.56.7

Patch Changes #5098 5a6b1e8ef72b8eabd237e0b3bb836108dc3654da Thanks @deepakansh11nov! - Added E Canna Mainnet (4111) and E Canna Testnet (4112). #5106 ed37560943385e6636153c0d8db7ac81f2013757 Thanks @hjchen-circle! - Added Arc mainnet addresses for EURC and cirBTC. #5107 1dfad6e684d635b5775812a219dc27b51ee4a081 Thanks @jxom! - Updated experimental multisig for the latest protocol, including recove…

V
viem Blockchain v2.56.6

viem@2.56.6

Patch Changes #5094 e80a7b1979439a3130d3f12b1d92d42379fd557a Thanks @0xjohnk! - Added public RPC, block explorer, Multicall3, and USDC address metadata to Arc. #5063 e38289c13777a3da75cca0549e4aa694884f456d Thanks @nicknixcape! - Added HyveChain. #5096 ee4489f4ebd0b9bdb6acb66b8e7b835616601ad5 Thanks @jxom! - Limited token balance and metadata probe gas to prevent failing candidates from exhausting…

V
viem Blockchain v2.56.5

viem@2.56.5

Patch Changes #5069 86adf420cfb20721ff99aa5bf6e6c1017588d473 Thanks @moyanghe-uniswap! - Fixed stateOverride being silently dropped by estimateGas in viem/linea — it was destructured into an unused rest object and never serialized onto the linea_estimateGas request, so overrides never reached the node.

V
viem Blockchain v2.56.3

viem@2.56.3

Patch Changes #5059 e3de334a73bd06ee16ba6a1e30e1bb2cf94ea708 Thanks @jxom! - Made Tempo Zone return types portable across declaration-emitting projects. #5061 1ba6aa3860bcbe2c1c51257b1a2c386d182507e7 Thanks @jxom! - viem/tempo: Added chain inference to Multisig.handleRequest downstream request options.

V
viem Blockchain v2.56.2

viem@2.56.2

Patch Changes #5042 5df98198c47cb898ba35a1afcd2abd5d0cbcc371 Thanks @Wagalidoom! - Fixed isHash returning true for odd-length hex strings. size rounds odd-length hex up to the next whole byte, so a 63-character hex string reported a size of 32 and passed the check. isHash now validates the length directly. #4913 ef4be8eb45abc773587abb1df7fd8791acf30413 Thanks @Kropiunig! - Fixed signed hexToBigInt…

V
viem Blockchain v2.56.1

viem@2.56.1

Patch Changes #5052 e336a1d93a39063fb1883ba0a84b5d37f313a35a Thanks @jxom! - viem/tempo: Fixed declaration emit for inferred Tempo chains.

V
viem Blockchain v2.56.0

viem@2.56.0

Minor Changes #5040 c73282bfa7309a5017f684b8001ec5c13fda4194 Thanks @jxom! - Breaking (viem/tempo): Renamed Abis.abis to Abis.all and expanded the aggregate with Earn and Zone ABIs. -const abis = Abis.abis +const abis = Abis.all #5040 c73282bfa7309a5017f684b8001ec5c13fda4194 Thanks @jxom! - Breaking (viem/tempo): Moved Zone exports from viem/tempo/zones into viem/tempo. -import { Abis, Addresses,…

V
viem Blockchain v2.55.19

viem@2.55.19

Patch Changes #5018 abf0d746952176eadbe5c72d9d708863d9bbb97e Thanks @david9104online! - Added Morph Tachyon mainnet and testnet chains. #5022 edfb7e7adf1398b26fb94ba47fe55331cb1f16a0 Thanks @jxom! - Updated multisig implementation. #5017 7aac99a43eddea3af4d511e5d6cfccb5a9caabc0 Thanks @JiahaoAlbus! - Added YNX Testnet chain.

V
viem Blockchain v2.55.18

viem@2.55.18

Patch Changes #5016 9244e27940675fa32b227d4ba845a0f574447e8a Thanks @struong! - Breaking(viem/tempo): Renamed the Tempo Earn private entry recovery parameter from recoveryRecipient to tempoRefundRecipient.