Registry (Protobuf)
Thrown when encoding or decoding a message whose type URL is not registered:Any values:
Bech32
Thrown byfromBech32 for invalid addresses:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Protobuf registry, Bech32, hex, Base64, and public key encoding errors.
"Unregistered type url: /my.custom.MsgCustom"
import { Registry } from "@cosmjs/proto-signing";
import { defaultRegistryTypes } from "@cosmjs/stargate";
const registry = new Registry(defaultRegistryTypes);
registry.register("/my.custom.MsgCustom", MsgCustom);
Any values:
"Missing type_url in Any"
"Missing value in Any"
fromBech32 for invalid addresses:
"No bech32 separator found" // String has no '1' separator
"invalid checksum" // Corrupted or wrong address
"must be lowercase or uppercase" // Mixed case
"length X exceeds limit Y" // Address too long
"hex string length must be a multiple of 2"
"hex string contains invalid characters"
"Invalid base64 string format"
"Unsupported pubkey type"
"Pubkey type_url '...' not recognized as single public key type"
"Pubkey type URL '...' not recognized"
Was this page helpful?