Asks the given player for crypto. Throttled to 1.5s This function is also ONLY available when the player has recently clicked.
the quantity to send, default 0.01
Optional, Address of erc20 to send.
Optional,The network id if any erc20 address is given. (1=mainnet,137= polygon)
feature.on('click',e=>{
e.player.askForCrypto("0.05")
})
Teleports the avatar to a coordinate
string of coordinates, eg: NE@47W,250N
the contract address
the token id
A callback called on success and has a boolean (whether player has NFT or not) as argument
Callback called on fail. With a string as arugment (the reason)
Will Fetch whether the player has the given NFT and return the value using the callbacks provided
the chain identifier: 'eth' or 'matic'
the contract address
the token id
A callback called on success and has a boolean (whether player has NFT or not) as argument
Callback called on fail. With a string as arugment (the reason)
Generated using TypeDoc
Animate the avatar