From 8da493e8a8394e1e256a56c1f941b9a0e0c954a0 Mon Sep 17 00:00:00 2001 From: Asim Aslam Date: Wed, 9 Mar 2022 08:48:50 +0000 Subject: [PATCH] price nft --- nft/proto/nft.proto | 2 ++ nft/publicapi.json | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/nft/proto/nft.proto b/nft/proto/nft.proto index c608b9b..64d8bb1 100644 --- a/nft/proto/nft.proto +++ b/nft/proto/nft.proto @@ -188,6 +188,7 @@ message AssetsResponse { repeated Asset assets = 1; } +// Get a single asset by the contract message AssetRequest { string contract_address = 1; string token_id = 2; @@ -197,6 +198,7 @@ message AssetResponse { Asset asset = 1; } +// Get a collection by its slug message CollectionRequest { string slug = 1; } diff --git a/nft/publicapi.json b/nft/publicapi.json index 974d5fd..c1642e1 100644 --- a/nft/publicapi.json +++ b/nft/publicapi.json @@ -2,5 +2,12 @@ "name": "nft", "icon": "🪙", "category": "crypto", - "display_name": "NFTs" + "display_name": "NFTs", + "pricing": { + "Nft.Asset": 1, + "Nft.Assets": 1, + "Nft.Collection": 1, + "Nft.Collections": 1, + "Nft.Create": 1 + } }