Swig TS — API References
    Preparing search index...

    Function getCreateAuthorityInfo

    • Creates authority info for any authority type. Delegates to the appropriate create*AuthorityInfo function based on type.

      Parameters

      • type: AuthorityType

        The authority type

      • id: Uint8Array

        The authority identifier (public key bytes)

      • OptionalmaxDurationSlots: bigint

        Maximum session duration in slots (required for session types)

      • OptionalsessionKey: SolPublicKeyData

        Optional session key for session authorities

      Returns CreateAuthorityInfo

      CreateAuthorityInfo