Overview

Viem Integration Reference

Source-linked reference for the Viem utilities and client configuration used around Nibgate’s payment and access flows. This is a focused companion to the Nibgate integration guides, not an official Viem documentation site.

Scope

This reference documents 24 public APIs from Viem 2.54.1, the version declared by Nibgate at the start of this work. Signatures, parameter types, local exported types and source links are extracted from upstream commit e6e0c1bef949fbdc837662fbd41ebe739ccae030. The library is maintained by wevm, independently of Nibgate, and is MIT licensed.

Viem has a much wider API. Client methods, chain definitions, account abstraction and Tempo-specific modules are outside this deliberately scoped reference. Related utilities are included to make the encoding, amount formatting and verification paths understandable; inclusion does not claim that every function is directly imported by Nibgate.

Find an API

Clients and Transports

ABI Encoding

Addresses

Encoding and Hashing

Signatures

Units

How This Reference Was Produced

A TypeScript AST extractor reads the pinned source and joins the signatures with examples from the same upstream commit. Sourcey 3.9.0 builds the resulting Markdown into this searchable site. Source files and their hashes are preserved with the build configuration. See integration context and verification boundaries.

Attribution

Viem source and upstream examples are MIT licensed, copyright weth LLC. The full license is retained in the reference source package. Nibgate’s hosting and integration notes do not imply endorsement by wevm or Circle.

Independent Viem integration reference maintained by Nibgate. Upstream source: MIT, weth LLC.Docs by Sourcey