-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Decoding AssetId for Estates #663
Comments
Hey, you don't need to use The
E.G: This will get the order for the Estate with Id |
Cool, that works. How can I get the # of LAND available in that estate and their particular coordinates? |
Get # of LAND by EstateIdconst stateSize = await estateContract.getEstateSize(EstateId) Get LAND coordinates by EstateIdfor (let i = 0; i < stateSize; i++) {
// LAND
const landId = await estateRegistry.estateLandIds(estateId, index)
} |
sweeet, thanks. And the estateContract is built up of the estate contract ABI and estate Proxy address correct? |
Yes! |
doooopeeee. all sorted, thank you! |
I've tried this with both the EstateRegistryContractAddress as well as the MarketPlace (& Proxy) address to no avail. Any ideas what I could be doing wrong @nachomazzara ?
|
That estate doesn't have an open publication. |
@nachomazzara I tried the above with an estate on sale and no dice. Sorry I'm just getting back to you, I'm just now circling around to this issue |
You can’t use etherscan to check it cause you need to use the proxy contract address with the contract ABI. You can do it with mycrypto Marketplace proxy contract: Marketplace contract: |
ahh okay, that fixed it!
I was using the address from the example just below this one ^, but it was the marketplace address! And thank you, mycrypto works way better! |
🎉 Description
Whenever I utilize the decodeTokenId() with an assetId from an estate I get back false X, Y values.
!!!!! This is more a request for help
📝 Details
So I'm getting data from the blockchain and running it through the decodeTokenId function. Whenever it's an estate I'm not able to get the sale/creation data. How can I do that for an estate?
The text was updated successfully, but these errors were encountered: