JesterOC
Member
I just ported an OpenSea.io REST Function, bare with me...
( I HOPE YOU KNOW SOMETHING ABOUT BLOCKCHAIN )
It checks an ETH wallet address for an NFT asset (currently 1 per http call).
what the example shows (without changing anything):
the quantity of the checked asset "Orbiting an Epic Smile" in my own wallet and my opensea.io username of the wallet.
- FUNCTION:
osea_data_get_singleAsset( wallet_address ,token_id , asset_contract_address )
Just change out token_id and asset_contract_address to look for a different asset.
To look in a different wallet, change the first paramater to another wallet address.
For more info/download see:
...and the API reference for those interested:
and here's a screenshot of a successful NFT check (includes WAX NFTs in screenshot, but that is not included in this example).
( I HOPE YOU KNOW SOMETHING ABOUT BLOCKCHAIN )
It checks an ETH wallet address for an NFT asset (currently 1 per http call).
what the example shows (without changing anything):
the quantity of the checked asset "Orbiting an Epic Smile" in my own wallet and my opensea.io username of the wallet.
- FUNCTION:
osea_data_get_singleAsset( wallet_address ,token_id , asset_contract_address )
Just change out token_id and asset_contract_address to look for a different asset.
To look in a different wallet, change the first paramater to another wallet address.
For more info/download see:
GitHub - JesterOC3/JesterOC_OpenSea.io-REST-API-for-GMS: VERY Simple OpenSea REST API implementation in Game Maker Studio. Made for 2.3+
VERY Simple OpenSea REST API implementation in Game Maker Studio. Made for 2.3+ - JesterOC3/JesterOC_OpenSea.io-REST-API-for-GMS
github.com
...and the API reference for those interested:
Overview
The OpenSea API helps developers build new experiences using NFTs and our marketplace data. We provide a set of endpoints that enable you to fetch ERC721 and ERC1155 token metadata as well as other core elements of our marketplace, including events, collection, listings, offers, and more. We...
docs.opensea.io
and here's a screenshot of a successful NFT check (includes WAX NFTs in screenshot, but that is not included in this example).
Last edited: