Swig TS — API References
    Preparing search index...

    Enumeration AuthorityType

    Represents the type of cryptographic authority used to authenticate actions on a Swig account.

    Index

    Enumeration Members

    Ed25519: 1

    Standard Ed25519 public key-based authority.

    Ed25519Session: 2

    A session-based Ed25519 authority with an expiration mechanism. Allows short-lived sessions to be derived from a main Ed25519 credential for performance and security.

    None: 0

    No authority. Used as a placeholder or uninitialized value.

    Secp256k1: 3

    Standard Secp256k1 public key-based authority (commonly used in Ethereum).

    Secp256k1Session: 4

    A session-based Secp256k1 authority with expiration. Useful for deriving temporary keys from a main Secp256k1 wallet (e.g., for transaction batching or short-lived app sessions).