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

Function getAssetsByAuthority

  • getAssetsByAuthority(t, params, opts?): Promise<DasPage<DasAsset>>
  • Fetch all digital assets managed by a given authority address.

    Parameters

    • t: HttpTransport

      HTTP transport instance

    • params: GetAssetsByAuthorityParams

      Authority address and pagination/sorting options

    • opts: DasOpts & CallOptions = {}

      Commitment level and call options

    Returns Promise<DasPage<DasAsset>>

    Paginated list of assets under the authority

    Example

    const page = await getAssetsByAuthority(transport, {
    authorityAddress: 'Auth111...',
    page: 1,
    });
    console.log(page.total);

    Since

    1.0.0

    • Defined in src/das/methods/get-assets-by-authority.ts:43

Settings

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

Generated using TypeDoc