Swig TS — API References
    Preparing search index...

    Function fetchMaybeSwigAccount

    • Fetches a swig account. Will return null if the account is not found

      Parameters

      • connection: Connection

        Connection

      • swigAddress: PublicKey

        Public key of the Swig

      • Optionalconfig: Commitment | GetAccountInfoConfig

        commitment or GetAccountInfo config

      Returns Promise<null | SwigAccount>

      SwigAccount | null