I’m creating an app using corda open source 4.8.5. There is a requirement for me to store the actual public key of the notary who approved the transaction once the transaction has been recorded in the node’s vaults. I want to send the notary’s public key as part of the response when the client calls the API. Please tell me how do I obtain it.
Do you need to do this every time you are sending a transaction? Or you just need to once in a while?
Because each transaction (once finalized, meaning stored in the vault) will state what signatures it has on it. If you are doing a transaction involving two parties, and the notary, you will see three signatures in the transaction, under the Signatures section.
RPC cant deserialize the content that was serialized by Corda node. If you want to do it via code, you gotta implmeent a new flow that get the keys (signers) from the node directly via a flow.