PlayerWallet
The caller's player wallet (player compute P2, DN-5): a platform-scoped balance funding that player's grid compute across every org/app they play in. Out-of-band from org wallets — player usage never touches an org's money.
type PlayerWallet {
walletId: BigInt!
userId: BigInt!
balanceCents: BigInt!
currency: String!
createdAt: DateTime!
}
Fields
PlayerWallet.walletId ● BigInt! non-null scalar
Wallet id.
PlayerWallet.userId ● BigInt! non-null scalar
The owning player user id.
PlayerWallet.balanceCents ● BigInt! non-null scalar
Current balance in cents (may go negative on a closed hour).
PlayerWallet.currency ● String! non-null scalar
ISO currency code (lowercase).
PlayerWallet.createdAt ● DateTime! non-null scalar
Wallet creation time.
Returned By
playerWalletBalance query