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
_10import { getCollection } from "@onflow/sdk"
Parameters
id
(optional)
- Type:
string
- Description: The ID of the collection to get
Returns
InteractionBuilderFn
_10export type InteractionBuilderFn = (_10 ix: Interaction_10) => Interaction | Promise<Interaction>