Follow Me: https://twitter.com/stevenkin

BNB FAM: https://bnbfam.com

.bnb 10K Club: https://bnbfam.com/10kclub

[NodeReal x SPACE ID Learn to Earn II] Campaign URL

https://galxe.com/NodeReal/campaign/GC2DrU4TnK

Preparation

  1. Go to https://nodereal.io using Google Chrome
  2. Press F12 on your keyboard, or Command + Option + i if you are using a Mac
  3. Switch to Console tab
  4. Query the following APIs one by one (Copy and Paste to the Console input), press Enter and get the results.

Query API: byOwners

(async() => {
    const ADDRESS = 'YOUR WALLET ADDRESS';
    const NODEREAL_API_KEY = 'YOUR NODEREAL API KEY';

    const response = await fetch(`https://open-platform.nodereal.io/${NODEREAL_API_KEY}/spaceid/domain/names/byOwners`, {
        method: 'POST',
        headers: {
            'Accept': 'application/json',
            'Content-Type': 'application/json'
        },
        body: JSON.stringify([
            ADDRESS
        ])
    })

    const data = await response.json();

    console.log(JSON.stringify(data, null, 2));
})();

Query API: byBinds