• Preparing search index...
  • The search index is not available
@oobe-protocol-labs/synapse-client-sdk
  • @oobe-protocol-labs/synapse-client-sdk
  • getAssetsByGroup

Function getAssetsByGroup

  • getAssetsByGroup(t, params, opts?): Promise<DasPage<DasAsset>>
  • Fetch all digital assets belonging to a specific group.

    Parameters

    • t: HttpTransport

      HTTP transport instance

    • params: GetAssetsByGroupParams

      Group key/value pair and pagination/display options

    • opts: DasOpts & CallOptions = {}

      Commitment level and call options

    Returns Promise<DasPage<DasAsset>>

    Paginated list of assets in the group

    Example

    const page = await getAssetsByGroup(transport, {
    groupKey: 'collection',
    groupValue: 'CollectionPubkey...',
    });
    console.log(page.total);

    Since

    1.0.0

    • Defined in src/das/methods/get-assets-by-group.ts:46

Settings

Member Visibility
@oobe-protocol-labs/synapse-client-sdk
  • Loading...

Generated using TypeDoc