RAILGUN Reloaded
    Preparing search index...

    Type Alias RailgunAddressErrorCode

    RailgunAddressErrorCode:
        | "InvalidPrefix"
        | "InvalidChecksum"
        | "InvalidLength"
        | "UnsupportedVersion"
        | "InvalidMasterPublicKeyLength"
        | "InvalidViewingPublicKeyLength"
        | "InvalidChain"

    Type Declaration

    • "InvalidPrefix"

      The address does not begin with the 0zk1 prefix.

    • "InvalidChecksum"

      The bech32m checksum failed: the address is corrupt or mistyped.

    • "InvalidLength"

      The encoded address length is outside the bech32m bounds.

    • "UnsupportedVersion"

      The address version is not the current supported version.

    • "InvalidMasterPublicKeyLength"

      The master public key is not 32 bytes.

    • "InvalidViewingPublicKeyLength"

      The viewing public key is not 32 bytes.

    • "InvalidChain"

      The chain type is not an integer from 0 to 255, or the chain id is outside 0 to 2^56 - 1.