@circle-fin/usdckit - v0.18.0
    Preparing search index...

    Function parseAccount

    • Parses an account address or object and adds serialization utilities.

      Parameters

      • account: `0x${string}`

        The account address or object to parse.

      • Optionaloptions: { chain: undefined }

      Returns Account & { chain: undefined }

      The parsed account with added toString and toJSON methods.

    • Parses an account address or object and adds serialization utilities.

      Parameters

      • account: `0x${string}` | Account

        The account address or object to parse.

      • options: { chain: Chain }

      Returns Account & { chain: Chain }

      The parsed account with added toString and toJSON methods.

    • Parses an account address or object and adds serialization utilities.

      Parameters

      • account: Account & { chain: Chain }

        The account address or object to parse.

      • Optionaloptions: { chain?: Chain }

      Returns Account & { chain: Chain }

      The parsed account with added toString and toJSON methods.

    • Parses an account address or object and adds serialization utilities.

      Parameters

      • account: Account & { chain: undefined }

        The account address or object to parse.

      • Optionaloptions: { chain: undefined }

      Returns Account & { chain: undefined }

      The parsed account with added toString and toJSON methods.

    • Parses an account address or object and adds serialization utilities.

      Parameters

      • account: `0x${string}` | Account

        The account address or object to parse.

      • Optionaloptions: { chain?: Chain }

      Returns Account

      The parsed account with added toString and toJSON methods.