From 84b712b2e90559a95ba9740186328e994abd00e1 Mon Sep 17 00:00:00 2001 From: Nhan Phan Date: Tue, 11 Jun 2024 00:12:42 -0700 Subject: [PATCH] update doc --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0b9d885..0944569 100644 --- a/README.md +++ b/README.md @@ -38,22 +38,22 @@ A JavaScript library for getting assets and collections from DAS in the Mpl Core }); // Fetch assets by authority - const assetsByAuthority = await das.fetchAssetsByAuthority(umi, { + const assetsByAuthority = await das.getAssetsByAuthority(umi, { authority: publicKey(''), }); // Fetch assets by owner - const assetsByOwner = await das.fetchAssetsByOwner(umi, { + const assetsByOwner = await das.getAssetsByOwner(umi, { owner: publicKey(''), }); // Fetch assets by collection - const assetsByCollection = await das.fetchAssetsByCollection(umi, { + const assetsByCollection = await das.getAssetsByCollection(umi, { collection: publicKey(''), }); // Fetch collections by authority - const collectionsByUpdateAuthority = await das.fetchCollectionsByUpdateAuthority(umi, { + const collectionsByUpdateAuthority = await das.getCollectionsByUpdateAuthority(umi, { updateAuthority: publicKey(''), }); ```