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

Function getAssetsByCreator

  • getAssetsByCreator(t, params, opts?): Promise<DasPage<DasAsset>>
  • Fetch all digital assets created by a given creator address.

    Parameters

    • t: HttpTransport

      HTTP transport instance

    • params: GetAssetsByCreatorParams

      Creator address, verification filter, and pagination options

    • opts: DasOpts & CallOptions = {}

      Commitment level and call options

    Returns Promise<DasPage<DasAsset>>

    Paginated list of assets by the creator

    Example

    const page = await getAssetsByCreator(transport, {
    creatorAddress: 'Creator111...',
    onlyVerified: true,
    });
    console.log(page.items.map(a => a.id));

    Since

    1.0.0

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

Settings

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

Generated using TypeDoc