Package com.nftworlds.wallet.api
Class WalletAPI
java.lang.Object
com.nftworlds.wallet.api.WalletAPI
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcreatePlayerPayment(org.bukkit.entity.Player from, org.bukkit.entity.Player to, double amount, Network network, String reason) Create a peer to peer payment linkgetNFTPlayer(UUID uuid) Get an NFT PlayergetNFTPlayer(org.bukkit.entity.Player player) Get an NFT PlayergetPrimaryWallet(UUID uuid) Get a player's primary walletgetPrimaryWallet(org.bukkit.entity.Player player) Get a player's primary walletgetWallets(UUID uuid) Get a player's walletgetWallets(org.bukkit.entity.Player player) Get a player's wallet<T> voidrequestWRLD(UUID uuid, double amount, Network network, String reason, T payload) Send a request for a WRLD transaction to a playervoidSend WRLD to a player's primary walletvoidSend WRLD to a player's primary wallet
- 
Constructor Details- 
WalletAPIpublic WalletAPI()
 
- 
- 
Method Details- 
getNFTPlayerGet an NFT Player- Parameters:
- uuid-
- Returns:
- NFT Player
 
- 
getNFTPlayerGet an NFT Player- Parameters:
- player-
- Returns:
- NFT Player
 
- 
getWalletsGet a player's wallet- Parameters:
- player-
- Returns:
- player's wallet
 
- 
getWalletsGet a player's wallet- Parameters:
- uuid-
- Returns:
- player's wallet
 
- 
getPrimaryWalletGet a player's primary wallet- Parameters:
- player-
- Returns:
- player's wallet
 
- 
getPrimaryWalletGet a player's primary wallet- Parameters:
- uuid-
- Returns:
- player's wallet
 
- 
requestWRLDSend a request for a WRLD transaction to a player- Parameters:
- uuid-
- amount-
- network-
- reason-
- payload-
 
- 
sendWRLDSend WRLD to a player's primary wallet- Parameters:
- uuid-
- amount-
- network-
- reason-
 
- 
sendWRLDpublic void sendWRLD(org.bukkit.entity.Player player, double amount, Network network, String reason) Send WRLD to a player's primary wallet- Parameters:
- player-
- amount-
- network-
- reason-
 
- 
createPlayerPaymentpublic void createPlayerPayment(org.bukkit.entity.Player from, org.bukkit.entity.Player to, double amount, Network network, String reason) Create a peer to peer payment link- Parameters:
- from-
- to-
- amount-
- network-
- reason-
 
 
-