getWalletEvents

This Subscription is used to get the response whenever a new wallet or existing Wallet or nft is minted against any wallet

Sample Query

subscription {
  getWalletEvents(
    orgId: "d086ea16-d40d-454c-84a4-64b5e940670a"
    method: [WALLET_LOGIN, WALLET_NEW_LOGIN, WALLET_NFT_MINTED]
  ) {
    orgID
    walletAddress
    source
    networkId
    networkName
    chainID
    tokenType
    loginDateTime
    walletNftInfo {
      contractAddress
      Metadata
      tokenId
    }
  }
}

Sample Response

{
  "data": {
	"getWalletEvents": {
  	"orgID": "d086ea16-d40d-454c-84a4-64b5e940670a",
  	"walletAddress": "0x1234567890abcdef",
  	"source": "Mobile App",
  	"networkId": 1,
  	"networkName": "Mainnet",
  	"chainID": 2,
  	"tokenType": "ERC721",
  	"loginDateTime": "2023-09-29T14:30:00Z"
	}
  }
}

Authorization Required

NameTypeDescriptionRequired
orgIdUUID1The organization Id.Yes
methodWalletEventMethodsNeed to select the method to subscribe, only those events will be sent to responseYes