endpoint-libs 3.4.3

Launch MCP services fast: describe endpoints once in RON, and endpoint-gen generates the Rust models, docs and MCP tool schemas that this crate serves over WebSocket RPC, with roles and typed errors built in.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Blockchain scalar decoding

Blockchain addresses and transaction hashes deserialize from canonical hexadecimal
strings. Addresses require `0x` followed by exactly 40 hexadecimal digits.
Transaction hashes require `0x` followed by exactly 64 hexadecimal digits.
Hexadecimal digits may use either case; serialization keeps the existing canonical
output.

The `WithBlockchainAddress` and `WithBlockchainTransactionHash` serde modules decode
their scalar values, while `BlockchainAddress` and `BlockchainTransactionHash`
implement `Deserialize` for their wrapper forms. All four entry points reject
non-string values, missing prefixes, incorrect lengths, and non-hexadecimal input.
Malformed values return serde errors instead of reaching fixed-byte slice
constructors.