Web
Here you'll find detailed info about the features of the Web SDK
Last updated
Here you'll find detailed info about the features of the Web SDK
Last updated
How to import:
How it looks like:
cursor: integer
- Start index of getStakes
protocol`s function (as it uses pagination).
amount: integer
- Number of viewed indexes of getStakes
protocol`s function (as it uses pagination).
chainId: integer
- Chain Id to be able to use it cross-chain.
metaverseFilter: string | string[]
- Using for metaverse filter. Any alone strings are converted to [string]
. Currently possible values are: decentranland
, sandbox
, somnium_space
, cryptovoxels, fabwelt
. Use empty array to get items from all metaverses.
typeFilter: string | string[]
- Using for asset type filter. Any alone strings are converted to [string]
. Currently possible values are: AVATAR
, WEARABLE
, MISC
. Use empty array to get items of all types.
subtypeFilter: string | string[]
- Using for asset subtype filter. Any alone strings are converted to [string]
. Use empty array to get items of all types.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
walletAddress: string
- Wallet address to use it to sign transactions.
spender: approve
- Spender of allowance.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
spender: approve
- Spender of allowance.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
walletAddress: string
- Wallet address to use it to sign transactions.
chainId: integer
- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
chainId: integer
- Chain Id to be able to use it cross-chain.
Return value:
If succeded:
If failed:
Our protocol uses semi-decentralized storage architecture for models conneted with our NFTs, so that only the owner is able to see his NFT's model.
How to import:
How it looks like:
walletAddress: string
- Wallet address to use it to sign transactions.
cached: bool
- If the userProof could be saved to the cache or not.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
cached: bool
- If the User Proof could be saved to the cache or not.
Return value:
If succeded:
If failed:
How to import:
How it looks like:
uri: string
- model_url from the NFT's metadata.
Return value:
If succeded:
If failed:
web3: Web3
- Web3 object from library (to use user's wallet).
NFT: dict
- Object with NFT data (element of array taken from functions).
signer: Signer
- Signer object from library (to use user's wallet).
NFT: dict
- Object with NFT data (element of array taken from functions).
web3: Web3
- Web3 object from library (to use user's wallet).
NFT: dict
- Object with NFT data (element of array taken from function).
signer: Signer
- Signer object from library (to use user's wallet).
NFT: dict
- Object with NFT data (element of array taken from function).
web3: Web3
- Web3 object from library (to use user's wallet).
signer: Signer
- Signer object from library (to use user's wallet).
userProof: Dict
- User Proof got using the above.