rpc calls conversion