Comment on page
- Lookup API: Use the Lookup API to check the availability of a specific TPA. This step ensures that the TPA you are trying to sell has a unique identifier and can be minted without any errors.
- Prepare API: Use the Prepare API to format the TPA data before sending it to the blockchain. This step ensures that the TPA data is properly formatted and ready for the blockchain.
You can generate an API key from your Dashboard at any time.
- Owner Username API: Use the Owner Username API to get the owner of the TPA. This step is essential to ensure that the TPA has a valid username and is eligible for Meta energy.
- Buy API: Use the Buy API to purchase the TPA and send it to the buyer's wallet. This step completes the transaction and ensures that the buyer receives the TPA they purchased.
Staging (Test) Version:
Good to know: For using the staging environment you have to switch your wallet to goerli test network.
To make your first request, send an authenticated request to the pets endpoint. This will create a
pet, which is nice.
Featured Plaques list
Take a look at what you might call this method:
curl -X 'GET' \ 'https://api.stagemeta.world/plaques/featured' \ -H 'accept: */*'
.then(response => response.json())
.then(data => console.log(data))
.catch(error => console.error(error));