Package com.nftworlds.wallet.objects
Class Wallet
java.lang.Object
com.nftworlds.wallet.objects.Wallet
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatePlayerPayment(NFTPlayer to, double amount, Network network, String reason) Create a peer to peer payment link for playerdoublegetWRLDBalance(Network network) Get the wallet's WRLD balancevoidDeposit WRLD into this wallet<T> voidrequestWRLD(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-
-