Package com.nftworlds.wallet.objects
Class Wallet
java.lang.Object
com.nftworlds.wallet.objects.Wallet
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
createPlayerPayment
(NFTPlayer to, double amount, Network network, String reason) Create a peer to peer payment link for playerdouble
getWRLDBalance
(Network network) Get the wallet's WRLD balancevoid
Deposit WRLD into this wallet<T> void
requestWRLD
(double amount, Network network, String reason, T payload) Send a request for a WRLD transaction from this wallet
-
Constructor Details
-
Wallet
-
-
Method Details
-
getWRLDBalance
Get the wallet's WRLD balance -
requestWRLD
Send a request for a WRLD transaction from this wallet- Parameters:
amount
-network
-reason
-payload
-
-
payWRLD
Deposit WRLD into this wallet- Parameters:
amount
-network
-reason
-
-
createPlayerPayment
Create a peer to peer payment link for player- Parameters:
to
-amount
-network
-reason
-
-