use api to retrieve public key returned in srpc