CLI

1. Install NEAR CLI

1
npm install -g near-cli
Copied!

2. Deploy a Store and Mint tokens on Mintbase UI

Mintbase

3. Fetch token data from CLI

Change the contract name
1
near view dip3.mintspace2.testnet nft_tokens '{"from_index": "0", "limit": 10}'
Copied!

Get the NFTs owned by...

1
near view dip3.mintspace2.testnet nft_tokens_for_owner '{"account_id":"testbase.testnet", "from_index": "0", "limit": 10}'
Copied!
Last modified 1mo ago