public class PlayerSchema extends SharedSchema implements IPlayerSchema
Modifier and Type | Field and Description |
---|---|
protected PlayerService |
playerService |
static java.lang.String |
SCHEMA
The name of the schema.
|
protected WalletService |
walletService |
assetService, balanceService, platformService, projectService, transactionService
middleware, schema
Constructor and Description |
---|
PlayerSchema(ClientMiddleware middleware,
LoggerProvider loggerProvider)
Sole constructor, used internally.
|
Modifier and Type | Method and Description |
---|---|
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
advancedSendAsset(AdvancedSendAsset request)
Sends
AdvancedSendAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
approveEnj(ApproveEnj request)
Sends
ApproveEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
approveMaxEnj(ApproveMaxEnj request)
Sends
ApproveMaxEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeAsset(BridgeAsset request)
Sends
BridgeAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeAssets(BridgeAssets request)
Sends
BridgeAssets request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
bridgeClaimAsset(BridgeClaimAsset request)
Sends
BridgeClaimAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Player>> |
getPlayer(GetPlayer request)
Sends
GetPlayer request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Wallet>> |
getWallet(GetWallet request)
Sends
GetWallet request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
meltAsset(MeltAsset request)
Sends
MeltAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
message(Message request)
Sends
Message request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
resetEnjApproval(ResetEnjApproval request)
Sends
ResetEnjApproval request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
sendAsset(SendAsset request)
Sends
SendAsset request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
sendEnj(SendEnj request)
Sends
SendEnj request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> |
setApprovalForAll(SetApprovalForAll request)
Sends
SetApprovalForAll request to the platform. |
java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> |
unlinkWallet(UnlinkWallet request)
Sends
UnlinkWallet request to the platform. |
cancelTransaction, getAsset, getAssets, getBalances, getBalancesFromProjects, getGasPrices, getPlatform, getProject, getRequest, getRequests, transactionRequest
createRequestBody, createResult, createService, getLoggerProvider, sendRequest, version
public static final java.lang.String SCHEMA
protected final PlayerService playerService
protected final WalletService walletService
public PlayerSchema(ClientMiddleware middleware, LoggerProvider loggerProvider)
middleware
- the middlewareloggerProvider
- the logger providerpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> advancedSendAsset(AdvancedSendAsset request)
IPlayerSchema
AdvancedSendAsset
request to the platform.advancedSendAsset
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> approveEnj(ApproveEnj request)
IPlayerSchema
ApproveEnj
request to the platform.approveEnj
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> approveMaxEnj(ApproveMaxEnj request)
IPlayerSchema
ApproveMaxEnj
request to the platform.approveMaxEnj
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeAsset(BridgeAsset request)
IPlayerSchema
BridgeAsset
request to the platform.bridgeAsset
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeAssets(BridgeAssets request)
IPlayerSchema
BridgeAssets
request to the platform.bridgeAssets
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> bridgeClaimAsset(BridgeClaimAsset request)
IPlayerSchema
BridgeClaimAsset
request to the platform.bridgeClaimAsset
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Player>> getPlayer(GetPlayer request)
IPlayerSchema
GetPlayer
request to the platform.getPlayer
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Wallet>> getWallet(GetWallet request)
IPlayerSchema
GetWallet
request to the platform.getWallet
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> meltAsset(MeltAsset request)
IPlayerSchema
MeltAsset
request to the platform.meltAsset
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> message(Message request)
IPlayerSchema
Message
request to the platform.message
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> resetEnjApproval(ResetEnjApproval request)
IPlayerSchema
ResetEnjApproval
request to the platform.resetEnjApproval
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> sendAsset(SendAsset request)
IPlayerSchema
SendAsset
request to the platform.sendAsset
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> sendEnj(SendEnj request)
IPlayerSchema
SendEnj
request to the platform.sendEnj
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<Transaction>> setApprovalForAll(SetApprovalForAll request)
IPlayerSchema
SetApprovalForAll
request to the platform.setApprovalForAll
in interface IPlayerSchema
request
- the requestpublic java.util.concurrent.CompletableFuture<GraphQLResponse<java.lang.Boolean>> unlinkWallet(UnlinkWallet request)
IPlayerSchema
UnlinkWallet
request to the platform.unlinkWallet
in interface IPlayerSchema
request
- the request