Reg:Getting the decrypted device data

Chirpstack application server provides device data which is a decrypted data in a base64 encoded format and lorawan frames which is raw payload and encrypted. Using gRPC APIs, I was able to receive the lorawan frame not the device data. Is there a way to get the device data using gRPC APIs? or is there a way to decrypt the lorawan frames using gRPC APIs?

Our requirement is to get the device payload using gRPC APIs and we are using protobuf.
Any help would be much appreciated. Thanks in advance.

The recommended way to receive uplink data is to use one of the integrations. E.g. you could implement a HTTP endpoint and setup the HTTP integration with Protobuf encoding.