API - Write Queries
Getting Started
Obtention of an API Key
Contact the LAOS Foundation / Freeverse.io to request your private API key.
Each key is associated with a web3 address where you can view LAOS tokens, POLs, and ETHs.
Your account will be pre-filled with testnet LAOS tokens. Contact the LAOS Foundation for replenishment if needed.
API Key Usage Add your API key to the headers of all mutations:
Creating a Bridgeless Minting Collection
Use the following mutation to create your collection:
Expected response:
The response includes both the contractAddress
of the ERC721 contract on the target chain (in this case, Polygon), as well as the address of the underlying sibling collection in LAOS (in this case, 0xfff...da
. This query additionally deploys a smart contract capable of executing multiple mints in one single transaction (batchMinterAddress
).
Minting an First NFT
Use this mutation to mint an NFT:
Expected response:
contractAddress must be provided in lowercase format in all mutations. In the next release, both lowercase and checksum addresses will be accepted
Evolving an NFT
To modify the attributes of an existing NFT:
Expected response:
Last updated