Method A
Look for the receipt event 12th confirmation event matching a certain UUID
component Implementation: https://github.com/apollographql/react-apollo/blob/master/src/Subscriptions.tsx Docs: https://www.apollographql.com/docs/react/api/react-apollo.html#subscription
The component doesn't expose the raw WebSocket, but we can filter the data prop.
Method B
Have the FE originate the UUID.
Pass it in as a required param to the mutation? for example...
mint(custodianAddress, amount, contractAddress) { uuid }
becomes
mint(custodianAddress, amount, contractAddress, uuid) { amount }
mint(custodianAddress, amount, contractAddress, uuid) { uuid }