Skip to main content

Doc autogenerated from onflow/sdk/src/build/build-get-collection.ts

getCollection

A builder function that returns the interaction to get a collection by ID

Import


_10
import { getCollection } from "@onflow/sdk"

Parameters

id (optional)

  • Type: string
  • Description: The ID of the collection to get

Returns

InteractionBuilderFn


_10
export type InteractionBuilderFn = (
_10
ix: Interaction
_10
) => Interaction | Promise<Interaction>


Rate this page