Function getCollection

  • Get the collection by an db address and collection name

    const collection = await getCollection("0x....", "col1", client)
    

    Parameters

    • addr: string

      a hex format string database address

    • name: string

      the name of collection

    • client: Client | ReadClient

    Returns Promise<Collection>

    the Collection

Generated using TypeDoc